[quote=“miltownkid”]OK, now I’m at over 90% Linux usage and have taken time to setup different things and don’t want these settings lost.
I was thinking I could compress my home directory and be done with it, but when I did a google search I saw something about “rsync”.
I’m sure I’ll research it some more, but what is a good system for backing up in Linux? What do you do?
What I’m going to want to do soon is repartition my drive and make the Windows partition really small and the rest a Linux one, so I’ll have a chance toput the system to the test
.[/quote]
Most of your individual settings are in your home directory in the form of hidden files and directories all starting with a dot, like .kde, .mozilla, etc. You could get a listing of them like this:
==============================
ls -d .[a-zA-Z]*
.AbiSuite .gconf .mailfilterrc .tecla
.DCOPserver_sonic_:0 .gconfd .mcop .thumbnails
.DCOPserver_sonic__0 .gftp .mozilla .tzap
.ICEauthority .gimp-2.2 .mplayer .wine
.Xauthority .gnome .muttrc .wmrc
.Xdefaults .gnome2 .nano_history .xcdroast
.acrorc .gnome2_private .nautilus .xcin
.bash_history .gnupg .nessus.keys .xemacs
.bash_profile .gqview .nessusrc .xfce4
.bashrc .gramps .openoffice .xfdeskmenurc
.calendar .gstreamer-0.8 .procmailrc .xfwm4rc
.cddb .gtkrc .qt .xine
.config .gtkrc-2.0 .recently-used .xinitrc
.czap .htoprc .registry .xmms
.dillo .icewm .saves-27023-sonic .xpde
.dmrc .kaxtv .spamassassin .xscreensaver
.emacs.d .kde .ssh .xsession-errors
.fetchmailrc .kderc .sversionrc .zshrc
.fetchyahoorc .larswmrc .sylpheed
.fonts.cache-1 .links .szap
=================================
If you just want to back up these files/directories, you could do it with a single command:
tar -cvf myfiles.tar .[a-zA-Z]*
This will create a file “myfiles.tar” which you could copy to a CDR or some other backup media. To restore these files, you’d place the tar file in your new home directory, and type this:
tar -xvf myfiles.tar
Tar files can be compressed. Same syntax, but add a “z” option, and name the archive *.tar.gz:
tar -zcvf myfiles.tar.gz .[a-zA-Z]*
And to restore:
tar -zxvf myfiles.tar.gz
Of course, if all your data files will fit onto a 700MB CDR, you could just make an ISO of your home directory and burn a CD. No need to create a tar archive.
Hope this doesn’t sound too muddled.
cheers,
DB
P.S. There is some nice point and click backup software around for Linux, but I’ve never used it - “tar” is kind of old Unix, but it works.