X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=scripts%2Frestore-script.sh;h=6592d72a612f8360d74e473bbd916387637931d4;hb=f6fdaebaa32fa96fe0f63143846d7db56f382084;hp=acd90081c17aa632ec6d17c1de9290491935e1d6;hpb=ec0fa7c570c25174b2749ec2314746cb1d513ab8;p=backups%2F.git diff --git a/scripts/restore-script.sh b/scripts/restore-script.sh index acd9008..6592d72 100755 --- a/scripts/restore-script.sh +++ b/scripts/restore-script.sh @@ -48,6 +48,6 @@ for date in $dates; do fi done - 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 $dbfile | files-from-date.sh $date | rsync $rsyncopts ${mountdir%%/}/ ${2%%/}/ done