Join Scott Simpson for an in-depth discussion in this video Backing up your data, part of Learning Ubuntu Desktop Linux.
It's always important to have a backup of your important data just in case something happens to your computer. Ubuntu comes with a program called Deja Dup. I'll access the setting for it in the Systems Settings window under Backups. I have my external flash drive plugged into my system. And for this movie, I'll use that as my backup drive. If you have a network file server, you can use that as well. The backup needs to live inside a folder. So, I'll give a name for a folder, under Storage Location. I'll choose my external drive, and I'll call my backup folder, backups.
It doesn't exist, so Deja Dup will create it for me. I can choose folders to ignore, in the backup, and also folders to specifically save. I'm going to be saving my whole home folder. But it's going to ignore my trash, and the downloads folder within my user folder. This tilde here represents the user folder in the Unix file system. The scheduling section lets you specify how often to back up, and how far back you want the backups to go. When you've got the settings the way you want them, turn on the little switch. I'll click on the launcher to bring up the Backup window. And it's asking for a password.
You can choose to not have a password, but it's a good idea to set a password. So, I'll do that. You'll need to supply this password when you backup in the future, unless you click Remember Password, and you'll need to provide it when you restore your files. I'll click Continue, and let this run. To restore files you can go through the Deja Dup interface, to get the full contents of your backup. But if you want individual files, there's another way. I'll open up the File Browser and I'll go into my pictures folder. If you right click on a file, you'll see Revert to previous version. That will let you choose an earlier version of the file to restore.
This is handy if you've saved over the wrong file or made a change you didn't like or something like that. Deja Dup will ask you where to restore from, when to restore from, and then give you the ability to click Restore to get the file back. I haven't changed this file at all, but you get the idea. If you delete a file and want to get it back, Deja Dup has you covered there too. I'll delete some of my pictures and I'll even empty the trash. These files are now gone from my computer. Oh no, I needed them. Well, good thing I have a backup. I'll right click in the pictures folder and choose Restore Missing Files.
Deja Dup knows what it's backed up from here in the past. So it knows what's missing. And when it was last seen. I'll select all of these files. Then I'll click Forward. And then, I'll hit Restore. And I can see Deja Dup restoring my files. Of course, backups will only happen if your hard drive's plugged in and your system is on. But outside of that, Deja Dup gives you set and forget backups of your files.
- Installing Ubuntu in a virtual machine
- Installing Ubuntu as your main operating system
- Navigating the Unity Dash
- Exploring the hardware and system settings
- Working with files and folders
- Browsing the web
- Creating documents, spreadsheets, and presentations
- Working with photos in Shotwell
- Backing up your data
- Sharing files