Change 31158

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin under Review 31159
View Review
Download .zip
This is a change to unreleased new behaviour to handle the clients.readonly.dir
data as part of the database swap handling.

Added a disk space safety check, so the refresh_P4ROOT_from_offline_db will
safely abort early if there's not enough disk space to safely complete the
rsync of the readonly.clients.dir folder to the offline_db prior to the
database swap orchestrated by refresh_P4ROOT_from_offline_db.sh.

Renamed the copy function for improved clarity, and added a new rsync_with_preflight
function to improve modularity.

#review-31159
  • Files 2
  • Comments 0
2 edited 0 added 0 deleted
backup_functions.sh#163
Loading...
refresh_P4ROOT_from_offline_db.sh#7
Loading...
Tip: Use n and p to cycle through the changes.