diff --git a/crontab-backups/racknerd/archive/racknerd-crontab-post-install-20250526_105957.backup b/crontab-backups/racknerd/archive/racknerd-crontab-post-install-20250526_105957.backup new file mode 100644 index 0000000..50aa937 --- /dev/null +++ b/crontab-backups/racknerd/archive/racknerd-crontab-post-install-20250526_105957.backup @@ -0,0 +1,10 @@ +0 1 * * * /home/acedanger/shell/move-backups.sh 2>&1 | logger -t backup-move -p user.info +15 4 * * * { echo "Starting Plex backup"; /home/acedanger/shell/backup-plex.sh --non-interactive --auto-repair; echo "Plex backup completed with exit code: $?"; } 2>&1 | logger -t plex-backup -p user.info +0 7 * * * { echo "Starting Plex backup validation"; /home/acedanger/shell/validate-plex-backups.sh --fix; echo "Validation completed with exit code: $?"; } 2>&1 | logger -t plex-validation -p user.info +0 5 * * 1 { echo "Starting Immich database backup move"; if mv /mnt/share/media/immich/uploads/backups/immich-db-backup* /mnt/share/media/backups/immich 2>/dev/null; then echo "Immich backup move completed successfully"; else echo "No Immich backup files found or move failed"; fi; } 2>&1 | logger -t immich-backup -p user.info +0 8 * * 0 { echo "Starting weekly Plex backup report generation"; /home/acedanger/shell/validate-plex-backups.sh --report; echo "Weekly report generation completed with exit code: $?"; } 2>&1 | logger -t plex-report -p user.info +# Backup created: Mon May 26 10:59:57 AM EDT 2025 +# Backup type: post-install +# System: racknerd +# User: root +# Full system info: Linux racknerd 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux diff --git a/crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105157.backup b/crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105157.backup new file mode 100644 index 0000000..8758823 --- /dev/null +++ b/crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105157.backup @@ -0,0 +1,29 @@ +# Edit this file to introduce tasks to be run by cron. +# +# Each task to run has to be defined through a single line +# indicating with different fields when the task will be run +# and what command to run for the task +# +# To define the time you can provide concrete values for +# minute (m), hour (h), day of month (dom), month (mon), +# and day of week (dow) or use '*' in these fields (for 'any'). +# +# Notice that tasks will be started based on the cron's system +# daemon's notion of time and timezones. +# +# Output of the crontab jobs (including errors) is sent through +# email to the user the crontab file belongs to (unless redirected). +# +# For example, you can run a backup of all your user accounts +# at 5 a.m every week with: +# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ +# +# For more information see the manual pages of crontab(5) and cron(8) +# +# m h dom mon dow command +0 0 * * * /home/acedanger/shell/backup-docker.sh +# Backup created: Mon May 26 10:51:57 AM EDT 2025 +# Backup type: pre-install +# System: racknerd +# User: root +# Full system info: Linux racknerd 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux diff --git a/crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105957.backup b/crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105957.backup new file mode 100644 index 0000000..4a5c54c --- /dev/null +++ b/crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105957.backup @@ -0,0 +1,29 @@ +# Edit this file to introduce tasks to be run by cron. +# +# Each task to run has to be defined through a single line +# indicating with different fields when the task will be run +# and what command to run for the task +# +# To define the time you can provide concrete values for +# minute (m), hour (h), day of month (dom), month (mon), +# and day of week (dow) or use '*' in these fields (for 'any'). +# +# Notice that tasks will be started based on the cron's system +# daemon's notion of time and timezones. +# +# Output of the crontab jobs (including errors) is sent through +# email to the user the crontab file belongs to (unless redirected). +# +# For example, you can run a backup of all your user accounts +# at 5 a.m every week with: +# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ +# +# For more information see the manual pages of crontab(5) and cron(8) +# +# m h dom mon dow command +0 0 * * * /home/acedanger/shell/backup-docker.sh +# Backup created: Mon May 26 10:59:57 AM EDT 2025 +# Backup type: pre-install +# System: racknerd +# User: root +# Full system info: Linux racknerd 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux diff --git a/crontab-backups/racknerd/current-crontab.backup b/crontab-backups/racknerd/current-crontab.backup new file mode 100644 index 0000000..2fd2558 --- /dev/null +++ b/crontab-backups/racknerd/current-crontab.backup @@ -0,0 +1,5 @@ +0 1 * * * /home/acedanger/shell/move-backups.sh 2>&1 | logger -t backup-move -p user.info +15 4 * * * { echo "Starting Plex backup"; /home/acedanger/shell/backup-plex.sh --non-interactive --auto-repair; echo "Plex backup completed with exit code: $?"; } 2>&1 | logger -t plex-backup -p user.info +0 7 * * * { echo "Starting Plex backup validation"; /home/acedanger/shell/validate-plex-backups.sh --fix; echo "Validation completed with exit code: $?"; } 2>&1 | logger -t plex-validation -p user.info +0 5 * * 1 { echo "Starting Immich database backup move"; if mv /mnt/share/media/immich/uploads/backups/immich-db-backup* /mnt/share/media/backups/immich 2>/dev/null; then echo "Immich backup move completed successfully"; else echo "No Immich backup files found or move failed"; fi; } 2>&1 | logger -t immich-backup -p user.info +0 8 * * 0 { echo "Starting weekly Plex backup report generation"; /home/acedanger/shell/validate-plex-backups.sh --report; echo "Weekly report generation completed with exit code: $?"; } 2>&1 | logger -t plex-report -p user.info