From: Carl Baldwin Date: Wed, 26 Oct 2005 01:37:21 +0000 (-0600) Subject: Merge refs/heads/master from origin X-Git-Tag: release-0.4~61 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=commitdiff_plain;h=7c962b0ad5636ad286132aaeda3badac76ceeace;hp=4904b81497ceb8dc16d334b7fe3cc54b95a4cffe;p=backups%2F.git Merge refs/heads/master from origin --- diff --git a/scripts/restore-script.sh b/scripts/restore-script.sh index 1bf8dcc..42fe900 100755 --- a/scripts/restore-script.sh +++ b/scripts/restore-script.sh @@ -19,6 +19,7 @@ for date in $(cat $dbfile | list-dates.sh); do eject $device echo >&2 "Please insert backup disk: $date" read bogus + eject -t $device # Mount the media mount -t ext2 $device $mountdir @@ -30,5 +31,5 @@ for date in $(cat $dbfile | list-dates.sh); do done rsyncopts="-l -p -t -g -o -0 --files-from=- --stats --progress " - cat $dbfile | files-from-date.sh | rsync $rsyncopts $1 $2 + cat $dbfile | files-from-date.sh | rsync $rsyncopts $mountdir $2 done