[p4] How import a production database on a fresh server .

Loïc Dalbègue ldalbegue at edengames.com
Sat Apr 5 09:13:06 PDT 2008


Hi,

I have a perforce server in production with a database with 80 users and 
260 workspace. Recently i found some corruption in my database so I want 
to verify that with the p4 verify command, but i takes to long time for 
my production server. So i want to restore my database on another fresh 
perforce server with no licence to launch the p4 verify with no impact 
to my production server.
I copy my depot files, and i want to restore my database with a 
checkpoint file but on the fresh no licenced server i have some 
limitation !! 2 users and 5 workspaces so after the restore the fresh 
server doesn't start.

I already drop the users from my checkpoint file with this command : 
grep -v @db.user@ checkpoint > checkpointnew.
But how drop the workspace (clients) from my checkpoint too because the 
server doesn't start anymore with this error :
Perforce server error:
    Unlicensed server cannot start while over user/client quota.
    Try deleting old clients with 'client -d'.
    License count: 263 clients used of 5 licensed.

Thx for your help.


More information about the perforce-user mailing list