diff --git a/Makefile b/Makefile index ea8ef64..5beb00e 100644 --- a/Makefile +++ b/Makefile @@ -31,12 +31,12 @@ install: install-scripts install-exclude install-systemd # target: install-scripts - Install executables. install-scripts: install -d $(DEST_SCRIPTS) - install -m 744 $(SRCS_SCRIPTS) $(DEST_SCRIPTS) + install -m 744 $(SRCS_SCRIPTS) -o lerentis $(DEST_SCRIPTS) # target: install-conf - Install restic configuration files. install-conf: install -d $(DEST_CONF) -m 700 - install $(SRCS_CONF) $(DEST_CONF) + install $(SRCS_CONF) -o lerentis $(DEST_CONF) # target: install-exclude - Install backup exclude file. install-exclude: diff --git a/etc/restic/env.sh b/etc/restic/env.sh index 622e70b..d526eb1 100644 --- a/etc/restic/env.sh +++ b/etc/restic/env.sh @@ -1,7 +1,7 @@ #!/bin/bash export RESTIC_PASSWORD_FILE="/etc/restic/pw.txt" -export RESTIC_REPOSITORY="sftp:lerentis@192.168.0.211:/srv/dev-disk-by-id-md-name-asgard-Data/Backup/Laptop/Huginn" +export RESTIC_REPOSITORY="sftp:lerentis@192.168.0.211:/srv/dev-disk-by-label-Data/Backup/Laptop/Huginn" # What to backup, and what to not BACKUP_PATHS="/home/lerentis/"