diff --git a/docs/restore.md b/docs/restore.md new file mode 100644 index 0000000..9ca5d1f --- /dev/null +++ b/docs/restore.md @@ -0,0 +1,21 @@ +--- +layout: article +title: Data Restore +description: How to restore a previous version of a Data Controller table +--- + +# Data Restore + +For those tables which have [Audit Tracking](/dcc-tables/#audit_libds) enabled, it is possible to restore the data to an earlier state! + +Simply open the submit to be reverted, and click the red REVERT button. This will generate a NEW submission, containing the necessary reversal entries. This new submission **must then be approved** in the usual fashion. + +Note that there are some caveats to this feature: + +- It will only work for TXTEMPORAL and UPDATE Load Types +- The user must have EDIT permission to make a submission +- Changes made **outside** of Data Controller cannot be reversed +- If there are COLUMN or ROW level security rules, the restore will abort +- If the model has changed (new / deleted columns) the restore will abort +- Only submissions that have actually been loaded, can be reverted (obviously) + diff --git a/mkdocs.yml b/mkdocs.yml index 081651a..3345921 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,6 +7,7 @@ nav: - DC User Guide: dc-userguide.md - Data Catalog: dcu-datacatalog.md - Data Lineage: dcu-lineage.md + - Data Restore: restore.md - File Uploads: files.md - Filter Mechanism: filter.md - Locking Mechanism: locking-mechanism.md