An open API service indexing awesome lists of open source software.

https://github.com/xtuc/kv-backup

Copy the content of a Workers KV locally
https://github.com/xtuc/kv-backup

Last synced: about 1 year ago
JSON representation

Copy the content of a Workers KV locally

Awesome Lists containing this project

README

          

# Workers KV backup

Copy the content of a Workers KV namespace locally.

## Usage

```
python3 ./backup.py --api_token=... --cf_account_id=... --kv_namespace_id=...
```

Flags:
- `api_token`: Cloudflare's API token (Permission: Workers KV readonly)
- `cf_account_id`: Cloudflare's Account ID
- `kv_namespace_id`: Workers KV's namespace ID
- `dest`: Optional, backup location (default is `./data`)