Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Clone live system as a simple backup?
Date: Thu, 08 Mar 2012 17:13:13
Message-Id: 20120308171203.32560ef3@hactar.digimed.co.uk
In Reply to: Re: [gentoo-user] Clone live system as a simple backup? by Pandu Poluan
1 On Thu, 8 Mar 2012 23:52:53 +0700, Pandu Poluan wrote:
2
3 > > As an added note on this, rsync's --one-file-system (-x) flag is handy
4 > > for avoiding grabbing unneeded things, but will typically leave you
5 > > without the base few device nodes needed to boot the backup, those can
6 > > either be grabbed from a stage3, or created with (courtesy of Linux
7 > > From Scratch's section "6.2.1. Creating Initial Device Nodes"):
8 > >
9 > > mknod -m 600 ${backup}/dev/console c 5 1
10 > > mknod -m 666 ${backup}/dev/null c 1 3
11 > >
12 >
13 > ... or just add another rsync invocation to backup /dev ...
14
15 That won't work because it will backup the full devfs mounted on /dev,
16 not the files that exist in the directory itself.
17
18
19 --
20 Neil Bothwick
21
22 Despite the cost of living, have you noticed how it remains so popular?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Clone live system as a simple backup? Mark Knecht <markknecht@×××××.com>