Daily schedule
Run automatically on the configured schedule.
Workflow template
Export a selected prefix with binary values, metadata and absolute expiry times. Store a dated JSON file in a private R2 bucket.
How it works
Run automatically on the configured schedule.
Export matching keys, binary values, metadata and absolute expiry times to a JSON file for restoration.
Run the R2 S3-compatible PutObject operation.
Before activation
Connect Workers KV, choose the source namespace and enter a prefix such as routing:. Use a separate prefix for configuration that must be restored together.
Connect R2 and select the backup bucket. Each schedule occurrence produces a distinct JSON object under kv-backups/. Choose a quiet time because a prefix export reads keys over several requests.
Open a test archive with your R2 connection. Entries include the key and a base64 value, plus metadata and absolute expiration when present. A narrower prefix is needed if the export exceeds 5 MiB or 10,000 keys.
Choose a separate empty KV namespace. Skip entries that have expired, write the remaining rows with Write a batch of keys, and compare restored bytes and metadata with the originals.
Save a dated BIND zone file in a private R2 bucket.
View template →Publish a checked table of same-site redirects in one KV write.
View template →Export database schema and data as SQL and save a dated copy in the selected R2 bucket.
View template →Post a daily report of object counts and bytes in one selected R2 bucket, grouped by storage class.
View template →