Re: [p4] Questions regarding backup strategies for perforce servers

Sambwise <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Sambwise'.



[https://forums.perforce.com/index.php?app=forums&module=forums&section=findpost&pid=22381]
dbrakeley, on 2017/09/26 17:02:46 UTC, said:
>    If I run a checkpoint every night, and am constantly backing up the files written to the RAID as they are written, then will that be enough to rebuild the server to the state of the most recent checkpoint? For example, if I end up with newer files in the depot archives than are accounted for in the most recent checkpoint, will that cause problems?
>   
>   If I also have the most recent journal, then I theoretically could restore the server back to exactly the point it left off, assuming the backup of the journal and depot files wasn't interrupted before they could complete, right?
>     
Yup!  I think you've got it pretty well
covered.  Like Roadkill said, having a superset of the depot content
won't hurt anything (the db is the source of truth and p4d will
ignore/overwrite depot content that's not represented there), and you are
correct that if you have the current journal in addition to the current depot
files you can do a restore up to the instant of failure without losing anything.

The one thing missing is that each checkpoint should be getting saved off to
another device (along with a snapshot of the depot files) in case of meteor
strike or something like that.   :)



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5495-questions-regarding-backup-strategies-for-perforce-servers
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.