dotfiles/backup/backup.sh

10 lines
354 B
Bash
Raw Permalink Normal View History

2019-10-30 20:41:58 +02:00
#!/bin/bash
while read line
do
echo $line
# restic -r rclone:jottacloud:ChimeraLinux backup $line --exclude-file restic-exclude.txt --password-file /home/lanxu/restic-pass.txt
restic -r sftp:lanxu@localhost:/mnt/backup/chimeralinux backup $line --exclude-file restic-exclude.txt --password-file /home/lanxu/restic-pass.txt
2019-10-30 20:41:58 +02:00
done < restic-include.txt