[p4] Backup scripts?
Stephen Vance
steve at vance.com
Mon Sep 25 07:57:27 PDT 2006
Arnt --
I always use checkpoints for the simple reason that if I care enough
about my CM to get a tool like Perforce, I should care about the
transactional integrity of my backups. Compressed checkpoints are
relatively small and scale with the size of the site.
Steve
Arnt Gulbrandsen wrote:
> I should have known this would happen.
>
> My preferences are:
>
> 1. If the server's OS/architecture may change between backup and
> restore, use p4 checkpoints.
>
> 2. Else, if the site is so small that one can trust the server to be
> idle at night, just rsync and be done. (I draw the limit at, ah, 1.5
> developers, or 2.5 if it's acceptable that a backup fails once per
> year.) This would seem to apply to the original poster.
>
> 3. Else, if it's bigger and the p4d runs on a real OS, mount the
> relevant file system somewhere as a snapshot and back up the snapshot.
>
> 4. If all else fails, use p4 checkpoints.
>
> 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.
>
> Arnt
> (whose p4ds run on a real OS)
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>
More information about the perforce-user
mailing list