Duplicati: Free backup software to store encrypted backups online
duplicati.com
duplicati.com
I'd use restic or duplicacy if you need something that works well both on Linux and Windows.
Duplicati's advantage is that it has a nice web UI but if the core features don't work.. that's not very useful.
Instead, I'd recommend Arq backup.
With compression landing in the most recent Reseic release, I'll probably switch back to that for my servers. Though I'm still keeping Kopia for my clients where I like a GUI once in a while.
I switched to restic and recomned it over Duplicati.
I use Urbackup to back up Windows and Linux hosts to a server on my home network and then use Borg to back that up for DR. I'm currently in the process of testing Restic now that it has compression and may switch Borg out for that.
I've been using borg for a while (successfully, with Vorta as UI on mac) and curious to learn if there is something I've been missing that restic provides.
Borg has issues properly maintaining the size of its local cache and that results in RIDICULOUS amounts of ram being consumed at runtime unless I manually clear the cache out periodically. It also brings in some python package for something FUSE related that constantly vomits a warning to the console on each run on Ubuntu.
I'm still not 100% sold on migrating to Restic. It seems to not suffer the same cache or FUSE problem (since it isn't Python) so far but the overall archive sizes seem to be a bit larger than Borg and I have to pay for every byte of storage I consume.
We just added support for Restic too. Using Nginx with HTTP/2. Fastest combination I've seen so far. So very excited to offer two great options now.
I've had to use it to restore multiple times, and have never had an issue with it. It's saved my ass multiple times. It's always been a set it and forget it until I remember I need it.
That's one thing I can't seem to quite figure out with those solutions. I know there are scripts out there (or I could try my own), but that seems error-prone and could result in failed backups.
I expect an email every day. If I don't receive one, I know there's a problem with email delivery.
restic [...] && curl <heartbeat-url>
and you'll get eventually notified if backup jobs fails too often.Restic is also confusing to me with forgetting snapshots and doing cleanup, I don't understand why that isn't run as part of the backup (or is it? The docs aren't clear).
You don't always want to forget/prune snapshots. Especially if you're using a cloud service like B2. It can easily cost you more to prune than actual storage costs if you're not careful.
See here: https://www.seanh.cc/2022/04/03/restic/#maintaining-your-bac...
and
https://kdecherf.com/blog/2018/12/28/restic-and-backblaze-b2...
On Linux I used cron + email. You can setup postfix such that you use your personal gmail or whatever, then you will be able to do "echo message" | mail -s youremail.com to send an email. They (big email providers) always allow you to send an email as yourself to yourself.
On Windows, I used the native task scheduler (with various triggers like time, lock workstation, idle and so on) and send an email using powershell, which can also send emails using SMTP.
I started with duplicacy and moved to restic.
Encryption is properly implemented.
I'm using it to backup a Firefox profile while I'm using Firefox. It backed up active files as they are being written too! I'm also using it to backup a Veracrypt container file (single 24GB file), and incremental backups worked quite well too.
Thanks for the words of advice, I will keep testing longer before I make the switch.
I did not like and could not trust duplicati to finish backups or restore from them.
And SFTP is SFTP, regardless of the OS.
I've looked around quite a bit too but did you actually use restic and duplicacy?
They've eaten my RAM quite heavily, it caused the machine to freeze up by exhausting the RAM on not that huge data sets and I've stopped using them a year or so ago.
I've come to the conclusion to use Borg and zfs as backup solutions (better to run multiple reliable independent implementations), latter being quite fast by knowing what got changed on each incremental backups as a file system itself unlike any other utilities that need to scan the entire datasets to figure out what got changed since last run.
You can run a 1GB memory instance and plug HDD (far cheaper) based block storage (such as on Vultr or AWS) for cheap zfs remote target. Ubuntu gets zfs running easily by simply installing zfsutils-linux package.
If you need large space, rsync.net gives you zfs target with $0.015/GB but with 4TB minimum commitment. Also good target for Borg at same price but with 100GB minimum yearly commitment. Hetzner storage box and BorgBase seem good for that too.
On Linux, storing the backup repository on a CIFS (SMB) share is not recommended due to compatibility issues.
There seems to be some deeper system level problem with go concurrency:
Granted, the backup itself errors out on in-use files (and just proceeds to the next file), but show me a backup program that doesn’t. Open file handles make backing up rather hard for anything that needs to obey the underlying operating system.
Duplicati has been in desperate need of an extended feature freeze and someone to comb through the forums and github issues looking for critical archive-destroying or corrupting bugs.
"If you interrupt the initial backup, your archive is corrupted, but silently, so you'll do months of backups, maybe even rely upon having those backups" was what made me throw up my hands in disgust. I don't know if it's still a thing; I don't care. Any backup software that allows such a glaring bug to persist for months if not years has completely lost my trust.
In general there seemed to be a lot of local database issues where it could become corrupted, you'd have no idea, and worse, a lot of situations seemed to be unrecoverable - even doing a rebuild based off the 'remote' archive would error out or otherwise not work.
The duplicati team has exactly zero appreciation for the fact that backup software should be like filesystems: the most stable, reliable, predictable piece of software your computer runs.
Also, SSD users should be aware that Duplicati assembles each archive object on the local filesystem. On spinning rust, it significantly impacts performance.
Oh, and the default archive object size is comically small for modern day usage and will cause significant issues if you're not using object storage (say, a remote directory.) After just a few backups of a system with several hundred GB, you could end up with a "cripples standard linux filesystem tools" numbers of files in a single directory.
And of course, there's no way to switch or migrate object sizes...
FWIW: I ran it on 3 separate Windows PCs for around 6 months without any real luck getting it to work consistently.
However the next question would always be which cloud provider to use.
Is OVH cloud archive the cheapest cloud storage for backups in europe? It lets me use scp or rsync, among others.
They are charging(§) $0.011/GB for traffic and $0.0024/month/GB for storage.
So if my total backup is size 100gb and i upload 5gb per day of incremental backups i pay around $2 per month.
--
They had a recent change in pricing ... did you take that into account?
The good thing is you can add more storage. The bad thing is no enterprise class guarantees of course. But having multiple mitigates that.
Backblaze is much cheaper, and can have free egress when using Cloudflare with it.
There is also Storj, a decentralized storage coin and it gives 150 GB for free + $4/TB with free egress matching what you stored.
another one is IDrive E2, it $4/tb, with the first year costing the same as a single month, with egress for free up to about three times the size of what's stored.
Hetzners storage boxes are pretty cheap, but that is for a reason.
The upload speed is pretty slow outside Hetzners network (from my experience) and more importantly is that data is only protected by a single RAID cluster.
They also offer free Unlimited egress.
But I would personally go with Backblaze or maybe IDrive.
OVH may, indeed, be the cheapest.
If you email[1] and ask for the long-standing "HN Reader Discount" you can get $0.01/GB storage and free usage/bandwidth/transfer.
Zurich Equinix ZH4 on init7 pipes.
Depending on your preference either [2] or [3] may be the most compelling aspect of our service.
[1] info@rsync.net
Email us ...
https://borgbackup.readthedocs.io/en/stable/
A good description of how it works and why you should use it is here:
https://www.stavros.io/posts/holy-grail-backups/
Here are a few rsync.net-specific HOWTOs that have been created:
If you don't know, then it's not working. At least that should be your stance on backups.
https://blog.danslimmon.com/2019/07/15/do-nothing-scripting-...
alias taskname='echo "blah. blah... instructions for task..."'
Of course, then I have to remember what nemonnic I used for 'taskname'!Duplicacy has been stable for years now and I gladly pay the commercial license. It seemed like Duplicacy constructs a giant DB of all the files and manages everything that way, whereas Duplicacy's approach is much simpler and is less prone to corruption. The large DB approach seems to fail when the backup set contains a large number of files that many users manage.
Duplicati?
----
These names are always a mess. I half the time quit comparing these tools due to not being able to keep the names straight.
Is there some way to get it to not make as many files?
I now use restic and I'm very happy. I find it to be very resilient. No more database, only indexes and data packs, which can be repaired.
Otherwise a good product and has been reliable enough for us.
* https://duplicati.readthedocs.io/en/latest/appendix-c-choosi...
Many years ago I was a happy user of CrashPlan as the data was also easily accessible, but when they stopped their private user plans I looked into several solutions (Duplicati, duplicacy, and some others too). restic was the only one light enough for me to use consistently, which is a critical thing about backups.
Download Duplicati 2.0 (beta) or Look at 1.3.4 (not supported)
i work at a big tech and see this all the time, if your "new shinny promotion ready" version is not ready, why the hell would you drop support for the old version that works? i'd stay away from any of this products operating by this irresponsible teams.
yeah, i know, lots of biased guesses/views and sentiments on my part but you get how much this angers me.
I just use SFTP.
Works great across all my devices (win, mac, linux).
I wonder if there is any program that does?
- Cross platform (.NET / Mono)
- Incremental backups with compression
- Encryption (AES-256)
- Backup verification
- Block level deduplication
- WebUI
- Lots of backend supported
Wondering how does that compare to https://restic.net/
If you scroll down, below the benchmarks, it lists features and comparisons with other options.
Not a good thing for something that's supposed to run in the background and keep things backed up.
For things like family photos this works really well since if we copy them all over the place across devices, restic will still deduplicate them down to just 1 record when it gets uploaded to Backblaze.
Otherwise, ZFS snapshots are sweet!
That second option works amazingly well and is much quicker, more reliable, and offers more control than Duplicati. But it's much harder and time consuming to set up, requiring timers, scripts and setting up notifictions. For new people self hosting stuff, reliable incremental off site backups can be a right pain. How many poorly tested cronjobs failing to create backups that nobody will take action on are running right now? At least the Duplicati GUI will give you a glanceable GUI showing its failures in backups.
Is restic the best option for Linux backup to B2?
I use restic on servers and Syncthing set to one-way sync for basic folders.
Most of my 'backup' is more like synchronising offline archives. I don't really backup full machines, just the data.
So I'm back to some custom encfs + rsync scripts and pretty happy with that :P
./gocryptfs -reverse plain cipherI prefer this over complex formats created by software like duplicati. This is easier to recover 20 years from now (I just went through that with a USB stick from 2001 :P )
Want to add that I have have used “back in time” for a long time, probably +10 years, recovery has always worked so far.
Only issue is that it does not do block-level deduplication. But it is good enough for my laptop with external harddrive usage.
Windows still seems to be unsupported.
No idea on the rest, but the reason why I discarded it as an option.
https://en.wikipedia.org/wiki/Duplicati
edit: oh boy, need another cup of coffee. im entirely wrong. thinking of duplicacy https://duplicacy.com/ which comes with a slick paid frontend.
It's fully open-source, LGPL licensed, and from the website the only payment options are donations.
Not what I see.
From the website, https://duplicacy.com/buy.html
>GUI/CLI licenses are not required under the following situations:
> - Running the CLI version to back up personal files/documents on a home computer
> - Running the CLI version to restore, check, copy, or prune existing backups on any computer
> - Running the CLI version to back up any files on a computer where a GUI license is already installed
From the repo,
https://github.com/gilbertchen/duplicacy/blob/master/LICENSE...
> Copyright © 2017 Acrosync LLC
> - Free for personal use or commercial trial
> - Non-trial commercial use requires per-computer CLI licenses available from duplicacy.com at a cost of $50 per year
> - The computer with a valid commercial license for the GUI version may run the CLI version without a CLI license
> - CLI licenses are not required to restore or manage backups; only the backup command requires valid CLI licenses
> - Modification and redistribution are permitted, but commercial use of derivative works is subject to the same requirements of this license
Not really open source.