Skip to content

acearchive/db-backup-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

db-backup-worker

This repo is a Cloudflare Worker for backing up the Ace Archive artifact database to Cloudflare R2.

It runs on a schedule once daily at 00:00 UTC.

Deploying this worker requires setting two secrets with wrangler:

  • ACCOUNT_ID: The Cloudflare account ID.
  • API_TOKEN: A Cloudflare API token with Edit access to Cloudflare D1, which is necessary to request a database export.

About

A serverless function which backs up the database to object storage

Resources

License

Stars

Watchers

Forks

Languages