[p4] Backup scripts?
Chuck Karish
chuck.karish at gmail.com
Mon Sep 25 11:26:22 PDT 2006
On 9/25/06, Arnt Gulbrandsen <arnt at gulbrandsen.priv.no> wrote:
> So why don't I like p4 checkpoints? I've never thought about it very
> much. I think the basic reason is that IMO it's wrong for userspace
> code like p4d to take care of this. It's a perfectly ordinary backup.
> Not something each application should have to handle. I also don't like
> backing up something other than what's used.
To repeat Steven Vance's point, this is not a "perfectly ordinary
backup". A database snapshot can capture an inconsistent state
that might not be discovered for some time after a restore, at which
time a difficult repair would be needed.
A checkpoint is faster than a full copy of the database, it produces
smaller output, and it's correct. Ideals about how backups should
be done don't carry much weight in comparison.
--
Chuck Karish karish at well.com (415) 317-0182
More information about the perforce-user
mailing list