News for hackers. Stuff that matters.
Re:Backblaze restore for Personal Backup is awful by andrepew on Sunday December 12, 2021 @05:07PM (#29534149)
I don't like Backblaze because they require you to hand over your encryption key to their website to restore which kills any hope of it being a 0-knowledge solution.

Right now I'm using Arq Backup + S3 and have been happy.

Re:Backblaze restore for Personal Backup is awful by tzs on Sunday December 12, 2021 @05:35PM (#29534394)
I was about to use Backblaze Personal and then noticed that. Was then about to use Arq + Backblaze B2 when I realized that (1) Arq supports OneDrive, (2) I have a TB of OneDrive as part of my Microsoft 365 subscription, and (3) I only use cloud storage for file transfer between mobile devices and desktop, so my OneDrive space was almost all unused, so went with Arq + OneDrive. 3 years of weekly backups later and I've still only used about half of my 1 TB.

The only thing I'm not happy about with Arq is that a "verify" downloads all the backup data to checksum it. That takes 3 or 4 days on my connection.

I thought I read that many cloud storage provider APIs provide a way to ask the server for a checksum of a stored blob. I'd have expected Arq to make use of that, but maybe it is not reliable (the server might just report what the checksum is supposed to be, not actually read the data and checksum it?).

Arq documents their storage format. I wonder if it would be possible to use a VM on Azure to access my OneDrive storage and do the checksumming on the VM?

Re:Backblaze restore for Personal Backup is awful by prirun on Sunday December 12, 2021 @06:59PM (#29535001)
Yes, online storage services do store a checksum of the files. They can use that internally to periodically scrub their stored data. For example, if S3 has stored 3 copies of your file, they can use the hash to distinguish good and bad copies, and replace bad copies. For erasure-coded services like Backblaze B2, they can reconstruct a file using any 17 of 20 erasure segments, so with a known checksum they can figure out which segment is bad, delete it, and use the other segments to generate a replacement. I was told by Backblaze that they do periodically scrub B2 files.

HashBackup (I'm the author) has a lot of ways to verify backups. For B2 uploads, it generates a SHA1 hash before sending the data, stores that in a local database, sends the data with the hash, B2 generates an independent hash of the data, and compares it to the one HB sent. If there is a mismatch, an upload error occurs and the upload is retried.

On download, B2 sends the data and SHA1 hash (I'm assuming it verifies the hash during erasure reconstruction also), HB generates a SHA1 hash for the received data, verifies it against the SHA1 B2 sent, and verifies it against the SHA1 stored when the file was uploaded.

After the upload, files can be verified by:

- downloading the complete file as above, then verifying every block in the file - getting the file size and SHA1 hash from B2 and verifying those against the local database (no data download) - downloading N random samples from each file and verifying the block-level SHA1 for each sample - downloading a small percentage of the files every day to verify the backup over time (this can be done with whole files or random samples)

If a problem is detected and you have other copies of the backup on another storage service or locally, HashBackup's selftest will fetch all copies of a file to reconstruct the original backup data to correct any errors, then upload the corrected file to all destinations.

Re:Backblaze restore for Personal Backup is awful by WayToDoor on Sunday December 12, 2021 @07:51PM (#29535361)
Thanks a lot for your work on HashBackup. I can't recommend it enough. It has been great and working for me for years, no data loss and multiple restores. Top notch documentation too, just a bit sad that it isn't open source so that I could contribute. But the quality is there and it has been really solid for me.
Re:Backblaze restore for Personal Backup is awful by oefrha on Sunday December 12, 2021 @07:59PM (#29535399)
Arq backup to OneDrive used to be very slow since IIRC they were using an old version of the OneDrive API with pretty ridiculous latencies. How is it these days?
Re:Backblaze restore for Personal Backup is awful by sreitshamer on Monday December 13, 2021 @06:07AM (#29538542)
Arq 7 uses the Microsoft Graph API, the one we're supposed to use now.
Re:Backblaze restore for Personal Backup is awful by oefrha on Monday December 13, 2021 @11:23AM (#29540995)
Thanks for the reply!
Re:Backblaze restore for Personal Backup is awful by sreitshamer on Monday December 13, 2021 @06:09AM (#29538555)
The "back up and validate" function only downloads all the data if you're using a storage location that doesn't provide checksums (SFTP or NAS/folder). So, it shouldn't be downloading very much if you're using it with OneDrive. Please email [email protected] so we can follow up on this. Thanks.
Re:Backblaze restore for Personal Backup is awful by tzs on Monday December 13, 2021 @09:53AM (#29540075)
I don't have automatic updates enabled and it has been a while since I manually updated. I just updated and the "back up and validate" menu item is no longer there for my OneDrive backup. It is still there for my backup to a local removable drive.

I see from this Reddit thread [1] that it was removed for storage locations that don't need it a few months ago, saying

> Back Up and Validate is a waste of time and money for any storage location that provides checksums. That's why we removed it. It only causes pain and cost.

My last "back up and validate" to OneDrive was a couple months before you removed it, so it looks like I was just hitting the "waste of time and money" case that prompted its removal.

From the Reddit thread, it looks like the way to do a check that everything is OK on both ends when using a storage provider that provides checksums is to clear the cache and to modify the backup plan (just editing it and saving is sufficient), and then do a backup. The cleared cache makes it get the checksums for everything in the backup and the modified backup plan makes it rescan everything locally. Is that correct?

[1] https://www.reddit.com/r/Arqbackup/comments/n87vuw/missing_b...

Re:Backblaze restore for Personal Backup is awful by sreitshamer on Thursday December 16, 2021 @07:52AM (#29577628)
There's no need to edit the backup plan. As I wrote in the reddit thread, clear the cache and do a backup. Sorry it's not more clear.
Re:Backblaze restore for Personal Backup is awful by summm on Sunday December 12, 2021 @05:58PM (#29534582)
How do they think this could be acceptable?
Re:Backblaze restore for Personal Backup is awful by apple4ever on Monday December 13, 2021 @01:48AM (#29537366)
I switched to Arq after a very bad customer service experience (one they easily could've solved but decided to be jerks about instead)
Re:Backblaze restore for Personal Backup is awful by 0xCMP on Sunday December 12, 2021 @05:46PM (#29534484)
I do the same, but with B2 which is nice cause it can be very cheap.
Re:Backblaze restore for Personal Backup is awful by farski on Sunday December 12, 2021 @06:14PM (#29534689)
Could you give a ballpark figure for how much that costs you, and how much data you're dealing with?
Re:Backblaze restore for Personal Backup is awful by 0xCMP on Sunday December 12, 2021 @09:17PM (#29535824)
like $1-2/mn. For a very long time it was like $1-2/year. for roughly 188gb. has hourly incremental backups of certain files like all my source files (includes things like node modules and etc)

i do a full-full-everyfile backup on occasion to a NAS.

Re:Backblaze restore for Personal Backup is awful by anamexis on Sunday December 12, 2021 @05:50PM (#29534505)
I use Arq with B2, which seems like a happy compromise.
Re:Backblaze restore for Personal Backup is awful by 1123581321 on Sunday December 12, 2021 @05:13PM (#29534196)
I'm a fan of Arq and DIY storage, but how do you handle versioning?
Re:Backblaze restore for Personal Backup is awful by andrepew on Sunday December 12, 2021 @05:20PM (#29534264)
Arq has baked in file versioning unless you mean something else?
Re:Backblaze restore for Personal Backup is awful by 1123581321 on Sunday December 12, 2021 @05:24PM (#29534298)
Ah, of course. Sorry. :)
Re:Backblaze restore for Personal Backup is awful by deadbunny on Sunday December 12, 2021 @05:52PM (#29534524)
Has it ever been marketed as zero knowledge?
Re:Backblaze restore for Personal Backup is awful by Trias11 on Sunday December 12, 2021 @05:10PM (#29534177)
Same.

Arq + Wasabi