Re: [p4] Restore archive files after system crash

Sambwise <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Sambwise'.



[https://forums.perforce.com/index.php?app=forums&module=forums&section=findpost&pid=22663]
choba, on 2017/11/16 11:32:43 UTC, said:
>    Well, I can open the files in P4V, so they are "there" and can be downloaded (not specific revisions, but the current file).
>     
I'm pretty sure that just means you had them synced to your client
workspace.  If you fail any time you try to get a revision from the
server, it means that the server can't find the archive files.



Quote
>    I first started the server without the volumes mounted (because I didn't see they were unmounted), so yeah, it was a new folder.
>     
Could you mount the volumes and then restart the server with the correct (old)
P4ROOT directory?  That seems like the easiest fix.

This statement is a little confusing/concerning:



Quote
>     And when I run verify or check P4ROOT/depot/..., most of the files are missing (but not all, at least I see some ,d files).
>   
>    Is there any way to restore those archive files or something I can do to get the history or at least be able to get revisions? The depot files themselves are still all there.
>       
The "depot files" are the files under P4ROOT/depot -- binary files are
stored as one .gz per revision within a ",d" directory, and text files
are stored as ",v" delta files (multiple revisions can go into one
file).  If those files are gone, all your old revisions are gone --
these should be getting backed up as part of your normal backup
process.  How old is your most recent backup?



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5538-restore-archive-files-after-system-crash
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.