Home > Linux > How to set up automatic backups on Ubuntu

How to set up automatic backups on Ubuntu

Diego Cortés
Diego Cortés
January 21, 2025
How to set up automatic backups on Ubuntu

Maintaining a backup of your files is essential in today's digital world. With Ubuntu, there is a very useful tool called Deja Dup that simplifies this process. In this article, I will show you how to set up automatic backups on Ubuntu using Deja Dup, ensuring that your data is always protected.

What is Deja Dup?

Deja Dup is a backup tool that comes pre-installed in many Ubuntu distributions. It is easy to use and allows users to automatically back up their files and folders. Additionally, it offers features such as data encryption and compression, making the process even more efficient.

Installing Deja Dup

If you do not have Deja Dup installed on your system, you can do so through the terminal. Simply open a terminal and type the following command:

sudo apt install deja-dup

Once installed, you will find Deja Dup in the Ubuntu application menu, usually under "Utilities."

Setting Up Your First Backup

To start using Deja Dup, follow these steps:

  1. Open Deja Dup: Look for "Deja Dup" in your application menu and click on it to open the tool.

  2. Set Up Your Account: If you are using Deja Dup for the first time, you will be prompted to set up your account. This includes choosing a location to store your backups. You can choose to use an external drive, a secondary hard drive, or a cloud service like Google Drive.

  3. Select Folders to Back Up: Click on "Options" to choose the folders you want to include in the backup. Deja Dup will offer suggestions, but you can add or remove folders as you wish.

  4. Enable Encryption: If you want to protect your data, you can enable encryption. Simply select "Encrypt the backup" and enter a secure password that you will remember.

  5. Schedule Backups: Go to the "Scheduling" tab, where you can set the frequency of automatic backups. You can choose to create daily, weekly, or customize the interval according to your needs.

Performing Your First Backup

After you have set everything up, click on "Back Up Now." Deja Dup will begin creating your first backup in the location you previously selected. Depending on the size of the data, the process may take some time. Once completed, your data will be secure.

Restoring Files from the Backup

If you need to recover any files, the process is just as straightforward.

  1. Open Deja Dup and click on "Restore."
  2. Select the backup you want to restore.
  3. Choose the files and folders you need to recover and press "Restore."

This way, you can recover your data quickly and efficiently.

Conclusion

Setting up automatic backups on Ubuntu using Deja Dup is a simple and effective process. Protecting your files and data has never been easier. Don’t forget to schedule your backups to ensure the continuous safety of your information.

If you want to read more news and articles related to technology and security, I invite you to explore more content on my blog. Keep your data safe!

Diego Cortés
Diego Cortés
Full Stack Developer, SEO Specialist with Expertise in Laravel & Vue.js and 3D Generalist

Categories

Page loaded in 24.08 ms