permissions and default backup location

This commit is contained in:
Tobias Trabelsi 2023-04-08 11:41:44 +02:00
parent 6ab2465cfb
commit 7e6840889f
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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/"