pulibrary / pul_solr

PU Library Solr Configs and Specs
Apache License 2.0
5 stars 0 forks source link

Backups haven't been running for a while #407

Closed sandbergja closed 3 months ago

sandbergja commented 3 months ago

Expected behavior

ls /mnt/solr_backup/solr8/production and ls /mnt/solr_backup/solr8/staging/ have backups from yesterday.

Actual behavior

On today, June 4, the most recent prod backup is from May 16. The most recent staging backup is from March 25.

Impact of this bug

High: we don't have recent backups of solr.

Implementation notes, if any

The main servers do have the backup script in the crontab:

ssh deploy@lib-solr-staging4d crontab -l
Enter passphrase for key '/Users/sandbergj/.ssh/id_ed25519':

# Begin Whenever generated tasks for: pul_solr at: 2024-06-03 20:09:27 +0000
0 0 * * * bash -l -c 'export PATH="/usr/local/bin/:$PATH" && cd /solr/pul_solr/releases/20240603200921 && SOLR_ENV=staging HOST=solr8d bundle exec rake pul_solr:backup'

# End Whenever generated tasks for: pul_solr at: 2024-06-03 20:09:27 +0000
sandbergja commented 3 months ago

ls -alrth /mnt/solr_backup/solr8/production/ and ls -alrth /mnt/solr_backup/solr8/staging/ both say that these are owned by root.

sandbergja commented 3 months ago

Backups are running again! Thanks, @maxkadel @acozine @kayiwa @winsice-ng @vh8154 @rladdusaw