rockybulwinkle
Dabbler
- Joined
- Aug 2, 2021
- Messages
- 25
We have two servers, one we will call "NAS_A" running Core U5, and the other "NAS_B" running Core U5.1.
NAS_A pushes automatic hourly snapshots to NAS_B. Right now we are retaining the snapshots for 24 hours on both NAS_A and NAS_B.
The problem I see is that if NAS_B or NAS_A were to be down for more than 24 hours, I think they would lose a common snapshot and the whole dataset would have to be transferred again. Even if I were to have less frequent snapshots with a longer retention, the point still stands that if a server was down for an extended time, the whole dataset would still need to be transferred again. During that time we would be at a much higher risk of losing the pool because we don't (yet) have a proper offsite backup and our dataset takes about a week to replicate from scratch.
If that is the case, is there a way for the replication to prevent deletion of these automatic hourly snapshots when there is only one remaining snapshot in common?
I think this would be implemented by first having the source and destination servers put a hold on the most recent snapshot during replication. Then it would release the hold from the snapshot held during the last replication.
If this isn't easy to do in the GUI, I guess a decent alternative would be to do weekly or monthly snapshots+replications as well so that it'd be extremely unlikely that we wouldn't intervene before all common snapshots are lost via the snapshot retention policies. It wouldn't be 100% guaranteed, but should be close enough...
NAS_A pushes automatic hourly snapshots to NAS_B. Right now we are retaining the snapshots for 24 hours on both NAS_A and NAS_B.
The problem I see is that if NAS_B or NAS_A were to be down for more than 24 hours, I think they would lose a common snapshot and the whole dataset would have to be transferred again. Even if I were to have less frequent snapshots with a longer retention, the point still stands that if a server was down for an extended time, the whole dataset would still need to be transferred again. During that time we would be at a much higher risk of losing the pool because we don't (yet) have a proper offsite backup and our dataset takes about a week to replicate from scratch.
If that is the case, is there a way for the replication to prevent deletion of these automatic hourly snapshots when there is only one remaining snapshot in common?
I think this would be implemented by first having the source and destination servers put a hold on the most recent snapshot during replication. Then it would release the hold from the snapshot held during the last replication.
If this isn't easy to do in the GUI, I guess a decent alternative would be to do weekly or monthly snapshots+replications as well so that it'd be extremely unlikely that we wouldn't intervene before all common snapshots are lost via the snapshot retention policies. It wouldn't be 100% guaranteed, but should be close enough...