diff --git a/docs/how-to/operations/restore-1password-backup.md b/docs/how-to/operations/restore-1password-backup.md index b839b10..7b89004 100644 --- a/docs/how-to/operations/restore-1password-backup.md +++ b/docs/how-to/operations/restore-1password-backup.md @@ -1,6 +1,7 @@ --- title: Restore 1Password Backup -modified: 2026-02-10 +modified: 2026-03-15 +last-reviewed: 2026-03-15 tags: - how-to - operations @@ -13,7 +14,7 @@ How to recover a 1Password `.1pux` export from a [[borgmatic]] backup. This proc ## Prerequisites -- A copy of the borg backup repository (from [[sifaka]], or an off-site copy — TBD) +- A copy of the borg backup repository (from [[sifaka]], or the BorgBase offsite repo) - `borg`, `age`, and `openssl` installed on any machine - Your **1Password Emergency Kit** (fire safety box) — contains the master password and secret key - The borg repo passphrase (printed on the Emergency Kit, or from `/Users/erichblume/.borg/config.yaml` if [[indri]] is accessible) @@ -30,7 +31,11 @@ If you have direct access to the borg repository (e.g. mounted from [[sifaka]] o ```bash mkdir -p /tmp/op-restore && cd /tmp/op-restore + +# List recent archives — pick one from the output (e.g. "indri-2026-03-15T02:00:07") BORG_PASSPHRASE="" borg list /path/to/borg/repo --last 5 + +# Extract using the archive name from the list above BORG_PASSPHRASE="" borg extract \ "/path/to/borg/repo::" \ Users/erichblume/Documents/1password-backup/ diff --git a/docs/reference/storage/backups.md b/docs/reference/storage/backups.md index 211eb5b..7061d2c 100644 --- a/docs/reference/storage/backups.md +++ b/docs/reference/storage/backups.md @@ -1,6 +1,6 @@ --- title: Backups -modified: 2026-02-10 +modified: 2026-03-15 tags: - storage - backup @@ -55,9 +55,12 @@ Some data lives directly on [[sifaka]] rather than being backed up to it (photos | Monthly | 12 backups | | Yearly | 1000 backups | -## Backup Target +## Backup Targets -Repository: `/Volumes/backups/borg/` on [[sifaka|Sifaka]] +| Repository | Location | Label | +|------------|----------|-------| +| `/Volumes/backups/borg/` | [[sifaka]] (local NAS) | — | +| `ssh://u3ugi1x1@u3ugi1x1.repo.borgbase.com/./repo` | BorgBase (offsite) | `borgbase-offsite` | ## Monitoring diff --git a/mise-tasks/op-backup b/mise-tasks/op-backup index 4b5b660..0b486cc 100755 --- a/mise-tasks/op-backup +++ b/mise-tasks/op-backup @@ -315,7 +315,7 @@ def main() -> int: console.print() console.print("[bold]DISASTER RECOVERY:[/bold]") console.print(f" 1. Restore borgmatic archive containing {REMOTE_DIR}/") - console.print(" 2. Retrieve Emergency Kit from safety deposit box") + console.print(" 2. Retrieve Emergency Kit from fire safety box") console.print(f" 3. openssl enc -d -aes-256-cbc -pbkdf2 < ...key.enc > key.txt") console.print(" Passphrase: {master_password}:{secret_key}") console.print(f" 4. age -d -i key.txt < ...age > export.1pux")