Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I've got so many individual program config files in my user account, Im thinking it maybe better to backup the whole user home folder. A good idea or no?
sorry I didnt mean backup the whole of the /home directory, I meant a specific user folder within the /home directory.
You shouldn't feel the need to apologise, lighter973. Your opening post made it fairly clear what you were talking about (my emphasis):
Quote:
Hello, I've got so many individual program config files in my user account, Im thinking it maybe better to backup the whole user home folder. A good idea or no?
Just so I'm adding to the conversation, yes, I think that it's a good idea to back up your user's home directory just in case. It's also a good idea, in my opinion, to make regular images of your root, home, data and other partitions (depending on how you've set these up of course) to allow quick "roll-back" in case of system breakdown or infection.
If you have your operating system on a hard disk drive (hdd), then of course the hdd could die after you've had it for some years.
In that case, it helps to backup the whole /home folder on a newer hdd.
Of course, you can backup to a new solid state drive (ssd) instead. However, an ssd is a lot more expensive.
What I do is to install a full linux operating system (OS) onto a cheap 16gb USB flash drive.
Then backup the /home folder from your hdd onto the OS on the usb flash drive.
This way, if the hdd dies then your /home folder still survives on your cheap flash drive.
Of course, you don't need to install an OS onto the usb.
You can just create several partitions on the usb which will hold newer versions of your /home folder.
This is because you will add/delete stuff in your /home folder each month.
The reason I install a full linux OS onto the usb is because... I have a new OS! I can install different programs, different browsers etc. The distro can even be different!
establishes a base backup of root that can be incrementally backed-up however, when I've tried the incremental backups tied to the base, they tend to be almost as large as the base so I may have something wrong in the rsync script - had to abandon incremental backups as run out of disk space, in lieu of deleting base backups no longer needed and running the rsync above (new base / backup). This does not backup $home.
Hello, I've got so many individual program config files in my user account, Im thinking it maybe better to backup the whole user home folder. A good idea or no?
I suggest backing up as much as possible. The limiting factor is how much space you have available for your backup files. I backup everything on my main operating system and data partition every day. I backup my secondary operating system and data partition once a week. For both backups I keep three generations of backup. Using rsync, a backup (after the initial backup run) takes about two minutes and while a backup is running I usually browse the Internet in a different desktop.
I have been doing this style of backup for fifty years on a variety of hardware and operating systems and I have never been in the position of trying to scrape the data from a lost file off a hard drive.
Learning and using rsync is always good. For full-system backups, I use and recommend rsnapshot, which uses rsync to build and maintain delta backups as configured. I do daily, weekly, and monthly backups to an off-site server dedicated to that purpose.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.