Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Clone live system as a simple backup?
Date: Thu, 08 Mar 2012 16:55:51
Message-Id: CAA2qdGWQJf_GZLMzW5Vz1sCjAUU0oWq24wYqs6TL2m+BAVxk1A@mail.gmail.com
In Reply to: Re: [gentoo-user] Clone live system as a simple backup? by Joshua Murphy
1 On Mar 8, 2012 2:50 AM, "Joshua Murphy" <poisonbl@×××××.com> wrote:
2 >
3
4 ---- >8 snip
5
6 >
7 > As an added note on this, rsync's --one-file-system (-x) flag is handy
8 > for avoiding grabbing unneeded things, but will typically leave you
9 > without the base few device nodes needed to boot the backup, those can
10 > either be grabbed from a stage3, or created with (courtesy of Linux
11 > From Scratch's section "6.2.1. Creating Initial Device Nodes"):
12 >
13 > mknod -m 600 ${backup}/dev/console c 5 1
14 > mknod -m 666 ${backup}/dev/null c 1 3
15 >
16
17 ... or just add another rsync invocation to backup /dev ...
18
19 Rgds,

Replies

Subject Author
Re: [gentoo-user] Clone live system as a simple backup? Neil Bothwick <neil@××××××××××.uk>