[p4] Backing up Perforce

JEREMY OVERESCH jovere at millerwelds.com
Wed Jan 31 11:42:37 PST 2007


I'm quite confused about how my backup script should work with storing
the checkpoint and journal files.   The following are the steps I am
currently taking:

p4 verify //...
p4 verify -u //...  ( this seems redundant to me, but that's what i
thought it said to do in the documentation)
p4 admin checkpoint

I then backup the new checkpoint, the old journal, and the depot
directories.

When looking at how to restore the data, it says that all I need is the
saved checkpoint file.  If this is true, what's the purpose of the
journal file?

As of right now, all data is backed up every weeknight, and we dont
have separate file systems for DB vs depot.  We only have about a dozen
or so users and our code base is fairly small (<200mb).

Thanks,

Jeremy


More information about the perforce-user mailing list