Support same-named database with different ports, hosts, or hooks (#418). #952
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "same-named-databases"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a refactor of the
create
andrestore
action logic to support backing up and restoring databases with different ports, hosts, or hooks (e.g. PostgreSQL vs. MariaDB) that happen to share the same database name. The main changes are:.../myhost:1234/...
in the path instead of just.../myhost/...
restore
flags. E.g. if you ask toborgmatic restore --data-source test
and there are two database dumps in the archive with the nametest
, error.restore
command-line like--original-port
,--original-hostname
, and--hook
so the user can pick out exactly which database dump they'd like to restore even if several have the same name.Still to do
WIP: Support same-named database with different ports, hosts, or hooks (#418).to Support same-named database with different ports, hosts, or hooks (#418).