Update README
This commit is contained in:
parent
f14b0d2d4d
commit
342e2cd0e8
|
@ -73,11 +73,11 @@ ${BACKUP_USER}`) and compacting there:
|
||||||
|
|
||||||
ssh ${BACKUP_USER}@${BACKUP_HOST} borg/borg compact --verbose --progress ${BACKUP_REPO}
|
ssh ${BACKUP_USER}@${BACKUP_HOST} borg/borg compact --verbose --progress ${BACKUP_REPO}
|
||||||
|
|
||||||
This doesn't require the repo key. It shouldn't be entered on the untrusted
|
This doesn't require the repo key. That key shouldn't be entered on
|
||||||
backup host, so for operations that need it, use a trusted host and run borg
|
the untrusted backup host, so for operations that need it, use a
|
||||||
remotely instead, e.g.:
|
trusted host and run borg remotely instead, e.g.:
|
||||||
|
|
||||||
${BORG_DIR}/bin/borg --remote-path borg/borg info ${BACKUP_USER}@${BACKUP_HOST}:borg/${HOSTNAME}
|
${BORG_BIN} --remote-path borg/borg info ${BACKUP_USER}@${BACKUP_HOST}:borg/${HOSTNAME}
|
||||||
|
|
||||||
The repo passphrase is in bitwarden `borg ${HOSTNAME} / repo key`.
|
The repo passphrase is in bitwarden `borg ${HOSTNAME} / repo key`.
|
||||||
|
|
||||||
|
|
|
@ -70,6 +70,7 @@ update_paths()
|
||||||
sed -i \
|
sed -i \
|
||||||
-e "s!\${HOSTNAME}!${HOSTNAME}!g" \
|
-e "s!\${HOSTNAME}!${HOSTNAME}!g" \
|
||||||
-e "s!\${BORG_DIR}!${BORG_DIR}!g" \
|
-e "s!\${BORG_DIR}!${BORG_DIR}!g" \
|
||||||
|
-e "s!\${BORG_BIN}!${BORG_BIN}!g" \
|
||||||
-e "s!\${BACKUP_USER}!${BACKUP_USER}!g" \
|
-e "s!\${BACKUP_USER}!${BACKUP_USER}!g" \
|
||||||
-e "s!\${BACKUP_HOST}!${BACKUP_HOST}!g" \
|
-e "s!\${BACKUP_HOST}!${BACKUP_HOST}!g" \
|
||||||
-e "s!\${BACKUP_REPO}!${BACKUP_REPO}!g" \
|
-e "s!\${BACKUP_REPO}!${BACKUP_REPO}!g" \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user