From 89d5ff25725a8d3cb08ffc8c337b0b349bbe0661 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 8 Mar 2023 14:13:31 +0100 Subject: [SSPS] Remove backup script; integrated with slx-admin now --- .../static_files/system/etc/cron.weekly/backup-satconfig.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 satellit_installer/static_files/system/etc/cron.weekly/backup-satconfig.sh (limited to 'satellit_installer') diff --git a/satellit_installer/static_files/system/etc/cron.weekly/backup-satconfig.sh b/satellit_installer/static_files/system/etc/cron.weekly/backup-satconfig.sh deleted file mode 100755 index 7dacd3d..0000000 --- a/satellit_installer/static_files/system/etc/cron.weekly/backup-satconfig.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -DIR="/root/automatic_config_backup/" -BACKUP_FILE=$(/opt/taskmanager/scripts/system-backup | tail -n 1 | cut -d' ' -f 2) - -mkdir -p "$DIR" -cd "$DIR" || exit 1 - -mv "$BACKUP_FILE" "$DIR" - -# remove backups older than 180 days -find "$DIR" -name "*.tgz" -type f -mtime +180 -exec rm -f {} \; -- cgit v1.2.3-55-g7522