Gentoo Archives: gentoo-user

From: Jerry McBride <mcbrides9@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Back up a server in real-time
Date: Sun, 16 Nov 2008 02:58:31
Message-Id: 200811152158.22276.mcbrides9@comcast.net
In Reply to: Re: [gentoo-user] Back up a server in real-time by Mick
1 On Saturday 15 November 2008 07:08:42 pm Mick wrote:
2 > On Saturday 15 November 2008, Dale wrote:
3 > > Mick wrote:
4 > > > Without gentoo-wiki my knowledge level is rather poor (just like my
5 > > > memory!)
6 > > >
7 > > > What would you use to back up a running server without taking it off
8 > > > line?
9 > >
10 > > I keep mine simple, cp -auv paths/you/want/to/backup back/up/to It has
11 > > works so far. Thought about doing a cron job but that complicates
12 > > things. :/
13 >
14 > Thank you all for the suggestions and for the link to the wiki! I've got
15 > some reading to do. ;-)
16 >
17 > Whenever I have used tar to back up a whole OS I used it with a LiveCD.
18 > This was to make sure that files and their metadata were not being changed
19 > while I was tar'ing them.
20 >
21 > Are you saying that I can actually fire up tar/rsync and back up in real
22 > time?
23 >
24 > I was gravitating towards using LVM snapshot and then tar'ing that to an
25 > external USB drive.
26
27
28 If you need to guarantee a backup without the data being changed during the
29 process... you gotta take the server down. The easiest way is to init 1 to
30 single user mode , make your backup, then init x back to what ever runlevel
31 you were in...
32
33 --
34
35 *****************************************************************************
36
37 From the desk of:
38 Jerome D. McBride
39
40 21:54:45 up 5:40, 4 users, load average: 0.00, 0.01, 0.00
41
42 *****************************************************************************