Perforce 2000.2 Command Reference (2000.2.cr.1) | ||
<< Previous Chapter p4 add |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 branch |
To stop the server, use p4 admin stop. This will lock the database to ensure that it is in a consistent state upon server restart, and then shut down the Perforce background process. (For NT users, this will work whether you are running Perforce as a server or a service.)
To take a checkpoint, use p4 admin checkpoint [prefix]. This is equivalent to logging in to the server machine and taking a checkpoint with p4d -jc [prefix.] A checkpoint will be taken and the journal will be copied to a numbered file. If a prefix is specified, the files will be named prefix.ckp.n or prefix.jnl.n respectively, where n is a sequence number. If no prefix is specified, the default filenames checkpoint.n and journal.n will be used. Use the -z option to save the checkpoint and journal files in compressed form.
The files will be created in the server root as specified when the Perforce server was started.
-z |
For p4 admin checkpoint, save the checkpoint and saved journal file in compressed (gzip) format, appending the .gz suffix to the files. |
See the Global Options section. |
Perforce 2000.2 Command Reference (2000.2.cr.1) | ||
<< Previous Chapter p4 add |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 branch |