From: thegeezer <thegeezer@thegeezer.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] creating an image of the system
Date: Wed, 11 Sep 2013 15:11:18 +0100 [thread overview]
Message-ID: <52307A06.8060700@thegeezer.net> (raw)
In-Reply-To: <52305A38.80503@xunil.at>
On 09/11/2013 12:55 PM, Stefan G. Weichinger wrote:
> Am 09.09.2013 08:30, schrieb Michael Hampicke:
>
>> Tar with permission preservation is fine. Just exlude everything
>> in dev/sys/proc/tmp as you said. But make sure, that these
>> directories are in your tar file, it does not matter if they are
>> empty, but they have to exist in order to boot proplery.
> Sorry if I am maybe a bit OT (am I?):
>
> I often cloned systems from or into VMs by booting both systems with
> live-CDs, mounting their disks and "rsync -av" the root-fs over ...
> sure, taking care of dev/sys/proc/tmp does not hurt ...
>
> After the rsync maybe some fstab-editing, checking grub-config ... but
> that worked several times already ... (OK, not automated ... but
> sufficient if I prepare a server inside a VM and then apply that image
> once).
>
> S
>
>
personally i like to add the clone-to disk as a mirror into my lvm, then
once it is synced, i stop service such as databases, split the mirror
and then start databases again.
this lets me import the lvm to the new location practically identical,
of course fstab etc need changing at the other end
prev parent reply other threads:[~2013-09-11 14:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-08 18:51 [gentoo-user] creating an image of the system Benjamin Block
2013-09-08 19:19 ` Mick
2013-09-08 22:07 ` Dale
2013-09-09 18:50 ` Benjamin Block
2013-09-09 19:38 ` Dale
2013-09-09 6:30 ` Michael Hampicke
2013-09-09 19:05 ` Benjamin Block
2013-09-09 19:21 ` Michael Hampicke
2013-09-09 19:39 ` Dale
2013-09-11 11:01 ` Neil Bothwick
2013-09-11 11:55 ` Stefan G. Weichinger
2013-09-11 14:11 ` thegeezer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52307A06.8060700@thegeezer.net \
--to=thegeezer@thegeezer.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox