mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
Merge pull request #5553 from nextcloud/enh/4804/clean-borg
borgbackup: make logs a bit cleaner if local archive is used
This commit is contained in:
commit
267aebf941
1 changed files with 3 additions and 1 deletions
|
@ -66,7 +66,9 @@ if [ -n "$BORG_REMOTE_REPO" ] && ! [ -f "$BORGBACKUP_KEY" ]; then
|
||||||
ssh-keygen -f "$BORGBACKUP_KEY" -N ""
|
ssh-keygen -f "$BORGBACKUP_KEY" -N ""
|
||||||
echo "You should configure the remote to accept this public key"
|
echo "You should configure the remote to accept this public key"
|
||||||
fi
|
fi
|
||||||
echo "Your public ssh key for borgbackup is: $(cat "$BORGBACKUP_KEY.pub")"
|
if [ -n "$BORG_REMOTE_REPO" ] && [ -f "$BORGBACKUP_KEY.pub" ]; then
|
||||||
|
echo "Your public ssh key for borgbackup is: $(cat "$BORGBACKUP_KEY.pub")"
|
||||||
|
fi
|
||||||
|
|
||||||
# Do the backup
|
# Do the backup
|
||||||
if [ "$BORG_MODE" = backup ]; then
|
if [ "$BORG_MODE" = backup ]; then
|
||||||
|
|
Loading…
Reference in a new issue