[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cloning my debian install onto my new hard disk?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 12 Jan 2003 8:20 pm, Bob Hilliard wrote:
> Johan Ehnberg <johan@ehnberg.net> writes:

>
>      I used to use the cp -ax method with great success, but more
> recently the -x option doesn't work.  The following is copied from my
>
> bug report #168685:
> > cp -ax <target> <dest> does not restrict the copy to one files
> > system.  If target is /, cp copies /home, even if it is on a separate
> > file system, and tries to copy /proc.  Copying /proc fails, and stops
> > the copy.
> >
> > cp -a -x gives the same result as cp -ax.
> >
> > This problem is not new with the current version.  I have experienced
> > it frequently in the past, but have been too lazy to file a report.
>
>      Because of this issue, I had to use "find / -xdev | cpio -vdump /mnt"
> for my last system copy.

rsync -aHx seems to work fine for me.

- -- 
Alan Chandler
alan@chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+IdZzuFHxcV2FFoIRAgpBAJ9TJVo7x77/y5uIMmZCA0XFlCR+aACfWfAQ
DstiCN6Oh2qyf8mNPDyeuXU=
=yB3c
-----END PGP SIGNATURE-----



Reply to: