Commit d8c434a5 authored by Naoki OKAMURA's avatar Naoki OKAMURA

improved: try to bugfix for restic backup

parent 2417bdf1
......@@ -13,7 +13,7 @@ main() {
mirror /data/$dir/ /run/media/nyarla/RAID/$dir/
done
if test -d /data/lost+found && test -e /etc/restic/credentials ; then
if test -d /data/tmp && test -e /etc/restic/credentials ; then
source /etc/restic/credentials
cd /data
restic backup --exclude-file=/etc/restic/resticignore active apps data tmp
......
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