[p4] Backup procedure help required - script for Perforce in Windows (DOS/VBS)?
Qazwart
qazwart at gmail.com
Thu Jul 26 17:26:41 PDT 2007
It's been a while since I wrote DOS Batch scripts, but I believe that
"if errorlevel" can access the exiting error codes. See <http://
www.robvanderwoude.com/errorlevel.html> for more information.
On Jul 26, 2007, at 11:47 AM, Eric L wrote:
> Hello, I am a new Perforce user.
>
> Does anyone have an automated backup script for Perforce running on
> Windows, which they could share?
>
> Also, I do not understand what this step in the Perforce backup
> procedure means:
>
> "3. Ensure that the checkpoint has been created successfully before
> backing up any files. (After a disk crash, the last thing you want to
> discover is that the checkpoints you've been backing up for the past
> three weeks were incomplete!)
>
> You can tell that the checkpoint command has completed successfully
> by examining the error code returned from p4d -jc, or by observing
> the truncation of the current journal file."
>
> A. How do I examine the error code, and what do I look for?
> B. What am I supposed to observe about the truncation of the current
> journal file?
>
> Thanks in advance,
> Eric
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
David Weintraub
david at weintraub.name
qazwart at gmail.com
More information about the perforce-user
mailing list