LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-02-2006, 05:11 AM   #1
dannybuntu
Member
 
Registered: Nov 2006
Location: Manila, Philippines
Distribution: Kubuntu, Debian
Posts: 50

Rep: Reputation: Disabled
How do I backup most of my apps and settings in Kubuntu


Which folders do I specifically copy to my second hard drive to do this?
 
Old 12-02-2006, 09:07 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Generally (but this can be done otherwise if somebody wants to) application settings are stored in a file/files, which reside under your home directory (personal settings) or in some higher directory like /etc (system-wide settings). To copy your personal files and settings you'd just copy your home directory (called usually /home/yourusername/ or shortly ~ or as an environment variable $HOME). To copy system-wide settings you will need to know for every application where it saves it's own settings (usually, like I said, in /etc). Applications you don't need to backup, since they can be (in most cases) reinstalled from the web, or if you have compiled them yourself, the code should be somewhere. If you've created your own apps, you do know where you saved the code

If you just wish to do a rough backup and have a lot of space and are ok with the fact that not everything might be backup'd (well if you want everything, just use dd to create a one-to-one copy), you copy

- your home directory (/home/yourusername)
- the files in /etc/ directory (config files there are usually text files)
- if you wish to save your bootloader settings, it's /boot/grub/menu.lst for GRUB or /etc/lilo.conf for LILO (usually).

Just keep in mind that some programs might, for some reason, save their settings some place else.
 
Old 12-02-2006, 07:53 PM   #3
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Try this:
Howto: Backup and restore your system!
 
Old 12-03-2006, 04:58 AM   #4
dannybuntu
Member
 
Registered: Nov 2006
Location: Manila, Philippines
Distribution: Kubuntu, Debian
Posts: 50

Original Poster
Rep: Reputation: Disabled
Thanks, so er, in noob speak that means that if I want to retain everything I want:

1. applications
2. application settings - ie: the filter configuration on my email app - Kontact
3. Email files
4. Other files that I keep on my desktop

I should copy the home directory and the etc directory.

Cool
 
Old 12-03-2006, 10:36 AM   #5
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Actually, I think most applications live in /usr, not /etc.

Maybe I'm wrong about that, though.
 
  


Reply



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
Backup Apps for a DAT 20/40? joewee Linux - Software 7 10-19-2006 09:58 PM
lost internet connection, settings? - kubuntu 5,10 saf4 Linux - Networking 3 08-10-2006 01:24 AM
Can't find NVIDIA-Settings.desktop in Kubuntu 5.4 TitaniumTaz Ubuntu 1 08-08-2005 10:55 AM
Where are settings for apps saved? vbmark Mandriva 1 11-19-2004 08:58 AM
Font settings for non-KDE apps Mikirivo Linux - General 0 08-05-2002 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:04 AM.

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