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

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Questions / Re: Is there anyway to make s3sync to follow local symlinks to directories? on: December 26, 2007, 07:07:49 PM
Hi again,

Quote
Not presently, no.  One hacky way to do it, I suppose, would be to comment out the symlink cases.  I think they'd get treated like normal dirs then.

Thanks a lot! I modified the checks for symlinks in the s3sync.rb script file and then it worked like I wanted (it follows the symlinks).    Cheesy 

Regards,

MV
2  General Category / Questions / Is there anyway to make s3sync to follow local symlinks to directories? on: December 25, 2007, 07:21:36 PM

Hi. I've been using s3sync for a couple of weeks to upload backup files to S3 (S3 is my secondary backup repository). I think it is a great tool. However, I need to make s3sync to follow symlinks pointing to directories.

My sync directory has no files, but symlinks pointing to the real location of the files to sync (some directories are on this server, others are mounts from remote servers, but only this server can connect to S3). Using symlinks allow me to have only one sync directory without copy the data files. With rsync (which is what we use to sync to another provider) I can use the option "--copy-dirlinks" and then rsync treat those symlinks as directories, but with s3sync I cannot find any option to do that.

So, my question is: is there anyway to make s3sync to follow local symlinks to directories?

Please note that our data files are large encrypted DAR files containing legacy data that must be preserved, but not directly restored with s3sync.


Thanks in advance.

Regards,

MV

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!