Creating backups with Duplicati backup software
First Backup
To create the configuration for a backup, first create a folder on the target that will store the backups. You can save all the backups in a single folder or create a separate directory, including subfolders, for each backup to ensure a better overview. In testing, I created backups on an external drive, on Google Drive, and on a web server via WebDAV.
For example, to store a backup on an external SSD in the Duplicati/
folder you created earlier, click Add Backup and decide in the first step whether you want to create a new configuration or use an existing one. You will typically choose a new configuration here. After clicking Next, you will see five items in a bar at the top that guide you to the finished backup. They are titled General, Destination, Source Data, Schedule, and Options and are largely self-explanatory.
Use General to assign a name and, optionally, a description for the backup. You can then choose a cryptographic method, for which you need to provide a passphrase. The following applies: The stronger the password, the better the encryption. Alternatively, you can disable encryption. In the next step, select the target (Figure 1) and click Test connection. Assuming the software can access the target, you can press Next to continue.
The third step is to select the source data (Figure 2). The data can be filtered by predefined criteria to exclude files from the backup. You then need to define a schedule that determines the backup frequency. If the tool misses a specified backup time, for example, because the computer was not switched on or the target was unreachable, Duplicati automatically catches up at the next opportunity.
In the final step (Figure 3), you need to determine the size of the chunks that Duplicati uses to store your data and specify how many backups you want to keep and for how long. The Backup retention option takes this decision off your plate and meaningfully reduces the number of backups it keeps as the backups become older.
Now save the configuration, which will then appear in Home (Figure 4). You can trigger a backup manually or simply wait for the first scheduled backup to happen. A drop-down box lets you display additional options for each backup. Among other things, you can view a logfile of the various backups in this way (Figure 5).
Google Drive
The procedure for backing up to a directory on Google Drive is not that much different from backing up locally. Select Google Drive as the target and specify the path along with the folder you created for the backup earlier on. Then click on AuthID to establish the connection between Duplicati and Google Drive (Figure 6). The rest of the procedure follows the steps for a local backup (Figure 7).
WebDAV
A Nextcloud instance on a remote web server accessible via WebDAV is another potential target. It makes sense to create the duplicati folder up front (Figure 8). For the backup, select WebDAV as the storage type and check the Use SSL box. For the Server and port, enter, for example, nextcloud.example.com
followed by a path, such as remote.php/webdav/duplicati
. You can usually leave out the port. After entering the username and password for Nextcloud, first check the connection and then start the backup (Figure 9).
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.