i need to rsync a remote directory to a local server, balancing file in 4 destination directory (related to 4 disk mounts).
tips?
i need to rsync a remote directory to a local server, balancing file in 4 destination directory (related to 4 disk mounts).
tips?
rsync
has no option to run a script before or after a download to create a new filename.
There are several ways to achieve this:
Make sure the source files are in different directories, and mount the filesystems on the destination accordingly.
Download the files into one place and then distribute them from there.
Download the files into a different filesystem every day
Use a balancing filesystem (RAID5, filesystems for clusters, btrfs or ceph)