View previous topic :: View next topic |
Author |
Message |
shadeheim n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Mar 2007 Posts: 56
|
Posted: Fri Apr 13, 2007 10:34 pm Post subject: Which files are most important for a backup? |
|
|
Just to be on the safe side I'm planning a backup, but saving my whole partition would take a lot of effort so I've decided to make a list of important files. Some I've come up with so far are:
bashrc
Kernel Config
Samba Config
Net config / WPA_Supplicant
sudoers
All hidden folders from home directory
I know I must be missing quite a few important ones. I'm trying to keep to config files so that I can backup regularly to the internet and my other partition. Any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
IQgryn l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 05 Sep 2005 Posts: 764 Location: WI, USA
|
Posted: Sat Apr 14, 2007 2:54 am Post subject: |
|
|
I'd recommend: Code: | /var/lib/portage/world
/etc/portage/*
/etc/make.conf |
That's the world list and your portage configuration. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jsfan Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 28 Dec 2004 Posts: 204 Location: Melbourne, Australia
|
Posted: Sat Apr 14, 2007 2:56 am Post subject: |
|
|
It's risky what you're doing but if you really want to save only what you really need, I would suggest to add at least
/etc/passwd
/etc/shadow
it can be a real pain to recreate all users and groups with the right kind of ids. However, this requires that your backup media is to be considered safe, of course.
What might also come in handy at some point is still having your
/etc/make.conf
and your
kernel config
What I usually do is to save /home and /etc. That has been safe so far although I once lost stuff from /var/www... ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|