1 |
Hello all, |
2 |
|
3 |
My first post on the list. I thought I would start with something that I |
4 |
started |
5 |
to think of as 'essential' after losing 90GB of data. Now I have two main |
6 |
questions in mind: what to and how to back up on gentoo most efficiently. |
7 |
|
8 |
1. Apart from users' home directories and the followings, what should be |
9 |
backed |
10 |
up on a gentoo machine? |
11 |
/etc/portage/ |
12 |
/root |
13 |
/var/lib/portage |
14 |
...? |
15 |
|
16 |
2. Erm..okay, I am gonna say, what magic I want and then ask your way. |
17 |
I first started making gzipped tar balls as follows: |
18 |
|
19 |
tar czpf /media/backups/userA-`date +%Y.%m.%d`.tgz -X userA-excludelist /etc |
20 |
|
21 |
But these can get huge especially for home dirs. I also want safe dvd |
22 |
copies. |
23 |
Though I can find enough space on the external drives, I don't trust them |
24 |
any more. See above..sigh..(No I recovered about one third of it with |
25 |
testdisk/photorec |
26 |
which names them as file000001 file00002.. and half them are zero sized.. |
27 |
which |
28 |
quite justifies my agony) |
29 |
|
30 |
Here is what I wanna do. I want to have only one big backup for, say, |
31 |
userA-2010.08.07.tgz and other small backup tars containing only the |
32 |
files/folders that were modified since last update, 2010.08.07, as |
33 |
userA-diff-2010.08.14.tgz, userA-diff-2010.08.21.tgz, |
34 |
userA-diff-2010.08.28.tgz |
35 |
etc. Now if I want to take the userA back to the future, 2010.08.21, I want |
36 |
to |
37 |
do it by first extracting the huge tar userA-2010.08.07.tgz and then the |
38 |
tiny |
39 |
backup userA-diff-2010-08-21.tgz. |
40 |
|
41 |
But the thing is I don't know how to do this. I am hoping maybe you can tell |
42 |
me |
43 |
how to of it as well as a better way of doing backups. |
44 |
|
45 |
By the way, since I want dvd backups as well, and I want to use +rw dvds so |
46 |
I |
47 |
can overwrite old backup after a while, what is best way of ensuring the |
48 |
integrity and safety of them. Is it a good idea to use truecrypt containers? |
49 |
Or |
50 |
nothing tops signing and encrypting with gpg? |
51 |
|
52 |
Thanks for any comment in advance. |