# Fdbbackup to backblaze b2 / cloudflare r2?

**URL:** <https://forums.foundationdb.org/t/fdbbackup-to-backblaze-b2-cloudflare-r2/3348>\
**Category:** Using FoundationDB\
**Created:** [May 31, 2022, 12:46pm UTC](https://forums.foundationdb.org/t/fdbbackup-to-backblaze-b2-cloudflare-r2/3348 "2022-05-31T12:46:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ide5kllc](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/ide5kllc/32/1354_2.png) [@ide5kllc](https://forums.foundationdb.org/u/ide5kllc)\
**Post date:** [May 31, 2022, 12:46pm UTC](https://forums.foundationdb.org/t/fdbbackup-to-backblaze-b2-cloudflare-r2/3348/1 "2022-05-31T12:46:29Z")

</div>

I have a basic fdbserver + backup\_agent running. I can do local backups via `fdbbackup file:///` without a problem.

I am trying to backup to either cloudflare r2 or backblaze b2, but despite reading the docs of `fdbbackup --help`, I am having trouble constructing the right URL.

Does anyone have fdbbackup to cloudflare r2 / backblaze b2 working? If so, can you, after replacing api\_key with XXX and secret\_key with YYY, post your script?

I am running fdb 7.1.x.
