Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which files are most important for a backup?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
shadeheim
n00b
n00b


Joined: 03 Mar 2007
Posts: 56

PostPosted: Fri Apr 13, 2007 10:34 pm    Post subject: Which files are most important for a backup? Reply with quote

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
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 764
Location: WI, USA

PostPosted: Sat Apr 14, 2007 2:54 am    Post subject: Reply with quote

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
View user's profile Send private message
jsfan
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 204
Location: Melbourne, Australia

PostPosted: Sat Apr 14, 2007 2:56 am    Post subject: Reply with quote

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... ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum