test exclude
This commit is contained in:
@@ -13,12 +13,18 @@ let
|
||||
name = "checkBackupStorageSpace";
|
||||
text = ''
|
||||
# Check how much space is used by the backup paths
|
||||
echo "Checking storage space (small)..."
|
||||
du -sh ${builtins.concatStringsSep " " backupPathsSmall}
|
||||
echo "Checking storage space (medium)..."
|
||||
du -sh ${builtins.concatStringsSep " " backupPathsMedium}
|
||||
echo "Checking storage space (full)..."
|
||||
du -sh ${builtins.concatStringsSep " " backupPathsFull}
|
||||
echo "Checking storage space (small) with excluded paths..."
|
||||
du -sh ${builtins.concatStringsSep " " (map (x: "--exclude=" + x) excludePaths)} ${builtins.concatStringsSep " " backupPathsSmall}
|
||||
echo "Checking storage space (small) with excluded paths (remote)..."
|
||||
du -sh ${builtins.concatStringsSep " " (map (x: "--exclude=" + x) excludePathsRemote)} ${builtins.concatStringsSep " " backupPathsSmall}
|
||||
echo "Checking storage space (medium) with excluded paths..."
|
||||
du -sh ${builtins.concatStringsSep " " (map (x: "--exclude=" + x) excludePaths)} ${builtins.concatStringsSep " " backupPathsSmall}
|
||||
echo "Checking storage space (medium) with excluded paths (remote)..."
|
||||
du -sh ${builtins.concatStringsSep " " (map (x: "--exclude=" + x) excludePathsRemote)} ${builtins.concatStringsSep " " backupPathsMedium}
|
||||
echo "Checking storage space (full) with excluded paths..."
|
||||
du -sh ${builtins.concatStringsSep " " (map (x: "--exclude=" + x) excludePaths)} ${builtins.concatStringsSep " " backupPathsFull}
|
||||
echo "Checking storage space (full) with excluded paths (remote)..."
|
||||
du -sh ${builtins.concatStringsSep " " (map (x: "--exclude=" + x) excludePathsRemote)} ${builtins.concatStringsSep " " backupPathsFull}
|
||||
''
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user