Skip to content

Commit

Permalink
fix: storagebox
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Aug 30, 2024
1 parent bbe26d9 commit 183c122
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Misc/Hetzner-Storagebox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Hetzner Storagebox

## Copy SSH Key for User

```bash
cat ~/.ssh/id_ed25519.pub | ssh -p23 [email protected] install-ssh-key
```

## Borg

### Borgmatic

#### Init

```bash
borgmatic -c /etc/borgmatic.d/hetzner.yaml init --encryption repokey
borgmatic -c /etc/borgmatic.d/hetzner.yaml borg key export
```

#### Upgrade

```bash
borgmatic -c /etc/borgmatic.d/hetzner.yaml borg info --debug 2>&1 | grep TAM | grep -i manifest
borgmatic -c /etc/borgmatic.d/hetzner.yaml borg list --consider-checkpoints --format='{name} {time} tam:{tam}{NL}'
BORG_WORKAROUNDS=ignore_invalid_archive_tam borgmatic -c /etc/borgmatic.d/hetzner.yaml borg list --consider-checkpoints --format='{name} {time} tam:{tam}{NL}'
BORG_WORKAROUNDS=ignore_invalid_archive_tam borgmatic borg upgrade --archives-tam
```

0 comments on commit 183c122

Please sign in to comment.