From b176e3ca77cbdce78c9a63de27abc25bef9d39f4 Mon Sep 17 00:00:00 2001 From: Peter Wood Date: Mon, 26 May 2025 15:49:49 +0000 Subject: [PATCH] Update .gitignore to exclude runtime backup files and temporary files --- .gitignore | 6 +++ ...crontab-pre-install-20250526_100622.backup | 40 ------------------ ...opa-crontab-initial-20250526_101354.backup | 41 ------------------- ...pa-crontab-post-fix-20250526_112018.backup | 10 ----- ...rontab-post-install-20250526_105807.backup | 10 ----- ...opa-crontab-pre-fix-20250526_112018.backup | 11 ----- ...crontab-pre-install-20250526_100622.backup | 40 ------------------ ...crontab-pre-install-20250526_105807.backup | 41 ------------------- ...crontab-test-colors-20250526_103005.backup | 41 ------------------- crontab-backups/europa/current-crontab.backup | 5 --- ...rontab-post-install-20250526_153022.backup | 10 ----- ...rontab-post-install-20250526_154430.backup | 6 --- ...crontab-pre-install-20250526_152923.backup | 0 ...crontab-pre-install-20250526_153022.backup | 0 ...crontab-pre-install-20250526_154430.backup | 0 crontab-backups/io/current-crontab.backup | 1 - ...rd-crontab-post-fix-20250526_111637.backup | 6 --- ...rontab-post-install-20250526_105957.backup | 10 ----- ...erd-crontab-pre-fix-20250526_111637.backup | 11 ----- ...crontab-pre-install-20250526_105157.backup | 29 ------------- ...crontab-pre-install-20250526_105957.backup | 29 ------------- .../racknerd/current-crontab.backup | 1 - 22 files changed, 6 insertions(+), 342 deletions(-) delete mode 100644 crontab-backups/archive/crontab-pre-install-20250526_100622.backup delete mode 100644 crontab-backups/europa/archive/europa-crontab-initial-20250526_101354.backup delete mode 100644 crontab-backups/europa/archive/europa-crontab-post-fix-20250526_112018.backup delete mode 100644 crontab-backups/europa/archive/europa-crontab-post-install-20250526_105807.backup delete mode 100644 crontab-backups/europa/archive/europa-crontab-pre-fix-20250526_112018.backup delete mode 100644 crontab-backups/europa/archive/europa-crontab-pre-install-20250526_100622.backup delete mode 100644 crontab-backups/europa/archive/europa-crontab-pre-install-20250526_105807.backup delete mode 100644 crontab-backups/europa/archive/europa-crontab-test-colors-20250526_103005.backup delete mode 100644 crontab-backups/europa/current-crontab.backup delete mode 100644 crontab-backups/io/archive/io-crontab-post-install-20250526_153022.backup delete mode 100644 crontab-backups/io/archive/io-crontab-post-install-20250526_154430.backup delete mode 100644 crontab-backups/io/archive/io-crontab-pre-install-20250526_152923.backup delete mode 100644 crontab-backups/io/archive/io-crontab-pre-install-20250526_153022.backup delete mode 100644 crontab-backups/io/archive/io-crontab-pre-install-20250526_154430.backup delete mode 100644 crontab-backups/io/current-crontab.backup delete mode 100644 crontab-backups/racknerd/archive/racknerd-crontab-post-fix-20250526_111637.backup delete mode 100644 crontab-backups/racknerd/archive/racknerd-crontab-post-install-20250526_105957.backup delete mode 100644 crontab-backups/racknerd/archive/racknerd-crontab-pre-fix-20250526_111637.backup delete mode 100644 crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105157.backup delete mode 100644 crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105957.backup delete mode 100644 crontab-backups/racknerd/current-crontab.backup diff --git a/.gitignore b/.gitignore index 28f26bc..9b1195d 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,10 @@ _book # swap file *.swp +# Runtime generated files logs/ +crontab-backups/ + +# Temporary files +*.tmp +*.bak diff --git a/crontab-backups/archive/crontab-pre-install-20250526_100622.backup b/crontab-backups/archive/crontab-pre-install-20250526_100622.backup deleted file mode 100644 index f70c350..0000000 --- a/crontab-backups/archive/crontab-pre-install-20250526_100622.backup +++ /dev/null @@ -1,40 +0,0 @@ -# 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 -# 2023-06-11 I can't figure out how to get the nas to mount automagically so here is a band-aid -# @reboot sleep 30 && mount -a -# -# move the files previously backed up at 0100 -0 1 * * * /home/acedanger/shell/move-backups.sh -# daily Plex backup at 0415 -15 4 * * * /home/acedanger/shell/backup-plex.sh -# daily validation at 0700 -0 7 * * * /home/acedanger/shell/validate-plex-backups.sh --fix -# backup immich database -0 5 * * 1 mv /mnt/share/media/immich/uploads/backups/immich-db-backup* /mnt/share/media/backups/immich -# Generate detailed weekly report (Sundays at 0800) -0 8 * * 0 /home/acedanger/shell/validate-plex-backups.sh --report -# Backup created: Mon May 26 10:06:22 AM EDT 2025 -# Backup type: pre-install -# System: europa -# User: root diff --git a/crontab-backups/europa/archive/europa-crontab-initial-20250526_101354.backup b/crontab-backups/europa/archive/europa-crontab-initial-20250526_101354.backup deleted file mode 100644 index 6e4fe5c..0000000 --- a/crontab-backups/europa/archive/europa-crontab-initial-20250526_101354.backup +++ /dev/null @@ -1,41 +0,0 @@ -# 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 -# 2023-06-11 I can't figure out how to get the nas to mount automagically so here is a band-aid -# @reboot sleep 30 && mount -a -# -# move the files previously backed up at 0100 -0 1 * * * /home/acedanger/shell/move-backups.sh -# daily Plex backup at 0415 -15 4 * * * /home/acedanger/shell/backup-plex.sh -# daily validation at 0700 -0 7 * * * /home/acedanger/shell/validate-plex-backups.sh --fix -# backup immich database -0 5 * * 1 mv /mnt/share/media/immich/uploads/backups/immich-db-backup* /mnt/share/media/backups/immich -# Generate detailed weekly report (Sundays at 0800) -0 8 * * 0 /home/acedanger/shell/validate-plex-backups.sh --report -# Backup created: Mon May 26 10:13:54 AM EDT 2025 -# Backup type: initial -# System: europa -# User: root -# Full system info: Linux europa 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) x86_64 GNU/Linux diff --git a/crontab-backups/europa/archive/europa-crontab-post-fix-20250526_112018.backup b/crontab-backups/europa/archive/europa-crontab-post-fix-20250526_112018.backup deleted file mode 100644 index ce45659..0000000 --- a/crontab-backups/europa/archive/europa-crontab-post-fix-20250526_112018.backup +++ /dev/null @@ -1,10 +0,0 @@ -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 11:20:18 AM EDT 2025 -# Backup type: post-fix -# System: europa -# User: root -# Full system info: Linux europa 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) x86_64 GNU/Linux diff --git a/crontab-backups/europa/archive/europa-crontab-post-install-20250526_105807.backup b/crontab-backups/europa/archive/europa-crontab-post-install-20250526_105807.backup deleted file mode 100644 index d4c6b53..0000000 --- a/crontab-backups/europa/archive/europa-crontab-post-install-20250526_105807.backup +++ /dev/null @@ -1,10 +0,0 @@ -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:58:07 AM EDT 2025 -# Backup type: post-install -# System: europa -# User: root -# Full system info: Linux europa 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) x86_64 GNU/Linux diff --git a/crontab-backups/europa/archive/europa-crontab-pre-fix-20250526_112018.backup b/crontab-backups/europa/archive/europa-crontab-pre-fix-20250526_112018.backup deleted file mode 100644 index 0da8c1e..0000000 --- a/crontab-backups/europa/archive/europa-crontab-pre-fix-20250526_112018.backup +++ /dev/null @@ -1,11 +0,0 @@ -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 -0 0 * * * /home/acedanger/shell/crontab-backup-system.sh backup auto --auto-cleanup 2>&1 | logger -t crontab-backup -p user.info -# Backup created: Mon May 26 11:20:18 AM EDT 2025 -# Backup type: pre-fix -# System: europa -# User: root -# Full system info: Linux europa 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) x86_64 GNU/Linux diff --git a/crontab-backups/europa/archive/europa-crontab-pre-install-20250526_100622.backup b/crontab-backups/europa/archive/europa-crontab-pre-install-20250526_100622.backup deleted file mode 100644 index f70c350..0000000 --- a/crontab-backups/europa/archive/europa-crontab-pre-install-20250526_100622.backup +++ /dev/null @@ -1,40 +0,0 @@ -# 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 -# 2023-06-11 I can't figure out how to get the nas to mount automagically so here is a band-aid -# @reboot sleep 30 && mount -a -# -# move the files previously backed up at 0100 -0 1 * * * /home/acedanger/shell/move-backups.sh -# daily Plex backup at 0415 -15 4 * * * /home/acedanger/shell/backup-plex.sh -# daily validation at 0700 -0 7 * * * /home/acedanger/shell/validate-plex-backups.sh --fix -# backup immich database -0 5 * * 1 mv /mnt/share/media/immich/uploads/backups/immich-db-backup* /mnt/share/media/backups/immich -# Generate detailed weekly report (Sundays at 0800) -0 8 * * 0 /home/acedanger/shell/validate-plex-backups.sh --report -# Backup created: Mon May 26 10:06:22 AM EDT 2025 -# Backup type: pre-install -# System: europa -# User: root diff --git a/crontab-backups/europa/archive/europa-crontab-pre-install-20250526_105807.backup b/crontab-backups/europa/archive/europa-crontab-pre-install-20250526_105807.backup deleted file mode 100644 index 603b397..0000000 --- a/crontab-backups/europa/archive/europa-crontab-pre-install-20250526_105807.backup +++ /dev/null @@ -1,41 +0,0 @@ -# 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 -# 2023-06-11 I can't figure out how to get the nas to mount automagically so here is a band-aid -# @reboot sleep 30 && mount -a -# -# move the files previously backed up at 0100 -0 1 * * * /home/acedanger/shell/move-backups.sh -# daily Plex backup at 0415 -15 4 * * * /home/acedanger/shell/backup-plex.sh -# daily validation at 0700 -0 7 * * * /home/acedanger/shell/validate-plex-backups.sh --fix -# backup immich database -0 5 * * 1 mv /mnt/share/media/immich/uploads/backups/immich-db-backup* /mnt/share/media/backups/immich -# Generate detailed weekly report (Sundays at 0800) -0 8 * * 0 /home/acedanger/shell/validate-plex-backups.sh --report -# Backup created: Mon May 26 10:58:07 AM EDT 2025 -# Backup type: pre-install -# System: europa -# User: root -# Full system info: Linux europa 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) x86_64 GNU/Linux diff --git a/crontab-backups/europa/archive/europa-crontab-test-colors-20250526_103005.backup b/crontab-backups/europa/archive/europa-crontab-test-colors-20250526_103005.backup deleted file mode 100644 index 8a89404..0000000 --- a/crontab-backups/europa/archive/europa-crontab-test-colors-20250526_103005.backup +++ /dev/null @@ -1,41 +0,0 @@ -# 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 -# 2023-06-11 I can't figure out how to get the nas to mount automagically so here is a band-aid -# @reboot sleep 30 && mount -a -# -# move the files previously backed up at 0100 -0 1 * * * /home/acedanger/shell/move-backups.sh -# daily Plex backup at 0415 -15 4 * * * /home/acedanger/shell/backup-plex.sh -# daily validation at 0700 -0 7 * * * /home/acedanger/shell/validate-plex-backups.sh --fix -# backup immich database -0 5 * * 1 mv /mnt/share/media/immich/uploads/backups/immich-db-backup* /mnt/share/media/backups/immich -# Generate detailed weekly report (Sundays at 0800) -0 8 * * 0 /home/acedanger/shell/validate-plex-backups.sh --report -# Backup created: Mon May 26 10:30:05 AM EDT 2025 -# Backup type: test-colors -# System: europa -# User: root -# Full system info: Linux europa 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) x86_64 GNU/Linux diff --git a/crontab-backups/europa/current-crontab.backup b/crontab-backups/europa/current-crontab.backup deleted file mode 100644 index 2fd2558..0000000 --- a/crontab-backups/europa/current-crontab.backup +++ /dev/null @@ -1,5 +0,0 @@ -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 diff --git a/crontab-backups/io/archive/io-crontab-post-install-20250526_153022.backup b/crontab-backups/io/archive/io-crontab-post-install-20250526_153022.backup deleted file mode 100644 index 9615f8c..0000000 --- a/crontab-backups/io/archive/io-crontab-post-install-20250526_153022.backup +++ /dev/null @@ -1,10 +0,0 @@ -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 03:30:22 PM UTC 2025 -# Backup type: post-install -# System: io -# User: root -# Full system info: Linux io 6.8.0-59-generic #61-Ubuntu SMP PREEMPT_DYNAMIC Fri Apr 11 23:16:11 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux diff --git a/crontab-backups/io/archive/io-crontab-post-install-20250526_154430.backup b/crontab-backups/io/archive/io-crontab-post-install-20250526_154430.backup deleted file mode 100644 index 91647dd..0000000 --- a/crontab-backups/io/archive/io-crontab-post-install-20250526_154430.backup +++ /dev/null @@ -1,6 +0,0 @@ -0 2 * * * { echo "Starting Docker backup"; /home/acedanger/shell/backup-docker.sh; echo "Docker backup completed with exit code: $?"; } 2>&1 | logger -t docker-backup -p user.info -# Backup created: Mon May 26 03:44:30 PM UTC 2025 -# Backup type: post-install -# System: io -# User: root -# Full system info: Linux io 6.8.0-59-generic #61-Ubuntu SMP PREEMPT_DYNAMIC Fri Apr 11 23:16:11 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux diff --git a/crontab-backups/io/archive/io-crontab-pre-install-20250526_152923.backup b/crontab-backups/io/archive/io-crontab-pre-install-20250526_152923.backup deleted file mode 100644 index e69de29..0000000 diff --git a/crontab-backups/io/archive/io-crontab-pre-install-20250526_153022.backup b/crontab-backups/io/archive/io-crontab-pre-install-20250526_153022.backup deleted file mode 100644 index e69de29..0000000 diff --git a/crontab-backups/io/archive/io-crontab-pre-install-20250526_154430.backup b/crontab-backups/io/archive/io-crontab-pre-install-20250526_154430.backup deleted file mode 100644 index e69de29..0000000 diff --git a/crontab-backups/io/current-crontab.backup b/crontab-backups/io/current-crontab.backup deleted file mode 100644 index 234b219..0000000 --- a/crontab-backups/io/current-crontab.backup +++ /dev/null @@ -1 +0,0 @@ -0 2 * * * { echo "Starting Docker backup"; /home/acedanger/shell/backup-docker.sh; echo "Docker backup completed with exit code: $?"; } 2>&1 | logger -t docker-backup -p user.info diff --git a/crontab-backups/racknerd/archive/racknerd-crontab-post-fix-20250526_111637.backup b/crontab-backups/racknerd/archive/racknerd-crontab-post-fix-20250526_111637.backup deleted file mode 100644 index a5f68c8..0000000 --- a/crontab-backups/racknerd/archive/racknerd-crontab-post-fix-20250526_111637.backup +++ /dev/null @@ -1,6 +0,0 @@ -0 0 * * * { echo "Starting Docker backup"; /home/acedanger/shell/backup-docker.sh; echo "Docker backup completed with exit code: $?"; } 2>&1 | logger -t docker-backup -p user.info -# Backup created: Mon May 26 11:16:37 AM EDT 2025 -# Backup type: post-fix -# 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-post-install-20250526_105957.backup b/crontab-backups/racknerd/archive/racknerd-crontab-post-install-20250526_105957.backup deleted file mode 100644 index 50aa937..0000000 --- a/crontab-backups/racknerd/archive/racknerd-crontab-post-install-20250526_105957.backup +++ /dev/null @@ -1,10 +0,0 @@ -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-fix-20250526_111637.backup b/crontab-backups/racknerd/archive/racknerd-crontab-pre-fix-20250526_111637.backup deleted file mode 100644 index 3972cbc..0000000 --- a/crontab-backups/racknerd/archive/racknerd-crontab-pre-fix-20250526_111637.backup +++ /dev/null @@ -1,11 +0,0 @@ -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 -0 0 * * * /home/acedanger/shell/crontab-backup-system.sh backup auto --auto-cleanup 2>&1 | logger -t crontab-backup -p user.info -# Backup created: Mon May 26 11:16:37 AM EDT 2025 -# Backup type: pre-fix -# 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 deleted file mode 100644 index 8758823..0000000 --- a/crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105157.backup +++ /dev/null @@ -1,29 +0,0 @@ -# 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 deleted file mode 100644 index 4a5c54c..0000000 --- a/crontab-backups/racknerd/archive/racknerd-crontab-pre-install-20250526_105957.backup +++ /dev/null @@ -1,29 +0,0 @@ -# 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 deleted file mode 100644 index 75c69b3..0000000 --- a/crontab-backups/racknerd/current-crontab.backup +++ /dev/null @@ -1 +0,0 @@ -0 0 * * * { echo "Starting Docker backup"; /home/acedanger/shell/backup-docker.sh; echo "Docker backup completed with exit code: $?"; } 2>&1 | logger -t docker-backup -p user.info