db-backup
is a CLI utility to easily create database snapshots, manage them and restore at any point for multiple configurations.
$ db-backup --help
NAME:
db-backup - A tool to backup and restore database easily
USAGE:
main [global options] command [command options] [arguments...]
VERSION:
0.1
AUTHORS:
Nicu Maxian <[email protected]>
Andrian Boscanean <[email protected]>
COMMANDS:
backup Create a backup
restore Restore a backup
config Manage configurations
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
--version, -v print the version (default: false)
All backups are stored under ~/.db-backup/data/{configuration}
.
Please make sure you have installed followings:
Postgres:
pg_dump
psql
MySQL:
- TBD