Commit 4717d170 by Jocelyn Delalande

borg-ynh-backup: add timing to backup names

parent 0b1e6e9a
......@@ -9,7 +9,7 @@ set -e
TMP_PATH=/home/yunohost.backup/borg-tmp/
LOG_PATH=/var/log/borg-ynh-backup.log
REPOSITORY={{ borg_ynh_backup_repository }}
BACKUP_DATE=`date +%Y-%m-%d`
BACKUP_DATE=`date +%Y-%m-%d-%Hh%M`
ARCHIVE=${REPOSITORY}::$BACKUP_DATE
export BORG_RSH="ssh -i {{ borg_ynh_backup_ssh_key }} {{ borg_ynh_backup_ssh_options }}"
export BORG_PASSPHRASE="`cat {{ borg_ynh_backup_passphrase_path }}`"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment