-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |