From 5ffe52dc64f224f88abe44d7e8c44af8c1434848 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 31 Jan 2024 12:26:08 -0800 Subject: [PATCH] Updated Upgrading or Merging Archives (markdown) --- Upgrading-or-Merging-Archives.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Upgrading-or-Merging-Archives.md b/Upgrading-or-Merging-Archives.md index ccbeb79..74ed237 100644 --- a/Upgrading-or-Merging-Archives.md +++ b/Upgrading-or-Merging-Archives.md @@ -1,8 +1,16 @@ ## Upgrade your ArchiveBox collection to a new version +```bash +cd ~/path/to/your/data + +pip install --upgrade archivebox +# or +docker pull archivebox/archivebox:latest + +# upgrade the collection to a new version +archivebox init +``` -*Note: It's recommended to only upgrade one major version at a time. e.g. if you're on `v0.4.14`, upgrade to `v0.5.6` next, then `v0.6.3`, and finally `v0.7.1` (as 3 separate steps). -You can specify exact versions with pip like so: `pip install archivebox==0.6.3` or with docker `docker pull archivebox/archivebox:0.6.3`. Upgrading directly across multiple major versions may work in some cases, but is not recommended for maximum data safety.* **✅ Upgrading checklist:**