Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-22-2006, 05:55 AM   #1
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Rep: Reputation: 31
Wink Mass backup

HEllo , I am going to format my harddrive completely and re-partition it , i was wondering if there is some way i can save alllllllllll my settings that i have on my current linux distrubutioins ,,, u might say they are petty things but it would be nice if i can BACKUP them , the things are like the history of commands that i ran in kde using RUN COMMAND (alt+f2) my settings of splash screen , amarok settings , my wall paper , taskbar etc etc, i kinda use my root account as i am a single user (i know its a bad habint and i would work on NOT using root account more often ) but for the time being can i save these settings (one wild idea that i have is that i may copy the root folder now and save it on other hd and when i reinstall my linux i paste that root folder there?)

-- also i wanna know if i can create another user account who has the same powers and rights that the root has? how can i do that?
Old 06-22-2006, 06:22 AM   #2
Registered: Jun 2006
Location: UK
Distribution: Ubuntu, Mandriva, Redhat and Fedora
Posts: 118

Rep: Reputation: 15
Most of your settings are kept in your home folder. For root this is normally /root

if you perform a ls -a /root you will see a load of files and directories beginning with a . (which is why you need the -a, as files beginning with a . are hidden).

I'm not sure whether this will get absolutely everything, as some programs may put user configuration elsewhere. It should get most things.

If you intend to copy these into place then you should have the same version of all the software. Results can be a bit unpredictable if not, although they are usually forward compatible this is not guarenteed.

If you want to keep system settings as well as user settings, then these are in the /etc directory, but there are a lot of them.

You can have multiple users as root, but this is a bad idea. If logging in with root permissions then they have no limits and there is no user seperation so why would you want to have a seperate username?
To give another user the same permissions as root then you can set its uid to 0. Effectively it will then be root.

A much better way is to use sudo. Login as a normal user and then using sudo multiple users can have the abilty to run commands as root under sudo using only their own password.
Old 06-22-2006, 06:31 AM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
If you have more than one distro installed, and you want to save the users and root home directories with history/preferences and so on, look at Dar (and the GUI frontend Kdar).

Basically, boot into your primary distro. Mount the partitions which contain user and root directories to save. Configure Dar to backup only those directories/files you want saved. I'd recommend making a seperate backup for each distro. Restoring them will be somewhat easier that way.

Re-install your distros. Then restore the files to their respective distro.
Old 07-29-2006, 02:50 AM   #4
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Original Poster
Rep: Reputation: 31
well in pclinuxos i just found a better way that is REMASTER ... it creates an image (.iso) which one can burn or keep it somewhere and when you install it (by poorman's install) you get all the things the way they were at the time you remastered it :-D
just google for remaster and poorman's install and wooooooohoooooooo


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
Mass log out. Thrifty Linux - General 2 02-16-2004 03:53 PM
Selective backup to CDRW, or other backup methods. trekk Linux - Software 1 11-03-2003 02:46 PM
Mass Rename wickdgin Linux - Newbie 2 04-13-2003 02:29 PM
slacky x-mass :) Tinkster Slackware 5 12-25-2002 07:08 PM
backup and update the backup file doris Linux - General 4 08-24-2002 07:26 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:13 AM.

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