[p4] Is there a way to write-lock the database while mybackupruns?
Paul.Goffin at aepnetworks.com
Thu Feb 23 02:22:36 PST 2006
I don't know if anyone's commented about this, but it isn't necessary to
write lock the database.
Perforce does it's own locking when you create a checkpoint. Once the
checkpoint is built, you don't need the db.* files, you just backup the
checkpoint and depot/... files.
And the only thing that matters is that the checkpoint is created BEFORE
the depot/... area is backed up.
It doesn't matter if some of the files in the depot are modified AFTER
the checkpoint. If you ever have to restore from the backups, perforce
will ignore any changes in the depot files that are later than the
Test it on a trivial test server. It really does work.
More information about the perforce-user