p4 export
Synopsis
Extract journal or checkpoint records.
Syntax
p4 export -ctoken
[-Jprefix
] [-f] [-llines
] [-Ffilter
] [-Ttableexcludelist
] [-Pfilterpattern
] p4 export -jtoken
[-Jprefix
] [-f] [-llines
] [-Ffilter
] [-Ttableexcludelist
] [-Pfilterpattern
] p4 export -jtoken
[-Jprefix
] -r [-F filter] [-Ttableexcludelist
] [-Pfilterpattern
]
Description
This command reports checkpoint and journal metadata from a Perforce server. With no options, the records are reported in tagged form.
Some fields are added to the tagged output to indicate either transactional consistency, or to indicate the end of the journal.
To filter database tables out of the exported data, use the -T
option
with a list of tables whose data you wish to exclude. To exclude data
from multiple tables, separate the table names by spaces or commas. The
table names must begin with "db.
", following the naming
convention used for database files in the server root directory. If you
separate the table exclusion list with spaces, you must enclose the list in
quotes.
Options
|
Specifies a checkpoint number or position token of the form
|
|
Format the output so that non-textual datatypes are formatted appropriately. |
|
Limit output to records that match the specified |
|
Specify a journal number or position token of the form
|
|
Specifies a filename prefix for the journal, such as that used with
|
|
Limit output to the specified number of |
|
Limit output to records that match the specified filter pattern.
Multiple filter patterns can be specified with multiple Each
The first character specifies whether the records are included or excluded
(" The mechanism by which this filtering is implemented is the same as that
which is used by the |
|
Display raw journal output; this argument applies to journals only. |
|
Supply a list of database tables (for example, Limit output to records that match the specified |
|
See “Global Options”. |
Usage Notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
N/A |
N/A |
|
- Compressed journals or checkpoints are not supported.
Examples
|
Run |