Compare commits

..

No commits in common. "62f7d8b1e6d2cd0b2ab277592458a8ac9aa120a5" and "191bccfb5a08b29593f7a363f6fd98692476d68e" have entirely different histories.

5 changed files with 8 additions and 6 deletions

View File

@ -37,7 +37,6 @@ python-pyperclip
python-requests
qbittorrent
redshift
restic
rofi
rsync
signal-desktop

View File

@ -4,7 +4,7 @@ JACK settings, as persisted by D-Bus object.
You probably don't want to edit this because
it will be overwritten next time jackdbus saves.
-->
<!-- Thu Mar 30 10:33:45 2023 -->
<!-- Sun Feb 19 01:45:20 2023 -->
<jack>
<engine>
<option name="driver">alsa</option>

View File

@ -1,7 +1,11 @@
[Unit]
Description=Back up chosto's documents
Description=Back up chosty's documents
OnFailure=notify-backup-failure.service
[Service]
Type=oneshot
ExecStart=RESTIC_PASSWORD=$(cat /root/restic) restic -r /backup/restic --verbose backup --exclude '/home/.*' /home
# Cannot use -a as FAT32 does not support permission. Also don't use -g and -l (FAT32 does not support groups and symlinks)
# Do not use full path and relax timestamp, otherwise all files are copied over
# For some reason, exclude should be relative path (cf man), but this does not work for the first command. Dunno why
ExecStart=/usr/bin/rsync -vCRErtm --delete --delete-excluded --modify-window=10 --include="/home/chosty/.config" --exclude="/home/chosty/.*" --exclude="/home/chosty/aur" --exclude="/home/chosty/git" /home/chosty /mnt/backup/Linux
ExecStart=/usr/bin/rsync -vCErtm --delete --delete-excluded --modify-window=10 --exclude="/Documents/Jeux" /mnt/data/Documents /mnt/data/Images /mnt/data/Vidéos /mnt/backup/Data/

View File

@ -2,7 +2,7 @@
Description=Run backup daily
[Timer]
OnCalendar=daily
OnCalendar=weekly
Persistent=true
[Install]

1
.env
View File

@ -1,3 +1,2 @@
export SCENARI_SSH_USER='qduchemin'
export SCENARI_SSH_KEY_PATH="~/.ssh/id_gpg.pub"
export PATH="$PATH:~/go/bin"