Gentoo Archives: gentoo-server

From: Sven Vermeulen <swift@g.o>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] How to backup lots of files in filesystem.
Date: Tue, 09 Nov 2004 09:04:28
Message-Id: 20041109090422.GA12843@gentoo.org
In Reply to: [gentoo-server] How to backup lots of files in filesystem. by Wang Penghui
1 On Tue, Nov 09, 2004 at 04:32:06PM +0800, Wang Penghui wrote:
2 > In my server box, there is a directory used to store users' data,
3 > but there are lots of subfolders under it, and there there also are lots
4 > of subfolders under the subfolders too. in each folders there are lots
5 > of files.
6 > And the files would be changed at any time. Some added while some
7 > deleted, some increased while some decreased. And the amount of the
8 > files is so big.
9 > Even more than 10G.
10 >
11 > Now the problem come out. I need to backup all the files in the
12 > folders. Because the files would be changed even in every minute. So i
13 > have to backup it as often as possible. I am blind with it now. Maybe
14 > rsync will fit my requirements, i am not sure about it now.
15 >
16 > Could someone pick me up.
17
18 Do you use LVM2 (or can you use it)? If so, make a snapshot and backup the
19 snapshot.
20
21 You can hardly backup every file every time it's changed, that's not what
22 backups are for. You should inform your users about the backup policy _you_
23 are going to use on your system, tell them why you will do X backups per Y
24 days, and that if they want higher-rate backups they should use their own
25 method.
26
27 Wkr,
28 Sven Vermeulen
29
30 --
31 Documentation & PR project leader
32
33 The Gentoo Project <<< http://www.gentoo.org >>>