-
Hello everyone, For example: the initial replication might take long. Can I use a daily cronjob for the initial replication or do I have to do that manually and then setup a cronjob? Or when - for whatever reason - replication has to be reset and begins with full replication? Or when the set of changes is soo big that the replication takes very long? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
in another question, you suggested using But I'm still curious as to "what would be the result when the second replication is started when the first one is still running". Will this break the replication? |
Beta Was this translation helpful? Give feedback.
-
You should not run the same cronjob parallel. So prevent this by using flock or something. If sometimes a send takes too long but you still want daily snapshots, try splitting it up in a snapshot only cronjob and a send only cronjob. (This is in the getting started guide) |
Beta Was this translation helpful? Give feedback.
-
Updated documentation: https://github.com/psy0rz/zfs_autobackup/wiki#avoid-parallel-jobs |
Beta Was this translation helpful? Give feedback.
-
Thank you for your fast and detailed answer. Super. |
Beta Was this translation helpful? Give feedback.
-
It sounds like https://github.com/jimsalterjrs/sanoid might be exactly what you're looking for. |
Beta Was this translation helpful? Give feedback.
Updated documentation: https://github.com/psy0rz/zfs_autobackup/wiki#avoid-parallel-jobs