Trying to understand why I hit my 1GB download daily limit

I’ve started to get the 1GB free daily download limit from backblaze. I do a single backup daily, my block size is 100MB.

From my reading it should download a single block each day to verify, but why is it downloading 1G?

Here is what I see in my log file:
Warnings:
Errors:
BackendStatistics:
RemoteCalls: 6
BytesUploaded: 0
BytesDownloaded: 118184807
FilesUploaded: 0
FilesDownloaded: 3
FilesDeleted: 1
FoldersCreated: 0
RetryAttempts: 0
UnknownFileSize: 0
UnknownFileCount: 1
KnownFileCount: 16015
KnownFileSize: 819101494499
LastBackupDate: 8/18/2019 12:00:05 AM (1566100805)
BackupListCount: 232
TotalQuotaSpace: 0
FreeQuotaSpace: 0
AssignedQuotaSpace: -1
ReportedQuotaError: False
ReportedQuotaWarning: False
ParsedResult: Success
Version: 2.0.4.23 (2.0.4.23_beta_2019-07-14)
Messages: [
2019-08-19 00:00:07 -04 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started,
2019-08-19 01:02:03 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: (),
2019-08-19 01:02:33 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (15.64 KB),
2019-08-19 01:18:15 -04 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteRemoteFileset]: Deleting 1 remote fileset(s) …,
2019-08-19 01:28:03 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Started: duplicati-20180818T060001Z.dlist.zip.aes (12.48 MB),

I see that it did download a lot of bytes, but why? I’ve not done any restores over this period of time.

thanks
david

Duplicati will sometimes do a compact operation where it will download and repackage dblock files that now have wasted space inside them due to retention settings. This makes your backups take less space on the back end, but it should probably be disabled if you have a download cap:

--no-auto-compact

1 Like

What happens when the download cap comes into play? I have it set to not download anymore data. It seems that Duplicati completes just fine. Does that mean it successfully compacted some blocks before stopping?

Just wondering if that over time it will work its way through compacting. I didn’t hit the limit at all for the month of July, but did hit it for August, May and June.

thanks

Interesting - I would have expected it to cause an error if Backblaze stopped Duplicati from downloading a file.

You will probably be fine if you just turn off auto compaction. You could compare Backblaze storage cost to the bandwidth cost for downloading data to see if it’s worth it…

If that refers to “BytesDownloaded: 118184807”, that’s just 118,184,807 which seems about right for a 100 MB dblock, a dindex, and a dlist. Verification samples are in sets of these three. See The TEST command.

If you had a compact, it should have stats in this log file somewhere, including its own BytesDownloaded. Delete of a fileset (version) usually precedes a compact (otherwise there’s no point), and it did delete one. Compacting is an ongoing thing. You keep deleting old versions (retention policy), you keep freeing space. Duplicati won’t modify uploaded files (clouds often don’t allow it), so it creates new dblocks from leftovers.

BackBlaze is reporting large daily downloads when using Duplicati shows some ways to do smaller more frequent compacts if that suits you, but first thing to do is to check logs to see if you can find compact info showing it was the culprit, then you do your storage/bandwidth cost comparison if you’re after lowest cost.

Prior to the download I do see compact:
CompactResults:
DeletedFileCount: 0
DownloadedFileCount: 0
UploadedFileCount: 0
DeletedFileSize: 0
DownloadedFileSize: 0
UploadedFileSize: 0
Dryrun: False
MainOperation: Compact
ParsedResult: Success
Version: 2.0.4.23 (2.0.4.23_beta_2019-07-14)
EndTime: 8/19/2019 1:53:29 AM (1566194009)
BeginTime: 8/19/2019 1:28:03 AM (1566192483)
Duration: 00:25:25.7807290
Messages: [
2019-08-19 00:00:07 -04 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started,
2019-08-19 01:02:03 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: (),
2019-08-19 01:02:33 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (15.64 KB),
2019-08-19 01:18:15 -04 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteRemoteFileset]: Deleting 1 remote fileset(s) …,
2019-08-19 01:28:03 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Started: duplicati-20180818T060001Z.dlist.zip.aes (12.48 MB),

and it does appear to have deleted something:
DeleteResults:
DeletedSets: [
Item1: 232
Item2: 8/18/2018 2:00:01 AM (1534572001)
]
Dryrun: False
MainOperation: Delete
ParsedResult: Success
Version: 2.0.4.23 (2.0.4.23_beta_2019-07-14)
EndTime: 8/19/2019 1:53:29 AM (1566194009)
BeginTime: 8/19/2019 1:18:15 AM (1566191895)
Duration: 00:35:13.7515910
Messages: [
2019-08-19 00:00:07 -04 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started,
2019-08-19 01:02:03 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: (),
2019-08-19 01:02:33 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (15.64 KB),
2019-08-19 01:18:15 -04 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteRemoteFileset]: Deleting 1 remote fileset(s) …,
2019-08-19 01:28:03 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Started: duplicati-20180818T060001Z.dlist.zip.aes (12.48 MB),

]

I’m beginning to think there is something wrong with Backblaze notifications. I do a backup everyday starting at midnight. I got the 1GB warning today, for the backup on the 19th. When I look at Backblaze it says my total August download is 1GB.

So if this is correct I can say that the previous 18 backups didn’t download any data? I doubt that. . .

I’m not sure your log section has an actual compact, because the values in it are all zero. My compact:

CompactResults:
    DeletedFileCount: 22
    DownloadedFileCount: 11
    UploadedFileCount: 4
    DeletedFileSize: 133147566
    DownloadedFileSize: 133002431
    UploadedFileSize: 87161636

My not-really-a-compact (values are zero):

CompactResults:
    DeletedFileCount: 0
    DownloadedFileCount: 0
    UploadedFileCount: 0
    DeletedFileSize: 0
    DownloadedFileSize: 0
    UploadedFileSize: 0

If you wanted an independent idea of how much data is downloading, some routers have statistics, and Windows might too. Of course you’d want to do the backup without any other programs reading data…

Does B2 really have a download “limit”? Or are you just talking about the free 1GB/day download?

I also use B2 and don’t remember getting any notifications at all about how much I download. Was looking at their pricing and see that they charge $0.01/GB for downloads (after the initial free 1GB).

I’m just talking about the daily limit.

I filed a support ticket with backblaze asking how my monthly download equals my daily when I know that I do backups everyday at midnight. And if they say last night hit 1GB how did all my other backups complete with 0 downloads.

Their answer was to quote and point to their FAQ (Which I provided in my question). Gotta love first level support.

That’s what I’m confused about… I know I have downloaded several gigs within a day (like when doing a restore)

I got a bit more clarification on the limit.

As the Caps & Alerts are for daily use, will signal daily (or not, if the daily usage was not high enough).

Then, the averages of use over the month are calculated and that is the charge incurred.

I also looked at my latest run and it errored out because it failed to read. I removed my daily alert and it seems to be proceeding nicely. Duplicati is just downloading over a gigabyte of data during the download.

Hopefully this isn’t a daily occurrence.

Dpeart is talking about the 1GB allocation of FREE daily downloads, not a limit on paid downloads.

1 Like

That’s what I was guessing…but each additional GB is only one cent. Not a big deal IMO if it exceeds 1GB/day.