Failsafe to prevent accidental deletion of replicated dataset on FreeNAS replica server when using Replication

Description

In the scenario when a user has two FreeNAS systems set up so that one acts as the backup using snapshots and replication it's been a worry of mine for a while that if someone accidentally deleted a dataset on the Primary it would automatically delete the dataset on the backup FreeNAS also therefore losing the data. I would like to see some sort of failsafe that would stop this behavior by default. Ideally, if the user does indeed what the dataset removed from the primary and the secondary system I think they should have to log onto the secondary system to do this. I appreciate this might not be an issue for a lot of people therefore perhaps an option could be selected in replication tasks to configure this feature. I love using snapshots and replication as a backup as it works great I'm just worried its a little too easy to lose a lot of data if a mistake was made or worst still someone compromised the primary FreeNAS system. I appreciate you already have the option to delete stale snapshots on the remote system and this is great but separate to wanting to also delete the entire dataset.

Competition Assessment

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Chris Parkin 
November 11, 2019 at 3:44 PM

That's great news. I look forward to testing it when I get the time.

All the best.

Chris

Vladimir Vinogradenko 
November 11, 2019 at 3:09 PM

 this is already implemented in the new replication system that you can already check out in FreeNAS 11.3-BETA1: https://www.ixsystems.com/blog/library/freenas-11-3-beta1/. There is a "Retention Policy" field that allows to control this behavior. Feel free to re-open this issue if it won't not behave as you expect. Thank you for your feedback.

Chris Parkin 
November 11, 2019 at 9:15 AM

This has been raised in the forums a few times but this is the most recent one https://www.ixsystems.com/community/threads/snapshot-retention-for-remotely-replicated-dataset.80089/#post-554973

 

Not Applicable

Details

Assignee

Reporter

Labels

Fix versions

Priority

More fields

Katalon Platform

Created November 11, 2019 at 9:09 AM
Updated July 1, 2022 at 4:43 PM
Resolved November 11, 2019 at 3:28 PM