diff options
| author | EuAndreh <eu@euandre.org> | 2022-02-25 12:02:27 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-02-25 12:02:27 -0300 |
| commit | 0431ba2d80c5cb71b5acaf6172900cebc3b43c65 (patch) | |
| tree | 9012ca2cd2d3f64b6e1d9ab3a0b30588cd95a57b | |
| parent | src/bin/backup: exclude ~/.cache from backup (diff) | |
| download | dotfiles-0431ba2d80c5cb71b5acaf6172900cebc3b43c65.tar.gz dotfiles-0431ba2d80c5cb71b5acaf6172900cebc3b43c65.tar.xz | |
src/bin/backup: Change remote path usurpador-borg/ -> borg/usurpador/
| -rwxr-xr-x | src/bin/backup | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/backup b/src/bin/backup index 631e28fa..159f8db1 100755 --- a/src/bin/backup +++ b/src/bin/backup @@ -65,21 +65,21 @@ export BORG_PASSCOMMAND='pass show Usurpador/borg/passphrase' SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" export SSH_AUTH_SOCK -borg init -e repokey-blake2 suyin:usurpador-borg ||: -borg key export suyin:usurpador-borg ~/archive/usurpador-borg-key.txt +borg init -e repokey-blake2 suyin:borg/usurpador ||: +borg key export suyin:borg/usurpador ~/archive/usurpador-borg-key.txt borg create \ --exclude ~/.cache \ --stats \ --compression lzma,9 \ --comment "${2:-}" \ - "suyin:usurpador-borg::{hostname}-{now}-${1:-cronjob}" \ + "suyin:borg/usurpador::{hostname}-{now}-${1:-cronjob}" \ ~/ borg check \ --verbose \ --last 3 \ - suyin:usurpador-borg + suyin:borg/usurpador borg prune \ --verbose \ @@ -87,6 +87,6 @@ borg prune \ --keep-within=6m \ --keep-weekly=52 \ --keep-monthly=24 \ - suyin:usurpador-borg + suyin:borg/usurpador ssh suyin quota |
