{"id":349,"date":"2014-02-18T05:03:59","date_gmt":"2014-02-18T05:03:59","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2014\/02\/18\/perforce-backup-commands\/"},"modified":"2025-02-01T22:39:42","modified_gmt":"2025-02-01T22:39:42","slug":"perforce-backup-commands","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/perforce-backup-commands\/","title":{"rendered":"Perforce backup commands | Perforce backup method"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3728 aligncenter\" src=\"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2014\/02\/perforce-backup-commands.png\" alt=\"perforce-backup-commands\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2014\/02\/perforce-backup-commands.png 600w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2014\/02\/perforce-backup-commands-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>There are several commands and arguments that allow more complex operations. (A command line flag \u201c-z\u201d tells Perforce to use compre ssion.) The commands are as follows:<\/p>\n<p>p4d -jc [-z] \u2013 Take a checkpoint, rotate the journal<\/p>\n<p>p4 admin checkpoint [-z] \u2013 Client-side checkpoint\/journal<\/p>\n<p>p4d -jj [-z] \u2013 Rotate the journal<\/p>\n<p>p4d -jr [-z]filename \u2013 Restore the journal file filename<\/p>\n<p>p4d -jd [-z] filename \u2013 Checkpoint to filename without incrementing the checkpoint\/journal counter<\/p>\n<p>p4d -c command \u2013 Lock the database files, and run command<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are several commands and arguments that allow more complex operations. (A command line flag \u201c-z\u201d tells Perforce to use compre ssion.) The commands are as follows: p4d -jc [-z] \u2013 Take a checkpoint, rotate the journal p4 admin checkpoint [-z] \u2013 Client-side checkpoint\/journal p4d -jj [-z] \u2013 Rotate the journal p4d -jr [-z]filename \u2013&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3728,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[370],"tags":[591,2248,2250,378,2254,373,2247,2249,2251,2252,2256,2253,1956,1884,2255],"class_list":["post-349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-perforce","tag-backup","tag-backup-commands","tag-backup-perforce-commands","tag-commands","tag-commands-for-perforce-backup","tag-perforce","tag-perforce-backup","tag-perforce-backup-commands","tag-perforce-backup-guide","tag-perforce-backup-instructions","tag-perforce-backup-method","tag-perforce-backup-tutorials","tag-perforce-guide","tag-perforce-tutorial","tag-recovery"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":3730,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions\/3730"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/3728"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}