Cloud Sync while preserving symlinks

carpus

Cadet
Joined
Jan 24, 2024
Messages
3
Hello,

I currently have the case where I want to back up the data from my VPS to my TrueNAS. Mainly the docker containers, so I can easily restore them. However, some of the containers have generated files to their host volume with symlinks in them. Usually, to files within the container, not available from the host system.
This means the Cloud Sync always has errors because it cannot find the files referenced in the symlink.

I noticed rclone has the -l / --links flag, which converts symlinks to text files to store them. This would be the perfect solution, I'd think.

But it does not seem possible to provide custom flags to the rclone command behind the cloud sync? Is there another way to do this?

Thanks!
 
Top