3 messages in com.perforce.perforce-userPerforce journaling
FromSent OnAttachments
Yari...@cimatron.co.il21 May 1998 02:56 
Nick...@aperture.com21 May 1998 05:22 
Jack...@alamar-usa.com21 May 1998 09:40 
Subject:Perforce journaling
From:Jack...@alamar-usa.com (Jack@alamar-usa.com)
Date:05/21/1998 09:40:50 AM
List:com.perforce.perforce-user

It looks like there is something wrong with your checkpointing operation. I'm assuming you checkpoint every evening before performing a backup. When I perform this operation, I get a new journal file and the original one gets renames to "journal.<sequence_number>". This operation is handled by Perforce. I use a different checkpoint file name every night, so I get a history of these. This is handled by me, not Perforce.

The actual commands I use to do this would look somewhat like the following:

export P4JOURNAL=${backup_directory}/journal check_file=`$DATE "+${backup_directory}/c_%y%m%d_%H%M%S"` ${P4D} -r ${p4_depot} -jc ${check_file} 2>&1

While I have not had to use the checkpoint/journal files, I'm glad they're around. If you only had the checkpoint file, corruption of the data base files would force to restore to the depot state at the time of your last backup. If you have both, you can restore the state of the depot up to the last operation recorded in the journal. Most, if not all, of the operations performed on the depot would be recoverable.

The flip side is, if you have to restore both the delta and data base files, they won't help you.

thanx, jack c.

***************************************************************************** Jack Christensen Philips Digital Video Systems Company new email: Jack.Christensen at philipsdvs.com

never take no cutofs and hury along as fast as you can. (Virginia Reed, 1847) *****************************************************************************

On Thu, 21 May 1998, Yariv Sheizaf wrote:

Hi,

The size of my P4 system's journal file is very big - 300MB, after 6 months, where the project itself (depot, etc.) is about 350MB.

Is it possible to compress, cut, remove or reallocate the journal file ?

Is the journaling mechanism is necessary, or optional ? What are its benefits ?

Regards,

Yariv Sheizaf Software Infrastructure department Manager Cimatron Ltd.