Target: following file symlinks?
Kevin Korb
kmk at sanitarium.net
Fri Jul 20 11:20:12 MDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It sounds like you need lvm2 or whatever the equiv is for whatever OS
you are running. Or maybe RAID (or both).
On 07/20/12 13:10, Yuriy Davygora wrote:
> Dear all,
>
> I am trying to synchronize data from a remote machine (ssh) to my
> local one using rsync (pure scp would overwrite everything every
> time). The problem is, however, that due to the size of data and
> available storage, I have to distribute it over several hdd's. For
> that I have a script, which moves every single file (typical size ~
> 4GB) to a different (randomly selected) hdd, leaving behind a
> symlink to the new location which has the same name as the original
> file.
>
> When, however, rsync is run again (I use -a option), it deletes
> all the links and downloads the corresponding files again. I tried
> -l (which is in -a, anyway, but I tried it explicitely, just for
> the case), -L and -K, but still I got the same behaviour.
>
> Is there a way to make rsync follow the symlinks at the target
> machine?
>
> Thank you very much in advance!
>
> Best regards, Yuriy
>
>
- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAJk0wACgkQVKC1jlbQAQcG1wCgyh/U+lyBP79LRDWaQgvxib/5
m9sAnRSZZ9yrio0FWcxTle+wHoQazs00
=LZlE
-----END PGP SIGNATURE-----
More information about the rsync
mailing list