S3Sync.net
February 02, 2014, 01:28:20 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How do I start where I left off? (restore)  (Read 2906 times)
agbert
Newbie
*
Posts: 3


View Profile
« on: October 20, 2007, 02:24:23 PM »

I'm having trouble doing restores. First the backup is made using the following:

Code:
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:

Code:
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:

Code:
/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...
Logged
agbert
Newbie
*
Posts: 3


View Profile
« Reply #1 on: October 20, 2007, 02:29:54 PM »

Ah! never mind... I was running 1.1.2. I updated to 1.1.4 and it seems to be working well now!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!