Skip to content

d1-dump

Backs up each table of a D1 database, keeps the backups on a schedule, and drills the restore.

Ring
Shared parts
Kind
plumbing
Visibility
Public
Parts
1
Connections
10

How it connects

Inside d1-dump

d1-dump in the network

Used by 9

Inside d1-dump

Runs

  • d1-dump CLI

    Node CLI

    d1-dump CLI The restore drill: restores a downloaded dump into local SQLite, or a scratch D1 over the REST API, and checks it.

Uses 1

Its riskiest functions

The five functions with the highest CRAP
FunctionModuleComplexityCoveredCRAP
mainsrc/cli.ts220%CriticalCRAP 506
drillFilesFromBucketsrc/node.ts3686%CriticalCRAP 39.3
backupFilessrc/files.ts3693%CriticalCRAP 36.4
dumpDatabasesrc/dump.ts2698%WatchCRAP 26
runRestoreDrillsrc/drill.ts2392%WatchCRAP 23.3

Every module