6 messages in com.perforce.perforce-user[p4] need help with checkpoint file
FromSent OnAttachments
Yao, Jixian (CRD)13 Nov 2001 11:00 
Gareth Rees15 Nov 2001 08:33 
Jim Sheffer16 Nov 2001 07:59 
Stephen Vance16 Nov 2001 08:14 
Jim Sheffer16 Nov 2001 09:36 
Nick Levine19 Nov 2001 01:24 
Subject:[p4] need help with checkpoint file
From:Jim Sheffer (jims@blueworld.com)
Date:11/16/2001 09:36:06 AM
List:com.perforce.perforce-user

Thanks Stephen- Paul helped me out with the fact that I needed to put ./ in front of the command. Now all I need to do is write a backup script and I'm all set. thanks!

Jim

on 11/16/01 8:15 AM, Stephen Vance at steve at vance.com wrote:

If you're using a recent version of Perforce, just do 'p4 admin checkpoint' as a Perforce user with 'super' permission. You can add a '-z' to compress the checkpoint. So for example,

p4 -u P4Admin -P adminpassword admin checkpoint -z

would do the trick, as long as the p4 executable is in your path.

As for the location of p4d, is would recommend trying 'find / -type f -name p4d -print' or 'locate p4d'. I would guess it's under /usr/local/bin or something similar, but it could be anywhere the previous admin put it.

I would also recommend reading the Perforce System Administrator's Guide if you haven't at http://www.perforce.com/perforce/doc.011/manuals/p4sag/index.html. It gets right to the point of what an administrator needs to know (except how to find where a previous admin squirrelled away p4d).

At 08:00 AM 11/16/2001 -0800, Jim Sheffer wrote:

Hi everyone. I've just aquired a perforce server running on linux at a new company. As a system admin, I know nothing about perforce, and very little about linux. I'm trying to creare a checkpoint file and journal so I can then back up the server- but I'm not sure how to go about doing this. I've read the manual, but I get stuck with the following command not being recognized: p4d -r -jc

p4d is not a recognized command. I know this is more of a linux/ file directory probleb (or so I figure) but I'm sure most of you are backing up and making checkpoint files. The directory structure seems to be as follows: /p4/perforce/perforce

the first perforce directory contains the following files: license netstat.txt p4_db_backup p4client perforce start

The second cointains the following files: checkpoint.6 db.depot db.group db.job db.protect db.user license db.boddate db.desc db.have db.jobdesc db.rev db.view p4d db.bodtext db.domain db.integ db.jobpend db.revcx db.working db.change db.fix db.ixdate db.locks db.review depot db.counters db.fixrev db.ixtext db.logger db.trigger journal

Can someone tell where I need to be to run the perforce checkpoint and journal?

Any help would be appreciated.