script_coldstore

package
v0.0.0-...-485fe8d Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Package script_coldstore exports, verifies, indexes, patches and archives the cold storage of the drop reports (#752), checks it against the production database, and restores the local copy from the backup bucket. See internal/coldstore for the layout of the files, and docs/coldstore.md for how the commands are used.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(depsFn func() CommandDeps) []*cli.Command

Types

type CommandDeps

type CommandDeps struct {
	Config *appconfig.Config
}

CommandDeps is what the commands need. They only read the configuration (the PostgreSQL DSN and the extension directory) instead of starting the app, so that they run on any machine that reaches the database, without Redis or NATS (but coldstore-archive, which takes the Redis lock of the archiving).

Jump to

Keyboard shortcuts

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