S3Sync.net
February 02, 2014, 01:30:53 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
S3Sync.net
>
General Category
>
Questions
>
Is there anyway to make s3sync to follow local symlinks to directories?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Is there anyway to make s3sync to follow local symlinks to directories? (Read 4761 times)
mv
Newbie
Posts: 2
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
Logged
ferrix
Sr. Member
Posts: 363
(I am greg13070 on AWS forum)
Re: Is there anyway to make s3sync to follow local symlinks to directories?
«
Reply #1 on:
December 26, 2007, 02:09:02 AM »
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.
Logged
mv
Newbie
Posts: 2
Re: Is there anyway to make s3sync to follow local symlinks to directories?
«
Reply #2 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).
Regards,
MV
Logged
gujjulive
Newbie
Posts: 2
Re: Is there anyway to make s3sync to follow local symlinks to directories?
«
Reply #3 on:
December 09, 2009, 04:37:52 PM »
I am having same issue. Can you send me the modified version of the script please.
Logged
gujjulive
Newbie
Posts: 2
Re: Is there anyway to make s3sync to follow local symlinks to directories?
«
Reply #4 on:
January 11, 2010, 07:21:04 PM »
I am having same problem. I don't know much about ruby, so can I get a modified script also?
rupesh_patel@yahoo.com
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> Questions
=> General Discussion
=> Report Bugs
===> Closed Bugs
=> Feature Requests
Loading...