[p4] Restore a single db table from journal

Sambwise <[email protected]> Mon, 5 Feb 2018 07:50:01 -0800
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Sambwise'.

What you'd want to do would be along the lines of this (assuming the current
directory is P4ROOT):

p4d -r . -k db.label -jd LABEL.ckp rename db.label db.label.big p4d -r . -jr
LABEL.ckp  
First command dumps db.label into a journal file, second moves the actual
db.label table out of the way, third rebuilds from the journal
file.  (If something goes wrong, that's why we renamed db.label in
step two instead of deleting it; just move it back; if everything worked fine,
you can delete the old one.)

Note that when you ran your command, the "db files will be created if
missing" indicates that there are no db files in your current directory,
which means this isn't your P4ROOT directory.



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5614-restore-a-single-db-table-from-journal
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user