Restore item in server menu (suggestion) - Mailing list pgadmin-support

From Arni Kromić
Subject Restore item in server menu (suggestion)
Date
Msg-id 97d97ed0-c6c1-157a-e025-3dbf52254dc1@bios-ict.hr
Whole thread Raw
Responses Re: Restore item in server menu (suggestion)
List pgadmin-support
A pgAdmin4 feature I have always wanted is having some "restore" command in the server or Databases context menu. That would make restoring databases much easier, especially during development and testing when various changes occur frequently.

Currently there are two options for restoring databases in pgAdmin from custom format backups, both a bit inconvenient:
  1. Manually create database with the required name, then use Restore from its context menu; this has more steps than needed - there is no need to create the database manually
  2. Use Restore from any existing database's menu, enabling the "CREATE DATABASE" option; faster, but potentially dangerous or inconvenient if one manages to overwrite the other database by mistake

For someone frequently dumping and restoring various databases from within pgAdmin4 while also doing development in it, the new menu item would be quite useful. Alternatively, it could be added as an option in the Create / Database menu; something like "Create Database from backup".

-- 
Kind Regards,
Arni Kromić

pgadmin-support by date:

Previous
From: Khushboo Vashi
Date:
Subject: Re: Disconnect from all dbs
Next
From: Khushboo Vashi
Date:
Subject: Re: Restore item in server menu (suggestion)