X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=scripts%2Fpack-image.sh;h=ec7b1da74e99b2e8a1738eed0190c3f2c6feeb41;hb=dfc5b1eaf91ee5ddb9499616ab8a1439c15ab905;hp=60e6c50ca3370dd0037d65aa7066a4822528847a;hpb=d8f9460417bda64c8204c87b318b3432ad4a90a3;p=backups%2F.git diff --git a/scripts/pack-image.sh b/scripts/pack-image.sh index 60e6c50..ec7b1da 100755 --- a/scripts/pack-image.sh +++ b/scripts/pack-image.sh @@ -2,7 +2,7 @@ scriptsdir=$(dirname $0) -export PATH=$scriptsdir:$PATH +export PATH=$scriptsdir:/bin:/usr/bin:/sbin:/usr/sbin . config.sh @@ -38,7 +38,7 @@ echo "Determining list of files to backup with lsbackups" } | lsbackups > $backups 2>$statusfile echo "Running rsync to pack the image" -rsyncopts="-l -p -t -g -o -0 --files-from=- --stats --progress" +rsyncopts="-W -H -S -l -p -t -g -o -0 --files-from=- --stats --progress" cat $backups | rsync $rsyncopts / $isomountdir echo "Copying over database and status file"