]> git.sesse.net Git - backup.sh/commitdiff
Use --one-file-system instead of -l, since the latter stopped working in etch.
authorsesse <empty>
Wed, 25 Jul 2007 17:44:51 +0000 (17:44 +0000)
committersesse <empty>
Wed, 25 Jul 2007 17:44:51 +0000 (17:44 +0000)
backup.sh

index b9bff7541cc7fd77ceaaad214459b8940862df2b..9e3a897b1b3977f9f2ffc72146b5c9e7dadf577a 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -82,8 +82,8 @@ backup()
  #    C is instead of 'cd $filesystem'
  #    - is 'this directory'
  #    l is 'stay in local filesystem
- echo "cmdline: $tar cfCl - $filesystem . $lastcmd --exclude-from=$exf | gzip"
- if `ssh -c blowfish $computer "$tar cfCl - $filesystem . $lastcmd \
+ echo "cmdline: $tar --one-file-system -cfC - $filesystem . $lastcmd --exclude-from=$exf | gzip"
+ if `ssh -c blowfish $computer "$tar --one-file-system -cfC - $filesystem . $lastcmd \
       --exclude-from=$exf \
         | gzip" \
    |  dd of=$DATE.tmp 2>/dev/null`