[p4] Moving p4d to a new server (Mac OS -> Linux)
G Barthelemy
gb.perforce at googlemail.com
Mon Mar 5 10:04:42 PST 2007
On 3/5/07, G Barthelemy <gb.perforce at googlemail.com> wrote:
> > So no joy. Anyone have an idea of where I went wrong?
> >
>
> In your procedure above, at no point did I see you copy your RCS files
> to the Linux box. No wonder they are missing :-) Or is it too obvious
> :-D
>
Ooops, spoke too soon. I guess this would copy the RCS files:
$ cp -pR /mnt/nfs/perforce/p4root /home/perforce/
However with cp, beware of things like:
By default, `cp' follows symbolic links only when not copying
recursively. This default can be overridden with the `--archive'
(`-a'), `-d', `--dereference' (`-L'), `--no-dereference' (`-P'), and
`-H' options. If more than one of these options is specified, the last
one silently overrides the others.
I tend to use rsync or tar for migrating RCS depots from a host to another...
More information about the perforce-user
mailing list