I'm having trouble doing restores. First the backup is made using the following:
s3sync.rb --verbose --recursive /home <bucket>:sites
This correctly places everything in /home under sites in my bucket, so it's in sites/home/...
I use the following command line to do the restore:
s3sync.rb -vr <bucket>:sites/home/<homeDirToRestore> /home
There are many files in this path, so sometimes the restore breaks due to pipe errors. When I try and restart the restore I get the following error:
/root/bin/s3sync.rb:544:in `unlink': Is a directory - /mnt/md1/var/www/wtmp/web1/ (Errno::EISDIR)
from /root/bin/s3sync.rb:544:in `updateFrom'
from /root/bin/s3sync.rb:323:in `main'
from /root/bin/s3sync.rb:631
If I delete the /home/<homeDirToRestore> I don't get this error, but have a good chance of failing the restore again at some point. The question is, how do I properly restart the restore without having to start over?
Thanks for any advice,
Andrew...