changed the default dir name to match the project name to be clone-friendly, fixed the paths in the cron file and a typo that meant yearlies wouldn't run

This commit is contained in:
Dave Lane 2022-08-24 05:06:17 +00:00
parent 258715bcd3
commit cf1a69e1c7
2 changed files with 6 additions and 6 deletions

View file

@ -4,17 +4,17 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# run system backups # run system backups
# #
# hourly - at 5 minutes past mon-sat # hourly - at 5 minutes past mon-sat
25 * * * * root /home/data/mastodon.oeru.org/scripts/dbbackup/dbbackup-docker-compose -c /home/data/mastodon.oeru.org/scripts/dbbackup/mastodon.conf --hourly 25 * * * * root /home/data/scripts/dbbackup-docker-compose/dbbackup-docker-compose -c /home/data/scripts/dbbackup-docker-compose/default-docker-compose.conf --hourly
# #
# daily - at 7:30 pm, mon-sat # daily - at 7:30 pm, mon-sat
30 19 * * * root /home/data/mastodon.oeru.org/scripts/dbbackup/dbbackup-docker-compose -c /home/data/mastodon.oeru.org/scripts/dbbackup/mastodon.conf --daily 30 19 * * * root /home/data/scripts/dbbackup-docker-compose/dbbackup-docker-compose -c /home/data/scripts/dbbackup-docker-compose/default-docker-compose.conf --daily
# #
# weekly - at 7:30 pm, sun # weekly - at 7:30 pm, sun
30 19 * * sun root /home/data/mastodon.oeru.org/scripts/dbbackup/dbbackup-docker-compose -c /home/data/mastodon.oeru.org/scripts/dbbackup/mastodon.conf --weekly 30 19 * * sun root /home/data/scripts/dbbackup-docker-compose/dbbackup-docker-compose -c /home/data/scripts/dbbackup-docker-compose/default-docker-compose.conf --weekly
# #
# monthly - at 8:30 pm, on the first of the last of the month # monthly - at 8:30 pm, on the first of the last of the month
30 20 1 * * root /home/data/mastodon.oeru.org/scripts/dbbackup/dbbackup-docker-compose -c /home/data/mastodon.oeru.org/scripts/dbbackup/mastodon.conf --monthly 30 20 1 * * root /home/data/scripts/dbbackup-docker-compose/dbbackup-docker-compose -c /home/data/scripts/dbbackup-docker-compose/default-docker-compose.conf --monthly
# #
# yearly - at 8:30 pm, on the first of January. # yearly - at 8:30 pm, on the first of January.
30 20 1 1 * root /home/data/mastodon.oeru.org/scripts/dbbackup/dbbackup-docker-compose -c /home/data/mastodon.oeru.org/scripts/dbbackup/mastodon.conf--yearly 30 20 1 1 * root /home/data/scripts/dbbackup-docker-compose/dbbackup-docker-compose -c /home/data/scripts/dbbackup-docker-compose/default-docker-compose.conf --yearly

View file

@ -29,7 +29,7 @@ VERBOSE=0
# #
# Stuff that should be universal for this install... # Stuff that should be universal for this install...
# where we can find this app... # where we can find this app...
MAIN_DIR=/home/data/scripts/pgdbbackup MAIN_DIR=/home/data/scripts/dbbackup-docker-compose
# determine today's date # determine today's date
DATE=`date '+%Y-%m-%d-%a'` DATE=`date '+%Y-%m-%d-%a'`
# determine today's date # determine today's date