[p4] How to move perforce depot from c: to d:
lee at marzke.net
Fri Feb 24 10:47:19 PST 2006
Moving the depot on the same server is just a slightly simpler version
of moving the depot
between machines. See
On Windows if starting the server directly using 'p4d' just change the
on the p4d command line. See
If your starting Perforce as a service, then you'll have use the srvinst
program to reset the
server root directory. I'd delete the old service first using the
normal Windows tools.
PS: Most of this information is covered in the Administration guide at:
You really should read the entire Administrator Guide if your going to
Vladimir Sim wrote:
> Thank for your advise.
> I am actually asking how to move the server depot location from c:\depot
> to d:\depot.
> I am not referring to the client workspace.
> On 2/24/06, *Lee Marzke* <lee at marzke.net <mailto:lee at marzke.net>> wrote:
> The Tech note 024 shows how to move/rename a depot directory on the
> You really should be asking how to move your *client workspace* from
> c:\depot to
> d:\depot which is an entirely different thing.
> Just copy all your files to d:
> mkdir d:\depot
> xcopy /S /V c:\depot d:\depot
> Then change your client spec root to d:\depot
> p4 workspace (same as 'p4 client', available in
> latest p4 versions )
> edit the root: line from
> c:\depot to d:\depot
> Lee Marzke
> Vladimir Sim wrote:
> > Hi,
> > I need to move my current perforce depot from c:\depot to d:\depot
> > I have found an articles from perforce site,
> > http://www.perforce.com/perforce/technotes/note024.html.
> > that show me how to rename/move depot. However, after I execute it.
> > I don't find my old depot file appearing in the new depot folder
> > the p4 client show it.
> > What is wrong, please advise me on this area.
> > --
> > Best regards,
> > Vladimir Sim
> > _______________________________________________
> > perforce-user mailing list - perforce-user at perforce.com
> <mailto:perforce-user at perforce.com>
> > http://maillist.perforce.com/mailman/listinfo/perforce-user
> Best regards,
> Vladimir Sim
More information about the perforce-user