From 163a9e8c52eef90e70a1b5dc96b68eda2015d72e Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 22 Mar 2022 20:46:24 -0400 Subject: [PATCH] Updated Upgrading or Merging Archives (markdown) --- Upgrading-or-Merging-Archives.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Upgrading-or-Merging-Archives.md b/Upgrading-or-Merging-Archives.md index 8273006..6069c23 100644 --- a/Upgrading-or-Merging-Archives.md +++ b/Upgrading-or-Merging-Archives.md @@ -5,6 +5,7 @@ 1. Find the version you want to upgrade to on https://github.com/ArchiveBox/ArchiveBox/releases 2. **Read the release notes carefully** for any instructions or extra steps around upgrading for each release you're skipping or installing 3. **Make a full backup** of your `index.sqlite3` and `archive/` content before upgrading! +`gzip -9 < index.sqlite3 > "index.sqlite3.$(date +%s).bak"` 4. Follow the steps below depending on your setup to run `archivebox init` (repeating as necessary for each major version if upgrading across multiple major versions) 5. Confirm the upgrade succeeded and check for any orphan/corrupted snapshots with `archivebox status`