oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
608 stars 137 forks source link

Documentation not clear on how SRC and DST plans relate to send/receive schedule #396

Closed rcproam closed 3 years ago

rcproam commented 5 years ago

With the following znapzend plan I was hoping to snapshot the src every 8 hours, yet only send snapshots to the dst once per day (at midnight):

backup plan: zpool1/vol1-nfs dst_0 = root@xxx.xxx.xxx.xxx:zpool1/svr-lf-nas/vol1-nfs dst_0_plan = 7days=>1day enabled = on mbuffer = /usr/bin/mbuffer mbuffer_size = 1G post_znap_cmd = off pre_znap_cmd = off recursive = on src = zpool1/vol1-nfs src_plan = 6days=>8hours,7days=>1day tsformat = %Y-%m-%d-%H%M%S zend_delay = 0

However, znapzend ends up sending snapshots to the dst every 8 hours. Is there any way to create a src snapshot plan that does not get replicated to dst?

Seems my issue may be related to issue #144

redmop commented 5 years ago

Znapzend doesn't support that.

rcproam commented 5 years ago

Ok, thanks for the prompt reply redmop :-)

To me it seems illogical that the send/recv replication occurs according to the src plan rather than the dst plan,

I may create a feature request, but this seems more of a design logic issue rather than a missing feature.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.