2016-06-08 04:23:12 -05:00
.. _backup_globals_dialog:
2018-06-15 03:14:12 -05:00
***** ***** ***** ***** ***** *****
`Backup Globals Dialog` :index:
***** ***** ***** ***** ***** *****
2016-06-08 04:23:12 -05:00
2019-03-08 09:29:05 -06:00
Use the *Backup Globals* dialog to create a plain-text script that recreates all
of the database objects within a cluster, and the global objects that are shared
by those databases. Global objects include tablespaces, roles, and object
properties. You can use the pgAdmin *Query Tool* to play back a plain-text
script, and recreate the objects in the backup.
2016-06-08 04:23:12 -05:00
.. image :: images/backup_globals_general.png
2018-01-11 10:58:30 -06:00
:alt: Backup globals dialog
2019-03-08 09:29:05 -06:00
:align: center
2016-06-08 04:23:12 -05:00
Use the fields in the *General* tab to specify the following:
2019-03-08 09:29:05 -06:00
* Enter the name of the backup file in the *Filename* field. Optionally, select
the *Browser* icon (ellipsis) to the right to navigate into a directory and
select a file that will contain the archive.
* Use the drop-down listbox next to *Role name* to specify a role with
connection privileges on the selected server. The role will be used for
authentication during the backup.
2016-06-08 04:23:12 -05:00
2019-03-08 09:29:05 -06:00
Move switches in the **Miscellaneous** field box to specify the type of
statements that should be included in the backup.
2018-01-11 10:58:30 -06:00
2019-03-08 09:29:05 -06:00
* Move the *Verbose messages* switch to the *No* position to exclude status
messages from the backup. The default is *Yes* .
* Move the *Force double quote on identifiers* switch to the *Yes* position to
name identifiers without changing case. The default is *No* .
2016-06-08 04:23:12 -05:00
2019-03-08 09:29:05 -06:00
Click the *Backup* button to build and execute a command based on your
selections; click the *Cancel* button to exit without saving work.
2016-06-08 04:23:12 -05:00
.. image :: images/backup_globals_messages.png
2018-01-11 10:58:30 -06:00
:alt: Backup globals success notification popup
2019-03-08 09:29:05 -06:00
:align: center
2016-06-08 04:23:12 -05:00
2018-10-22 02:05:21 -05:00
Use the **Stop Process** button to stop the Backup process.
2019-03-08 09:29:05 -06:00
If the backup is successful, a popup window will confirm success. Click *Click
here for details* on the popup window to launch the * Process Watcher*. The
*Process Watcher* logs all the activity associated with the backup and provides
additional information for troubleshooting.
2016-06-08 04:23:12 -05:00
.. image :: images/backup_globals_process_watcher.png
2018-01-11 10:58:30 -06:00
:alt: Backup globals process watcher
2019-03-08 09:29:05 -06:00
:align: center
2018-01-11 10:58:30 -06:00
2019-03-08 09:29:05 -06:00
If the backup is unsuccessful, review the error message returned by the
2020-11-04 06:01:21 -06:00
*Process Watcher* to resolve any issue.
.. note :: If you are running *pgAdmin* in *Server Mode* you can click on the |sm_icon| icon in the process watcher window to open the file location in the Storage Manager. You can use the :ref: `Storage Manager <storage_manager>` to download the backup file on the client machine .
.. |sm_icon| image :: images/sm_icon.png