permissions and default backup location
This commit is contained in:
parent
6ab2465cfb
commit
7e6840889f
4
Makefile
4
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:
|
||||
|
@ -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/"
|
||||
|
Loading…
Reference in New Issue
Block a user