change default backup dir to /var/backups/bashup
This commit is contained in:
parent
193bf8e7c2
commit
f034de5bf5
@ -28,6 +28,8 @@ cd bashup
|
||||
cp sbin/bashup*.sh /usr/local/sbin/
|
||||
chmod 755 /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
|
||||
mkdir -p /usr/local/lib/systemd/system
|
||||
cp systemd/bashup-cron.* /usr/local/lib/systemd/system/
|
||||
|
@ -13,7 +13,7 @@ retention_weeks=5;
|
||||
retention_days=7;
|
||||
|
||||
# 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'
|
||||
bashup_jobs=('files' 'mysql');
|
||||
|
Loading…
x
Reference in New Issue
Block a user