Live data from Hacker News

Kopia: Fast and secure open-source backup software

kopia.io

91–100 of 138 posts

Re: Kopia: Fast and secure open-source backup software

#91
post #55

Earlier quoted context omitted.

Filesystem snapshot for database is not different than database crash. Databases are designed to handle crashes well (WAL etc.).

Unfortunately, this is not true. You need to grab all the DB files (WAL, etc.) in a consistent manner. You can't grab them while writes are in progress. There are ways though. Look at what Kanister does with its recipes to get consistent DB snapshots to get a sense of the complexities need to do it "right."

> Unfortunately, this is not true. You need to grab all the DB files (WAL, etc.) in a consistent manner. You can't grab them while writes are in progress.

Perhaps you could be more specific, because the former is exactly what a filesystem snapshot is meant to do, and the latter is exactly what an ACID database is meant to allow assuming the former.

> Look at what Kanister does with its recipes to get consistent DB snapshots

I looked at a few examples and they mostly seemed to involve running the usual database dump commands.

Re: Kopia: Fast and secure open-source backup software

#92

Earlier quoted context omitted.

Bacula I've tried all of these, and none are as reliable or powerful as Bacula. It's way more complex at first, but you will have peace of mind. And backup/restore speed is way faster. You can even easily setup automatic restore jobs to prove your backups work!

Do you know how Bacula compares to Bareos? Bacula is on my to-do list to look at (also because I need tape backups), but the Bareos fork seems to have a more modern interface - but I've not stress tested either solution. The fact that Bacula has a Debian package and Bareos does not pretty much settles it already, but just curious if someone has actually tried both.

They're nearly identical otherwise, so just choose what works for you

Re: Kopia: Fast and secure open-source backup software

#93

I use Kopia to backup the kids Windows laptops to the home file server over SFTP. The advantages over other options I've found so far: * Can run in a "I haven't done a backup for a while, so I'll do one now" mode when the laptop is awake. * Both laptops can be writing to the same repository at the same time, sharing common files, dedup, etc. Missing: * Only supports VSS via a couple of scripts I couldn't get working.…

> Only supports VSS via a couple of scripts I couldn't get working. Is https://kopia.io/docs/advanced/actions/#windows-shadow-copy not working for you?

No. Didn't seem to be amenable to setting it via the GUI, and all in all just a lot of frigging around. Haven't personally had to use Windows for a decade or so, so argh.

Re: Kopia: Fast and secure open-source backup software

#94
post #4

Any comparisons to Restic? Looks like basically the same thing but with a GUI available. Edit: Found this very ad-hoc "benchmark" from over a year ago claiming that Kopia managed significantly better deduplication than Restic after several backups (what took Restic 2.2GB, Kopia did in https://github.com/kopia/kopia/issues/1809#issuecomment-1067... Edit Edit: Never mind, this benchmark was from before Restic supported…

I just switched over to Kopia as I was not entirely happy with restic, and so far one feature that actually got me by surprise is that Kopia supports reading .gitignore files! So you can tell it to back up your projects folder and it will automatically respect whatever each project has in gitignore. Now that may be possible with restic, but I spent way more time trying to configure scripts and yaml files than actually running backups there.. The GUI does help!

Re: Kopia: Fast and secure open-source backup software

#96

Can someone please help decide what is the "best" backup software? - Restic ( https://restic.net/ ) - Borg backup ( https://www.borgbackup.org/ ) - Duplicati ( https://www.duplicati.com/ ) - Kopia ( https://kopia.io/ ) - Duplicay ( https://duplicacy.com/ ) - Duplicity ( https://duplicity.us/ )

Bupstash ( https://bupstash.io/ ) beats Borg and Kopia in my tests (see https://masysma.net/37/backup_tests_borg_bupstash_kopia.xhtm... ). It is a modern take very close to what Borg offers regarding the feature set but has a significantly better performance (in terms of resource use for running tasks, the backups were slightly larger than Borg's in my tests).

Lacks features like mounting a filesystem as read-only to restore though. I find that makes restoring files much simpler. I'll look into bupstash some more perhaps but right now am very happy with Vorta/Borg.

Re: Kopia: Fast and secure open-source backup software

#97

Kopia is great, though it's worth noting for folks on Linux: non-UTF-8 paths aren't stored correctly [1] and xattrs aren't stored [2]. While most folks probably won't care about the former, the latter can could cause issues (eg. losing SELinux labels makes it difficult to restore a backup of the root filesystem on distros that use SELinux). [1] https://github.com/kopia/kopia/issues/1764 [2] https://github.com/kopia/k…

I wish I could upvote this more than once. Those are omissions that could lead to important information being lost in a way that you probably wouldn't notice when checking your backups.

Re: Kopia: Fast and secure open-source backup software

#98
Borg 2 has been in development for nearly a year and a half [1] and may probably be released early next year, i.e., early 2024 (just a guess, seeing that even RC1 is not yet released and seems to have a lot of work to be done).

Does anyone know how Borg 1.x and 2 would compare to Kopia?

[1]: https://github.com/borgbackup/borg/issues/6602

Re: Kopia: Fast and secure open-source backup software

#100
post #28
post #16

I've been using Kopia for my personal use and for products I have helped build at a couple of enterprise backup companies! It's also used by other open-source backup projects that focus on specific ecosystems (Velero and Kanister for Kubernetes, Corso for Microsoft 365 backup). I am obviously biased but it's pretty amazing. AMA.

Can you compare vs eg Duplicati? Do you (sorry, but just checking) repeatedly test backups? Eg pull monthly and bit verify that they're correct? Are you aware of anyone testing in this way? Thanks so much!

One difference I noticed some time ago is Duplicati allows encryption with GPG keys but Kopia afaik doesn't provide that.
Post reply on HN