Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Minimalistic Backup setup
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
vrm-ol
n00b
n00b


Joined: 04 Jul 2003
Posts: 42
Location: Euskirchen, Germany

PostPosted: Sat Oct 18, 2003 2:35 pm    Post subject: Minimalistic Backup setup Reply with quote

Hi all;


at the moment, i'am thinking about which directoirs must be backed up on tape, which should be backed up and which part of my gentoo-box can easily be recovered, downloading and compiling all again ...

The must's i've collected so far:
    /home
    /usr/local
    /etc --- OK, these were easy to figure out :D
    /var/spool/mail --- to be able to recover mails
    /var/log --- to be able to find out, what happened before the crash
    /var/cache/edb/world --- to remember what was installed
    some items from /var/lib/news (activefile, newsgroupsfile)
    the local Kernel-config --- /usr/src/linux/.config
    in my case /opt/ltsp/.../ltsp.conf [1] and everything else manually installed or changed in /opt/ltsp

What else is a must?
Any ideas about the should's

TIA, vrm
[1] someone shoud move this to /etc and symlinking it to the above place ...
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Sat Oct 18, 2003 3:42 pm    Post subject: Reply with quote

/var/db/pkg is also a nice candidate! I am not sure what the info in there is used for, but I think it is required for portage to function.

I also think some versions of apache use /var/www/htdocs instead of /home/httpd, and qmail, should you use it, puts everything in /var/qmail, not /var/spool/

You COULD also backup /usr/portage/distfiles, just to save bandwidth, and /usr/portage/packages in case you built any binary tarballs.

Code:
sfdisk -d /dev/hdX > partitions.hdX
saves your partition table, so in case it goes FUBAR you can restore it using "sfdisk < partitions.hdX"
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Souperman
Guru
Guru


Joined: 14 Jul 2003
Posts: 449
Location: Cape Town, South Africa

PostPosted: Sat Oct 18, 2003 7:04 pm    Post subject: Reply with quote

I also back up /root because I tend to leave a few things lying around in there that I wouldn't want to lose. You'll also probably want /var/spool/cron/crontabs. Not sure if that path is different depending on which cron you emerged, I use vcron.
_________________
moo
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