[p4] Example Windows backup script?

Eric L eric8005 at gmail.com
Mon Aug 13 13:39:15 PDT 2007

Hi, I recently asked about this too (
) and got some great help to put one together - have a look at my
script here: http://maillist.perforce.com/pipermail/perforce-user/2007-August/022163.html

It may be a bit convoluted (and it is .bat), but it should do the job.

> ---------- Forwarded message ----------
> Date: Sun, 12 Aug 2007 13:07:00 -0700
> Subject: [p4] Example Windows backup script?
> Anyone have any suggestions for setting up a basic windows backup script?  Or are there any examples that anyone would be willing to share?  I don't need to do anything fancy.  I'm not a DOS bat file guru and frankly would probably prefer to get and use Python or something like that unless there is a mostly already working BAT file done somewhere that I can use.
> As I understand it, I need to do the following:
> p4 verify
> p4 verify –u
> p4 admin checkpoint (to automate, have to setup correct user to use, etc.)
> (check return status from checkpoint
> Cp checkpoint file and depot dir to other drive

More information about the perforce-user mailing list