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

Re: How do I clone Computer A from Computer B?


if the clone really is a clone its the easy way to
copy the harddisk with gparted.
o.K. - so it is my way.

So long and a nice day


Am Freitag, den 04.03.2011, 09:18 +0000 schrieb Yuriy Kuznetsov:
> Hi,
> If you need to do it frequently I would recommend to look at
> clonezilla(http://clonezilla.org/). It's very easy to set up and can
> be used in different scenarios: one to one, one to many, only certain
> partitions on HDD, whole HDD, completely remote access(I was cloning
> different labs with different images remotely at the same time)...
> It comes very handy for sys admin type of work.
> Hope it helps.
> Kind regards,
> Yuriy.
> On Thu, Mar 3, 2011 at 6:30 PM, Klistvud <quotations@aliceadsl.fr>
> wrote:
>         Dne, 03. 03. 2011 18:42:02 je Jason Hsu napisal(a):
>                 Computer A is running minimal Debian with a firewall
>                 and servers, including SSH.
>                 I can use Computer B to ssh my way into Computer A.
>                  How do I use Computer B to clone Computer A?  So far,
>                 I've only been able to clone Computer A by booting up
>                 a live CD on Computer A and running PartImage.
>         I assume that by "use Computer B" to clone Computer A you mean
>         "how do I clone A to B over the network". One solution would
>         be piping dd through ssh, as was explained somewhere on this
>         very list several days ago (apparently, dd can copy between
>         hosts). A less "daring" approach would be to simply use rsync.
>         It is capable of resuming broken downloads, and uses
>         compression to save bandwidth. You should create and mount the
>         target partition on the remote server in advance. I've cloned
>         (actually, rsynced) data partitions with rsync and recently
>         I've successfully cloned my /home subtree over my LAN with
>         rsync -turboSzxpvg /home remoteserver:/destination_dir
>         Caveats: rsync has a very complex set of command line options.
>         You should study the man page in detail if you want things
>         such as hard links and ownership/permissions preserved. You
>         may need to allow root login in the remote ssh daemon, and
>         then run rsync as root in order to copy your / partition with
>         the correct ownership/permissions. I'm not sure how the
>         "virtual" subtrees will behave though (/proc, /sys and the
>         like); and I don't know whether, for the / partition, it can
>         be done live. The other partitons should probably be OK.
>         -- 
>         Cheerio,
>         Klistvud
>         http://bufferoverflow.tiddlyspot.com
>         Certifiable Loonix User #481801      Please reply to the list,
>         not to me.
>         -- 
>         To UNSUBSCRIBE, email to
>         debian-user-REQUEST@lists.debian.orgwith a subject of
>         "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>         Archive: [🔎] 1299177051.22428.1@compax">http://lists.debian.org/[🔎] 1299177051.22428.1@compax

Reply to: