DockHosting Docs
GitHubGitHub
  • Introduction
  • Quick Start
    • Create an Account
    • Create a Project
    • Add a Database
    • Add a Domain
    • Use the CLI
  • Core Concepts
  • Deploying Apps
    • Deploy Lifecycle
    • Frameworks
    • Environment Variables
    • Logs
    • Scale to Zero
    • GitHub Deploys
    • Dockerfile Deploys
  • Databases
    • Engines
    • Create a Database
    • Connect
    • Public Access
    • Firewall
    • Backups
    • Admin Panels
    • Resize
  • Domains
    • Free Subdomains
    • Custom Domains
    • DNS Records
    • SSL
    • Troubleshooting
  • Billing & Tokens
    • Tokens
    • Costs
    • Top Up
    • Auto Top-Up
    • Low Balance
  • CLI
    • dock login
    • dock logout
    • dock whoami
    • dock help
    • dock deploy
    • dock link
    • dock ls
    • dock info
    • dock open
    • dock logs
    • dock start
    • dock stop
    • dock restart
    • dock rm
    • dock env
    • dock run
    • dock shell
    • dock tokens
    • dock context
    • dock update
    • dock completion
    • dock db
  • Reference
  • Troubleshooting
  • Contact

On This Page

  • Create a backup
  • List backups
  • Backup states
  • When to create one
Question? Give us feedback →Edit this page
DatabasesBackups

Backups

Backups protect database data from accidents and bad deploys.

Create a backup

From the CLI:

dock db backups create production

From the dashboard, open the database and use the Backups tab.

List backups

dock db backups ls production

Backup states

StateMeaning
pendingBackup was requested
runningBackup is being created
completedBackup is ready
failedBackup did not finish

When to create one

  • before migrations
  • before destructive imports
  • before deleting large data
  • before changing database settings
FirewallAdmin Panels

Copyright 2026 DockHosting dockhosting.dev contact@dockhosting.dev