[p4] How to move perforce depot from c: to d:
Lee Marzke
lee at marzke.net
Fri Feb 24 10:47:19 PST 2006
Vladimir,
Moving the depot on the same server is just a slightly simpler version
of moving the depot
between machines. See
http://www.perforce.com/perforce/technotes/note010.html
On Windows if starting the server directly using 'p4d' just change the
'-r' parameter
on the p4d command line. See
http://www.perforce.com/perforce/technotes/note001.html
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.
See http://www.perforce.com/perforce/technotes/note035.html
PS: Most of this information is covered in the Administration guide at:
http://www.perforce.com/perforce/doc.052/manuals/p4sag/01_install.html#1049719
You really should read the entire Administrator Guide if your going to
be administrating
a server.
Good luck.
Lee Marzke
Vladimir Sim wrote:
> Hi,
>
> 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:
>
> Vladimir,
>
> The Tech note 024 shows how to move/rename a depot directory on the
> *server*.
>
> 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
> PCP
>
>
>
>
>
> 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
> althought
> > 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
mailing list