文件名称:pg_reloaded:一个简单的工具,可帮助管理员定期还原PostgreSQL数据库
文件大小:54KB
文件格式:ZIP
更新时间:2024-03-31 06:50:17
Go
PG重装 pg_reloaded是一个对恢复数据库很有用的程序。 您可以使用它来刷新在线演示数据库,开发数据库以及使用后可能要重置数据的任何位置。 您计划要从备份还原数据库。 安装 当前,您将必须从源代码构建它,二进制发行版将很快发布。 用法 通过运行pg_reloaded --help获得使用情况信息 $ pg_reloaded check --config= " pg_reloaded.yml " # Run with the default configuration $ pg_reloaded start # Or with a path to a configuration file $ pg_reloaded start --config= " development.yml " --log-file= " ./path/to/log " 如果要立即还原数据库,请运行以下命令
【文件预览】:
pg_reloaded-master
----openapi.yaml(8KB)
----.dockerignore(39B)
----go.mod(422B)
----.env(15B)
----main.go(168B)
----go.sum(15KB)
----logo.svg(30KB)
----Dockerfile(411B)
----cron()
--------cron.go(5KB)
--------parser_test.go(3KB)
--------parser.go(6KB)
--------tz.go(738B)
--------simple_test.go(787B)
--------constantdelay_test.go(2KB)
--------constantdelay.go(934B)
--------tz_test.go(487B)
--------LICENSE(1KB)
--------doc.go(5KB)
--------simple.go(725B)
--------spec.go(3KB)
--------cron_test.go(5KB)
--------spec_test.go(7KB)
----config()
--------supervisor.conf(103B)
--------pg_reloaded.service(321B)
----LICENSE(1KB)
----README.md(7KB)
----Makefile(642B)
----pg_reloaded()
--------config_test.go(6KB)
--------commands_test.go(1KB)
--------commands.go(5KB)
--------config.go(4KB)
----.goreleaser.yml(567B)
----.gitignore(69B)
----pg_reloaded-sample.yml(2KB)
----cmd()
--------start.go(2KB)
--------run.go(2KB)
--------restore.go(1KB)
--------list.go(876B)
--------check.go(465B)
--------generate_crontab.go(1KB)
--------pg_reload.go(3KB)