FlyingHacker
Dabbler
- Joined
- Jun 27, 2022
- Messages
- 39
One task of our old (non-TrueNAS) NAS was to run some rsync backups using hard links to keep multiple "snapshots" of a remote un*x file system that does not use ZFS. I use rsync with the -H option to preserve hard links to existing files so that the same file is seen in multiple directories, but saved only once on disk.
I'd like to be able to do with with TrueNAS. I am not sure what the best approach is. I could possibly run a standard rsync task followed by a zfs snapshot task? The rsync task would update everything locally from the remote server (including deletions), and then the zfs snapshot would record it for some period of time. At network speeds the rsync generally finishes with 30mins, maybe an hour if a lot of files have changed. So perhaps I space the rsync and snapshot tasks twelve hours apart.
Or am I better off with a custom rsync script like I have been using?
I suppose if I use the custom script I should just run it from cron in the UI, right?
Thanks.
I'd like to be able to do with with TrueNAS. I am not sure what the best approach is. I could possibly run a standard rsync task followed by a zfs snapshot task? The rsync task would update everything locally from the remote server (including deletions), and then the zfs snapshot would record it for some period of time. At network speeds the rsync generally finishes with 30mins, maybe an hour if a lot of files have changed. So perhaps I space the rsync and snapshot tasks twelve hours apart.
Or am I better off with a custom rsync script like I have been using?
I suppose if I use the custom script I should just run it from cron in the UI, right?
Thanks.