Duplicati for Linux
Duplicati is an open-source backup software for Windows, macOS, and Linux. Glesys Archive storage can be used as the backup target.
To run Duplicati on Linux (we use Debian 12 in this example), download the .deb package from the Duplicati website and install it with sudo apt install ./package-name.deb.
wget https://updates.duplicati.com/stable/duplicati-2.1.0.5_stable_2025-03-04-linux-x64-gui.deb
sudo apt install ./duplicati-2.1.0.5_stable_2025-03-04-linux-x64-gui.debWhen the installation is complete, start your first backup using:
duplicati-cli backup ftp://[user]:[password]@[archive-server]/[optional subfolder] [path to what you want to backup]For example:
duplicati-cli backup ftp://cl12345_user:UFjDdnBM2uQMHeNg@archive0c.glesys.com/backup/user/ /home/userTo protect your data, Duplicati encrypts it before sending it out, so you now need to choose a password. Write it down and store it securely—you’ll need it later if you ever want to restore your backup.
Duplicati will now make a full copy of your data. Each subsequent run will create an incremental backup that only includes the changes.
Read more about the backup process on Duplicati’s website.
To schedule a backup to run every night, add the following line to your crontab:
0 0 * * * duplicati-cli backup ftp://[user]:[password]@[archive-server]/[optional subfolder] [path to what you want to backup] --passphrase="MyS3cretPassWorD" >/dev/null 2>&1To restore an entire folder, use the restore command:
duplicati-cli restore ftp://[user]:[password]@[archive-server]/[optional subfolder] --restore-path=/tmp/restore/This will now restore the entire backup located in the path you chose to /tmp/restore.
Last updated
Was this helpful?