backup

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package backup implements the `dodo backup` command: an online snapshot of the SQLite database, equivalent to `sqlite3 <db> ".backup <dest>"`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) int

Run executes `dodo backup -dump <dest>`. It reads the database path the same way `serve`/`admin` do (DODO_DATABASE_PATH) and writes a consistent copy to dest using `VACUUM INTO`, which is safe against a running server under WAL.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL