green line
homephotoswoodfamilyericfaq

Mac OS X Perforce Server Setup




#!/bin/sh

# -----------------------------------------------------------------------------
# By: Eric Blom
# Email: webmaster@piap.com
#
# This is the script that should be run to checkpoint the perforce server.
# A checkpoint file gives us the ability to restore the server data base files.
#
# The script will create a checkpoint file and then move it to a new directory
# for safe keeping.
# -----------------------------------------------------------------------------

# -r    set server root directory
# -jc   checkpoint, then save and truncate journal
# -z    gzip checkpoint/journals


/Users/perforce/bin/p4d -r /Users/perforce/p4droot \
                        -J /Users/perforce/p4djournal/journal \
                        -jc \
                        -z

mv /Users/perforce/p4droot/checkpoint* /Users/perforce/checkpoints/.
mv /Users/perforce/p4droot/journal* /Users/perforce/checkpoints/.

# END OF SCRIPT

bottom rule
Valid HTML 4.01! Send comments to
webmaster@piap.com