1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Wang Penghui wrote: |
5 |
> In my server box, there is a directory used to store users' data, but |
6 |
> there are lots of subfolders under it, and there there also are lots of |
7 |
> subfolders under the subfolders too. in each folders there are lots of |
8 |
> files. |
9 |
> And the files would be changed at any time. Some added while some |
10 |
> deleted, some increased while some decreased. And the amount of the |
11 |
> files is so big. |
12 |
> Even more than 10G. |
13 |
> |
14 |
> Now the problem come out. I need to backup all the files in the |
15 |
> folders. Because the files would be changed even in every minute. So i |
16 |
> have to backup it as often as possible. I am blind with it now. Maybe |
17 |
> rsync will fit my requirements, i am not sure about it now. |
18 |
|
19 |
I am sure somebody will find a tool for you, but as a quick solution you |
20 |
may consider running find -ls and store its output and then tar |
21 |
everything that has been modified since last tar. |
22 |
Having list of files you will be able to find out which files have been |
23 |
deleted, and having these files in some previously made tarball you will |
24 |
be able to restore them when needed. |
25 |
Rsync would not save you the deleted files. |
26 |
|
27 |
You just need some work to fit this simple thing to your own needs. :) |
28 |
|
29 |
HTH. |
30 |
-----BEGIN PGP SIGNATURE----- |
31 |
Version: GnuPG v1.2.6 (GNU/Linux) |
32 |
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org |
33 |
|
34 |
iD8DBQFBkIcwlA+/TuXKaj0RAmVlAJ9Q8jZgPu+dW/uVzsX1r+CIlmYtdQCdG5CJ |
35 |
vk1XnPUsLCBpJ3LalNAHvao= |
36 |
=VOMm |
37 |
-----END PGP SIGNATURE----- |