LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2007, 09:24 AM   #1
Harpo
Member
 
Registered: Mar 2006
Location: Canada
Distribution: Suse 10.0 Retail, 10.1, 10.2, 11.1, Edubuntu 7.04, Mandriva 2010
Posts: 89

Rep: Reputation: 15
Where Are Some Files I Would Like To Backup?


Hello

I am looking to backup my computer and would like to know where I can find some files that I should back up. I am using Suse 10.0, with KDE 3.5.

I am using Konqueror and KMail and would like to know where Bookmarks, and my E-Mail files are kept so I can properly back up.

Any help is greatly appreciated.

Thanks
Harpo
 
Old 01-07-2007, 09:30 AM   #2
bobdevis
Member
 
Registered: Nov 2006
Distribution: Ubuntu 64bit
Posts: 49

Rep: Reputation: 15
Turn on 'show hidden files' in your file browser. You will see lots of stuff starting with a dot (.) in your home directory. Those are your personal settings of your programs.
Your Firefox bookmarks are somewhere in /home/yourusername/.mozilla/firefox for example.

The setup is that the programs themselves are in /bin, /lib and /usr among other places. Only root can write there, so all the settings and saved variables of the programs that you use as a user are stored in a hidden dir or file starting with a dot in your homedir.
This way, all users have their own saved variables (like bookmarks and mail, kde look, etc etc) and no user can screw up stuff for others, unless he usees the root password and does something stupid ofcause (:

Last edited by bobdevis; 01-07-2007 at 09:49 AM.
 
Old 01-07-2007, 10:43 AM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
There are 2 things to consider. First there is the specific settings for your user, and also system wide settings. As mentioned, all of your user settings exist in /home/user. If your system has space for it, you could create tar.bz2 backups of your entire home directory, and stick them somehwere else, either on a removable drive, or another location, like /var/backups or anything that suits your fancy.

It is also important on a system wide level to back up the /etc/ directory. That is where configuration for all users on the system are, and also the configs for things like ssh, samba, and nearly everything else reside. Just backing up your home directory is fine if your user account somehow gets screwed up, but if your system dies (hard drive failure, motherboard failure), having etc backed up will allow you to get the exact same system rebuilt very easily.

When I switched desktops about 9 months ago, I did a full tar.bz2 of my home directory, also one of /etc, and one of /usr/local where I compile from source, and using the dpkg tool in Debian, I was able to make a list of every program that I had installed. I installed the new system, used dpkg to reinstall all the same programs from the apt repositories, recompiled the things in /usr/local, replaced all the files in /etc with the ones from my old /etc, and untarred the home directory in the same place. I rebooted, and my new system was identical to my old.

There is also a great tool for making backups, called backuppc. It really is excellent, and can backup other machines on your LAN as well, assuming you have the space to hold the backups. I don't know if Suse has that in its repositories, but I rather expect that it does. That makes backups easy to do.

Peace,
JimBass
 
Old 01-07-2007, 11:04 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
If you have the space (or inclination) you can back up your entire root partition using dd. There's a good article on it in the wiki (http://wiki.linuxquestions.org/wiki/Dd), and there's also an excellent thread here
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
text files and their automatic backup files AGazzaz Linux - General 1 07-01-2006 07:38 AM
How to backup files? yuchen99 Red Hat 6 04-23-2005 09:36 PM
backup files davidleroux1 Mandriva 0 12-01-2004 06:32 PM
help with backup files vince_2x Linux - General 1 09-21-2004 09:11 PM
Your way: Backup - what files, how often, on CD-(RW)? JZL240I-U Linux - General 8 07-24-2003 02:49 PM


All times are GMT -5. The time now is 04:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration