Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 2858  / 2 Years ago, mon, may 23, 2022, 6:50:52

Update: Thanks to Organic Marble's answer I went with Timeshift. I ran into a few difficulties, so I made an answer outlining how to restore to a new drive, in case others run into the same issues.




I want to be able to make backups of my Ubuntu install automatically, during normal use. It's important that this is an automatic process because I'm not going to remember to regularly boot into another environment to make a backup. This rules out most of the things I see suggested, like using dd, or CloneZilla, or gnome-disks.


I'm currently using the Déjà Dup Backup utility that comes with Ubuntu 20.04 to back up my files automatically, but if my hard drive fails I'm afraid I'll be doing a lot of work to get my environment set back up again.


I'm open to creative solutions that give me automatic full-system backups, even if they involve booting into another environment, as long as they happen automatically during my normal daily use.


For example, running my main OS in a virtual machine, and automating snapshots and backups of those VM files. I've seen this suggested offhand in a comment, but don't know how realistic a solution it is.




Edit:



  • My main concern is hard drive failure. I need to be able to restore onto a new drive.



  • All I use the device for are personal coding projects. I don't do any hosting or anything from it.



  • It's important to me that all of my installed software and configuration is backed up, not just my files.



  • In the title I mentioned Macrium Reflect. The features I find desirable from that software is that it runs on the same drive that it's backing up, automatically, and makes an image that can be completely restored even onto another drive.


    Ideally, I'd like to back up my system such that after restoring onto another drive, I could type localhost/currentproject into my address bar, and have my current project load. Or open my IDE and see all of my project files. I want it to feel as though my drive never failed.




More From » 20.04

 Answers
5

Timeshift is pretty powerful and is included in the Ubuntu universe repo.


Plusses:



  • It runs in the background at a frequency you specify.



  • It actually works ...I had been doing Timeshift backups for years, but had never done a restore until last week. It restored my system perfectly...but kind of reset my desktop environment...but that is what Deja-Dup is for. Between the two of them, it seems to cover most cases.




Minuses:



  • You can't back up over the network. Backing up to the physical drive your system is on is kind of dumb...so this is OK for multi-drive systems but not so good for, e.g., laptops. For small single disk desktop systems I stick a 64G USB in the back and set Timeshift to back up to that.


[#932] Monday, May 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
damomnning

Total Points: 422
Total Questions: 90
Total Answers: 106

Location: Mali
Member since Thu, Aug 13, 2020
4 Years ago
damomnning questions
Sat, Jul 31, 21, 23:11, 3 Years ago
Sat, Oct 15, 22, 15:50, 2 Years ago
Tue, Sep 7, 21, 20:23, 3 Years ago
Fri, May 12, 23, 15:20, 1 Year ago
;