6 lines
358 B
Bash
Executable File
6 lines
358 B
Bash
Executable File
#!/bin/bash
|
|
# Skript erzeugt backup
|
|
. /root/bin/borg.env # lies REPO_PATH aus env Datei
|
|
# borg create --stats --progress --rsh "ssh -i /root/.ssh/id_borg_ecdsa_p384 -p $SSH_PORT" ${REPO_PATH}::'{now:%Y-%m-%d_%H-%M}' /etc /root/ /home /opt /var/cache /var/log
|
|
borg create --stats --progress ::'{now:%Y-%m-%d_%H-%M}' /etc /root/ /home /opt /var/cache /var/log
|