Change 19105

russell_jackson (Russell C. Jackson (Rusty))
Russell C. Jackson (Rusty) committed this change into / under Review 19083
View Review
Download .zip
This change uses p4 admin journal command against the master server to rotate the journal.
Added a p4d_truncate_journal to use in weekly_back that still rotates via p4d.

The purpose of this change is to allow you to run daily_backup.sh on a standby machine
where you have a shared depotdata volume. If you want to use daily on the standby machine,
you have to put offline_db on the shared depotdata volume which means you will NOT want
to run weekly_backup.sh on the master very often, but that is basically what Anton is
recommending now. I am currently testing this setup on a production environment, and if
it works well, I will change mkdirs.sh to put offline_db on the depotdata volume by
default and update the crontabs not to run weekly anymore.

#review-19083
  • Files 2
  • Comments 0
2 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/backup_functions.sh#27
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/weekly_backup.sh#14
Loading...
Tip: Use n and p to cycle through the changes.