From 364e03e97790100582b902202cfe34bc800fccb2 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Wed, 21 Oct 2020 20:23:59 -0500 Subject: [PATCH] Updated Backup & Restore (markdown) --- Backup-&-Restore.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Backup-&-Restore.md b/Backup-&-Restore.md index 5039f90..ba65442 100644 --- a/Backup-&-Restore.md +++ b/Backup-&-Restore.md @@ -6,13 +6,13 @@ By default, 7 days worth of backups will be retained in the backup folder. You c ### The Restore Function -Gravity Sync can also restore the database on the secondary Pi-hole in the event of data loss. This could happen in a scenario where you've had your primary Pi-hole down for an extended period, made changes to the secondary, but perhaps didn't get a chance to perform a `push` of the changes back to the primary, before your automated sync ran and pulled changes from the primary. +Added in version 1.6, Gravity Sync can also restore the database on the secondary Pi-hole in the event of data loss. This could happen in a scenario where you've had your primary Pi-hole down for an extended period, made changes to the secondary, but perhaps didn't get a chance to perform a `push` of the changes back to the primary, before your automated sync ran and pulled changes from the primary. ```bash ./gravity-sync.sh restore ``` -When executed, this task will ask you to select a previous backup copy (by date) and will use that file to restore. This will stop the Pi-hole services on the local server while the task is completed. After a successful restoration, you will now also be prompted to perform a push operation of the restored database to the primary Pi-hole server. +New in version 2.1, when executed this task will ask you to select a previous backup copy (by date) and will use that file to restore. This will stop the Pi-hole services on the local server while the task is completed. After a successful restoration, you will now also be prompted to perform a push operation of the restored database to the primary Pi-hole server. It's suggested to make sure your local restore was successful before completing the restore operation with the push job.