LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-09-2018, 09:03 AM   #1
actinide
Member
 
Registered: Jan 2012
Posts: 333

Rep: Reputation: Disabled
Backup software settings


How do you go about backing up program settings. I want to reinstall
the OS without the added hassle of reconfiguring every application.
 
Old 04-09-2018, 09:09 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by actinide View Post
How do you go about backing up program settings. I want to reinstall
the OS without the added hassle of reconfiguring every application.
Such config files are usually stored in your "home" folder, in a hidden folder, that's name start's with a "."

For example; /home/james/.mozilla/firefox/ would be where on my PC Firefox stores it's settings for my user account. Hope I understand your question correctly.
 
Old 04-09-2018, 09:19 AM   #3
actinide
Member
 
Registered: Jan 2012
Posts: 333

Original Poster
Rep: Reputation: Disabled
Can you recommend a program that can save all my application settings so i can reinstall the OS.
 
Old 04-09-2018, 09:34 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by actinide View Post
Can you recommend a program that can save all my application settings so i can reinstall the OS.
I usually just manually copy the folders, rather than use a program per say.

Have a look at the following link: https://wiki.archlinux.org/index.php/Dotfiles

And also, if you have found something helpful, it would be nice to know, would you be able to mark anything you've found helpful?
 
Old 04-09-2018, 02:07 PM   #5
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by actinide View Post
Can you recommend a program that can save all my application settings so i can reinstall the OS.
The question is why do you want to reinstall your OS in the first place? Config files are scattered all over the file system, some are in your $HOME, some in /etc. You can easily backup whole operating system with rsync before reinstalling it so that you can always restore your previous settings and data. I would definitely do that.
 
Old 04-09-2018, 05:35 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
The simplest way to achieve your goal is to have a separate /home partition. As mentioned above the user-centric modification are usually under /home in hidden files. I have used this on different releases and gone back to the previous release - all worked fine.
If you have manually updated things like the grub default file, you will have to re-apply those changes yourself. And of course you will have to re-install any packages you have selected - note that your settings for those will also be picked up ok.
 
Old 04-09-2018, 06:34 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
I back up the following directory trees daily, with rsnapshot. The idea is to capture configuration files, but I also get log files, user emails, all web content, etc.
Code:
etc
/home
/root
/service
/usr
/var
rsnapshot does incremental backups using rsync, so, with 7 daily 4 weekly and 1 monthly backup, they take up 50G on the backup server.
The production server shows 39.4G used, of which 38G is being backed up.

I agree that /home and /var (for web content) is mostly sufficient, but /etc contains many important files (doh!) and I use daemontools, so /service is important.

Check out rsnapshot.
One caveat: Out of the box, rsnapshot puts the backups in a hidden directory at /.snapshots...on my backup server, the / partition is 50G, so I nearly ran out of space before I reconfigured to backup to a directory under /home (which is 411G on that box)

Last edited by scasey; 04-09-2018 at 06:36 PM.
 
Old 04-09-2018, 10:54 PM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I always reconfigure everything except email and browser. Otherwise, I forget how to do it. And old configuration files aren't always compatible to the new program versions. I also keep the old firewall script, and any custom programs.
 
  


Reply

Tags
app, linux, software



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
Possible to Backup my Caja settings? linustalman Linux - Software 1 08-24-2016 06:24 AM
how to all my backup files and settings Shadowmeph Linux - Newbie 3 03-31-2014 03:07 PM
backup of kalarm settings thirteen_engines Slackware 5 05-28-2010 03:07 PM
Windows Backup Software (diff backup without archive bit) nkhajanchi.mg@gmail.com Linux - Software 4 09-09-2009 09:29 AM
Backup Data and Settings Goofy180173 Linux - Desktop 1 11-15-2007 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:18 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