15-10-2006, 11:35 | #1 |
The Stig
Join Date: Jun 2006
Location: Swad!
Posts: 10,713
|
Linux monkeys - your usual backups...
What do you put in them? At the moment, for my home systems, I just backup /etc /usr /boot and /home. Cant think of anything else I'd really need access to in a recovery situation, possibly /var for logs and any www/ftp root that might be there, though you'd think the latter would exist somewhere else anyway.
__________________
apt-get moo |
15-10-2006, 12:56 | #2 |
Preparing more tumbleweed
Join Date: Jun 2006
Location: Hawaii
Posts: 6,038
|
Hmm.. /usr /etc, /boot and /home then any other quirks of whatever distro I'm using, basically. Its about all we backup at work too, apart from logs that are also backed up to a couple of locations 'just in case'. I keep a copy of my .bash_profile up on my webspace now, and every time I log on to a system I've not used before, grab it down into my home directory. Its nothing fancy, just a PS1 string, which turns it Green whilst leaving the command prompt its usual colour (good for spotting the command line if you're scrolling back in PuTTy), and tacks in user, host and time. The former to make sure I know who I am, the second to make it clear which box I'm working on and the latter to make it clear in tickets at what time I performed the task.
__________________
Mal: Define "interesting"? Wash: "Oh, God, oh, God, we're all gonna die"? |
15-10-2006, 13:05 | #3 |
The Stig
Join Date: Jun 2006
Location: Swad!
Posts: 10,713
|
Yeah that's not a bad tip actually. I already keep some various config files tucked away on my webspace, but never even considered bash.
__________________
apt-get moo |
15-10-2006, 14:05 | #4 |
Preparing more tumbleweed
Join Date: Jun 2006
Location: Hawaii
Posts: 6,038
|
My .bash_profile:
PS1="\[\033[1;32m\][\t \u@\h \w]\\$\[\033[0m\] " lives: http://www.paulgraydon.co.uk/nixbits/.bash_profile So whenever I'm on a box I just have to wget it.
__________________
Mal: Define "interesting"? Wash: "Oh, God, oh, God, we're all gonna die"? |