Przeglądaj źródła

incremental: shell script

lt07 admin 8 lat temu
commit
d4b55ec315
1 zmienionych plików z 9 dodań i 0 usunięć
  1. 9 0
      incremental.sh

+ 9 - 0
incremental.sh

@@ -0,0 +1,9 @@
+#!/bin/bash
+
+
+for i in $(seq -w 1 17) 19 20;
+  do start=$(date  --date="next minute" '+%F %T')
+    echo 'run job="Backup_archivo_to_LTO7" fileset="archivo hdd'$i'" level="Incremental" client="archivo-fd" pool="Incremental" storage="LTO7" priority="10" when="'$start'" yes' | bconsole -D lto7-dir;
+done
+
+#2017-06-02 15:02:43