This commit is contained in:
iFargle 2023-12-14 08:26:51 +09:00
parent b6c66a99e2
commit 5471e3e105

View file

@ -3,9 +3,9 @@
enable = true;
systemCronJobs = [
# Backups to nuc-docker01
''0 0 * * * root ${pkgs.rsync}/bin/rsync --delete -avr /Storage/Data/Docker/sysctl.io/root@nuc-docker01:/Storage/Data/Docker/sysctl.io/''
''0 3 * * * root ${pkgs.rsync}/bin/rsync -avr /Storage/Data/Docker/sysctl.io/nextcloud/html/data/albert/files/InstantUpload/ root@nuc-docker01:/Storage/Video/Pictures/InstantUpload/''
''0 5 * * * root ${pkgs.rsync}/bin/rsync -avr /Storage/Data/Docker/sysctl.io/nextcloud/html/data/albert/files/Wallpapers/ root@nuc-docker01:/Storage/Video/Pictures/Wallpapers''
''0 9 * * * root rsync --delete -avr /Storage/Data/Docker/sysctl.io/root@nuc-docker01:/Storage/Data/Docker/sysctl.io/''
''0 3 * * * root rsync -avr /Storage/Data/Docker/sysctl.io/nextcloud/html/data/albert/files/InstantUpload/ root@nuc-docker01:/Storage/Video/Pictures/InstantUpload/''
''0 5 * * * root rsync -avr /Storage/Data/Docker/sysctl.io/nextcloud/html/data/albert/files/Wallpapers/ root@nuc-docker01:/Storage/Video/Pictures/Wallpapers''
# DERP relay certs
''@hourly root cp /Storage/Data/Docker/sysctl.io/letsencrypt/certs/certs/\*.sysctl.io.crt /Storage/Data/Docker/sysctl.io/letsencrypt/certs/certs/derp.sysctl.io.crt''
''@hourly root cp /Storage/Data/Docker/sysctl.io/letsencrypt/certs/private/\*.sysctl.io.key /Storage/Data/Docker/sysctl.io/letsencrypt/certs/private/derp.sysctl.io.key''