change default backup dir to /var/backups/bashup

This commit is contained in:
Matthew Saunders Brown 2025-02-26 17:15:30 -08:00
parent 193bf8e7c2
commit f034de5bf5
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,8 @@ cd bashup
cp sbin/bashup*.sh /usr/local/sbin/ cp sbin/bashup*.sh /usr/local/sbin/
chmod 755 /usr/local/sbin/bashup*.sh chmod 755 /usr/local/sbin/bashup*.sh
chown root:root /usr/local/sbin/bashup*.sh chown root:root /usr/local/sbin/bashup*.sh
# create default backup dir
mkdir /var/backups/bashup
# install & enable bashup systemd cron # install & enable bashup systemd cron
mkdir -p /usr/local/lib/systemd/system mkdir -p /usr/local/lib/systemd/system
cp systemd/bashup-cron.* /usr/local/lib/systemd/system/ cp systemd/bashup-cron.* /usr/local/lib/systemd/system/

View File

@ -13,7 +13,7 @@ retention_weeks=5;
retention_days=7; retention_days=7;
# backup storage directory # backup storage directory
backup_storage_dir='/mnt/backups'; backup_storage_dir='/var/backups/bashup';
# which backup scripts to run via bashup-cron.sh - options are 'files', 'mysql', 'pdns', 'postgres' # which backup scripts to run via bashup-cron.sh - options are 'files', 'mysql', 'pdns', 'postgres'
bashup_jobs=('files' 'mysql'); bashup_jobs=('files' 'mysql');