LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-03-2005, 01:55 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 472

Rep: Reputation: 30
Organize Backup


Hi all and a Happy New Year !

I want to backup every config file (named.conf, smb.conf, httpd.conf etc ) but I don't know what is the best way to organize them.
Where to backup them? In which format? etc


How do you achieve it?


Thanks,
ddaas
 
Old 01-03-2005, 06:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well there are a dozen different ways to bacup anything... depends what you want to do really. the most effective way is normally to use rsync to maintain an exact clone of /etc. see the rsync howto to setup up a connection with a remote server.

at a more simple level, you can easy tar up /etc and place it wherever you see fit (possbily on a samba / nfs share on a remote machine)
Code:
tar -cjvf /mnt/backups/etc-$(date +%F).tar.bz2 /etc/
this should create a dated file in /mnt/backup of /etc/

i wouldn't restrict yourself to *.conf files btw... there's loads of config files that don't fit into that. /etc/fstab etc...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
better way to organize packages? mma8x Debian 2 11-21-2005 08:21 PM
Organize my music like iTunes? purelithium Linux - Software 1 11-21-2005 12:51 PM
Compaq Organize webwolf70 Linux - Software 6 05-22-2005 04:20 PM
how to organize linux? dr_zayus69 Linux - Newbie 15 09-28-2004 10:06 PM
Organize my mp3-files Soubi Linux - Software 11 03-16-2003 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration