Skip to content

Backup and restore beyond PostgreSQL #2485

Closed

Description

@datlechin

Problem

Backup & Restore shells out to pg_dump and pg_restore, so it covers PostgreSQL and Redshift only. MySQL, MariaDB and SQL Server get nothing. There is also no way to back up more than one database in a pass, and no way to pick which tables go in.

Proposed solution

  • MySQL and MariaDB through mysqldump and mysql, discovered on PATH the same way libpq already is.
  • SQL Server through BACKUP DATABASE and RESTORE DATABASE to a server-side path, with the limits of a remote server stated in the dialog rather than discovered on failure.
  • SQLite and DuckDB through VACUUM INTO and EXPORT DATABASE.
  • A table picker in the backup dialog, everything selected by default.
  • Multi-select in the connection tree to back up several databases into one directory, one file each.

Alternatives considered

Run the dump tools in Terminal.

Related database type

MySQL / MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions