diff --git a/README.md b/README.md index 1f47af6..836d337 100644 --- a/README.md +++ b/README.md @@ -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/ diff --git a/sbin/bashup.sh b/sbin/bashup.sh index 00eedbd..4089b42 100755 --- a/sbin/bashup.sh +++ b/sbin/bashup.sh @@ -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');