Contribute to gilbertchen/duplicacy development by creating an account on GitHub. This option is mainly for the web GUI which currently doesn't have a way to specify the. Duplicacy Web Edition will store the secure token derived from this password, instead of the password in plaintext, in the OS-specific password storage such as Keychain or Keyring. If such a password storage isn't available, Duplicacy Web Edition will ask you to enter this password on every restart. Duplicacy: A lock-free deduplication cloud backup tool Duplicacy is a new generation cross-platform cloud backup tool based on the idea of Lock-Free Deduplication. Our paper explaining the inner workings of Duplicacy has been accepted by IEEE Transactions on Cloud Computing and will appear in a future issue this year.
Duplicacy Web Edition
This is the full-featured web-based GUI frontend supporting all major operations (backup, restore, check, copy, and prune) as well as other features such as scheduling and email notifications. It also integrates a dashboard to provide a graphical view of the status of storages and backups.
This version can be used without a license if you only need the restore, check, copy, and prune operations. If you do need to run backups, a fully functional 30-day trial license will be automatically downloaded to enable the backup operation. After 30 days, a personal or commercial license can be purchased from the licenses page.
File name | Type | OS | CPU | Size | SHA256 Checksum |
---|---|---|---|---|---|
duplicacy_web_installer_win64_1.5.0.exe | Installer | Windows | x64 | 13,322,608 | 3d2c49b5efad255eaac77723f2f47eb16e837a285bba5cc552760f45b828a108 |
duplicacy_web_osx_x64_1.5.0.dmg | Installer | macOS | x64 | 15,581,392 | b6a565cdb1987bc1804ca9b067fca98ad04bf86b9a42c6ce031a36ea38b64706 |
duplicacy_web_linux_x64_1.5.0 | Executable | Linux | x64 | 31,469,417 | 1a28c214493c69c1a7e65dfc985e95cacda246935ca5e2541e2014cc8e2a9678 |
duplicacy_web_linux_arm64_1.5.0 | Executable | Linux | arm64 | 30,411,123 | 9a3f3021a8959034d962d17d11ffe62ef63cd2244e87fea8f56af566f1ff1f9f |
duplicacy_web_linux_arm_1.5.0 | Executable | Linux | armv5 | 26,934,188 | 0aa1e18080cccb2e9adf6509eaf1cb66ae61fb618dc5c1f0225550ef74ec39f1 |
duplicacy_web_freebsd_x64_1.5.0 | Executable | FreeBSD | x64 | 31,023,557 | 9ccddce135c924b50999a37572d822eb2d0681a00ca9366c400990e68de0f375 |
duplicacy_web_win32_1.5.0.exe | Executable | Windows | i386 | 27,174,400 | 69343350560867367fe18589a41ebad1cbfd5d8a0ff6a8dd7a53035c35418d67 |
Release notes for version 1.5.0
Duplicacy Web Edition
Native GUI
This is the old GUI version with a native look-and-feel (based on wxWidgets). It was designed as a simplified frontend to the command line version so it only supports limited operations (backup, restore, and prune). It is currently being deprecated and will be only updated for major bug fixes.
File name | Type | OS | CPU | Size | SHA256 Checksum |
---|---|---|---|---|---|
duplicacy_installer_win64_2.1.2.exe | Installer | Windows | x64 | 11,672,912 | c67072a4b5c286d92ebd7240c7ffca51888e73ecc311fed88345d47662b1c41c |
duplicacy_gui_osx_2.1.2.dmg | Installer | macOS | x64 | 14,716,302 | c9343d7c82d9f5e632b4f3de9e4a2439849f861ab7c6e4d754ea8e945f776a4f |
Command Line Version
Duplicacy Web Edition Login
The command line version serves as the engine to perform all operations for the GUI versions. It can also be invoked directly from the command line or from a script. It is free for personal use, while commercial use requires a CLI license.
The command line version can be downloaded from our github repository.
The best backups are automated (hence frequent), versioned (so you can recover deleted or hacked files) and off-site (no worries about disasters).
To set them up you’ll obviously need somewhere to store them, and the good news is if you have an Office 365 subscription you already have 1 TB of free OneDrive storage that is probably largely unused. (Other cloud providers can also be used.)
Unfortunately, most control panels can’t use this sort of cloud storage. This is where Duplicacy comes in – it’s fast, efficient and secure, available for Linux, OSX and Windows and the command line version is free for personal use. The catch is it’s a bit tricky to set up and the documentation is sparse, so that’s what this post is about.
This post is specifically about backing up websites from a linux server to OneDrive – for backups from Windows see our earlier post.
Initial set up
First, we need to download the latest version of the command line executable appropriate to your operating system. For 64-bit Linux at the time of writing this is duplicacy_linux_x64_2.1.2. The first sentence of the Quick Start quide says “Once you have the Duplicacy executable on your path…”, so we’ll start with that.
Connect to your server console via SSH using a program such as PuTTY (from Windows) or Terminal (from OSX). You will need root privileges to do most of the steps below. If you are a “sudo” user you can use this command to become root temporarily:
You can use the following commands to download the Duplicacy program to /usr/local/bin and make it executable. For convenience, we’ll rename it to “duplicacy” as well.
![Duplicacy web edition free Duplicacy web edition free](/uploads/1/3/4/8/134897969/189936105.jpeg)
If you now type this simple command
you should see a version number and a list of options.
The next step in the Quick Start guide is “…change to the directory that you want to back up” (which they confusingly call the “repository”). Let’s assume you want to back up everything under the /home directory.
Next we need to create a directory on OneDrive for storing our backups, and obtain authorization to use it. Using a web browser, log in to onedrive.com and select Files > New > Folder and give this folder a suitable name, such as “Duplicacy”.
![Web Web](/uploads/1/3/4/8/134897969/264451890.webp)
You probably don’t want to synchronise this new folder to your PC, so if you use OneDrive on Windows, open your OneDrive settings (taskbar > cloud symbol > More > Settings):
Then click “Choose folders” and make sure the new backup folder is NOT selected.
Next, visit https://duplicacy.com/one_start in a web browser and click “Download my credentials as one-token.json” (links for other storage providers are here). Upload this to the “repository” location on your server (e.g. /home). You can do this using WinSCP (Windows) or Transmit (OSX).
Finally you need to choose a “repository id” to identify this computer. A good choice would be the hostname (it must only contain letters, numerals, dashes or underscores). Let’s call it “server1”.
Putting this all together, we can now initialise Duplicacy with the following command:
You will be asked “Enter the path of the OneDrive token file (downloadable from https://duplicacy.com/one_start):” and the answer will be the filename and location you used above, for example:
Duplicacy Web Edition Download
To save having to enter the token location every time you run duplicacy, you can save its location in the preferences file. The command to do this is described on the Managing Passwords page of the wiki. You can move your token file inside the .duplicacy folder which has been created, and set the permissions so that only root can read it.
Making backups
To specify the files to back up, you must create a text file called filters in the .duplicacy folder. The rules are specified here and can be quite complex but here’s a simple set of rules that will work on most Linux servers:
You can test them with the command
You’ll probably want to back up your database contents as well. On Ubuntu you can install automysqlbackup to do this (yum has no equivalent but you can install it manually from that link).
By default the database backups are created in /var/lib/automysqlbackup – you can change that so they are inside the /home directory simply by editing the configuration file /etc/default/automysqlbackup and setting BACKUPDIR=”/home/databasebackups” for example.
When you’re happy that the right files are being included, run the command
to start your first backup. Depending on the speed of your internet connection this could take several days to complete! Don’t worry, it will be much faster after the first time.
To schedule regular backups at five minutes past the hour every hour, set up a cron job using this command to edit your cron table
and add a line like this:
Pruning old backups
Duplicacy includes a prune command for keeping the backup size under control. Their example scheme is quite sensible and can be run as a daily task:
It basically means keep no backups older than a year, only monthly backups after 6 months, only weekly backups after a month, and only daily backups after a week.
To run this command once a day at 6:30 am, use a crontab entry like this:
Duplicacy Web Edition Free
Restoring files or directories
If the worst happens and you accidentally delete some files, you need to use the Duplicacy restore command. First you have to find which revision number you want. If you know roughly when the problem occurred, the command
will show you a list of revisions and the dates and times they were made. Alternatively, you can use the “duplicacy history” command to see when changes were made to a particular file or directory, or the “duplicacy diff” command to compare two snapshots or two revisions of a file. Once you know the revision number, you can use the command
to restore a folder or file to its original location. For example, if you wanted to restore revision 42 of folder mysite and all its contents, the command would be
Duplicacy Web Edition Pdf
There are other options shown in the documentation. By default, any existing files in the folder you are restoring to will not be overwritten or deleted.