instalee/packages/vestacp-borg/linux
2022-08-09 19:37:32 +02:00

8 lines
391 B
Bash
Executable file

#!/bin/sh
# https://github.com/ramirojoaquin/vestacp-borg-incremental-backups
mkdir -p /root/scripts
cd /root/scripts
git clone https://github.com/ramirojoaquin/vestacp-borg-incremental-backups.git
# mkdir -p /var/log/scripts/backup
# TODO add cron:
# 0 4 * * * /root/scripts/vestacp-borg-incremental-backups/backup-execute.sh > /var/log/scripts/backup/backup_`date "+\%Y-\%m-\%d"`.log 2>&1