chiark / gitweb /
@@ -1,3 +1,9 @@
[chiark-utils.git] / backup / increm
index 57a037dc31cadce80345a60b3cc5395a24a6563e..ac220957edb2d4f0d470fa4235514afae345b091 100755 (executable)
@@ -88,6 +88,7 @@ setstatus "PROBLEMS during incremental dump";
 for $tf (@fsys) {
 
     parsefsys();
+    prepfsys();
     
     $bufir='DUMPOR';
     $ddcmd= "$nasty dd ibs=$softblocksizebytes obs=$blocksizebytes of=$ntape";
@@ -126,6 +127,8 @@ for $tf (@fsys) {
     # advance is a file counter, so it needs to be updated for each 
     # dump we do to tape.
     $advance++;
+
+    finfsys();
 }
 
 # Rewind the tape, and increment the counter of incremental backups.