2020-11-04 06:01:21 -06:00
.. _storage_manager:
***** ***** ***** ***** *** *
`Storage Manager` :index:
***** ***** ***** ***** *** *
*Storage Manager* is a feature that helps you manage your systems storage device. You can use *Storage Manager* to:
* Download, upload, or manage operating system files. To use this feature, *pgAdmin* must be running in *Server Mode* on your client machine.
2023-03-06 05:33:47 -06:00
* The shared storage option allows users to access the shared storages that are shared by admin users.
2020-11-04 06:01:21 -06:00
* Download *backup* or *export* files (custom, tar and plain text format) on a client machine.
* Download *export* dump files of tables.
You can access *Storage Manager* from the *Tools* Menu.
.. image :: images/storage_manager.png
:alt: Storage Manager
:align: center
Use icons on the top of the *Storage Manager* window to manage storage:
2023-03-06 05:33:47 -06:00
Use the `` Folder `` icon |Shared Storage| to access shared storage. In order to enable shared storage,
admins need to add the SHARED_STORAGE variable to the config file. Users can access the shared storage
with this and share files with one another.
.. |Shared Storage| image :: images/sm_ss.png
2020-11-04 06:01:21 -06:00
Use the `` Home `` icon |home| to return to the home directory.
2022-07-19 04:57:47 -05:00
.. |home| image :: images/sm_home.png
2020-11-04 06:01:21 -06:00
Use the `` Up Arrow `` icon |uparrow| to return to the previous directory.
2022-07-19 04:57:47 -05:00
.. |uparrow| image :: images/sm_go_back.png
2020-11-04 06:01:21 -06:00
Use the `` Refresh `` icon |refresh| to display the most-recent files available.
2022-07-19 04:57:47 -05:00
.. |refresh| image :: images/sm_refresh.png
2020-11-04 06:01:21 -06:00
Select the `` Download `` icon |download| to download the selected file.
2022-07-19 04:57:47 -05:00
.. |download| image :: images/sm_download.png
2020-11-04 06:01:21 -06:00
Use the `` New Folder `` icon |folder| to add a new folder.
2022-07-19 04:57:47 -05:00
.. |folder| image :: images/sm_new_folder.png
2020-11-04 06:01:21 -06:00
2022-07-19 04:57:47 -05:00
Use the *Format* drop down list to select the format of the files to be displayed; choose from *sql* , *csv* , or *All Files* .
2020-11-04 06:01:21 -06:00
2023-03-06 05:33:47 -06:00
Shared Storage
***** ***** ***** ***** *
.. image :: images/shared_storage.png
:alt: Other options
:align: center
2023-03-24 00:38:27 -05:00
In the storage manager, `` My Storage `` is the pgAdmin user’ s storage directory, and other listed directories are shared
storages set by the pgAdmin server administrator. Using these, pgAdmin users can have common storages to share files.
2023-03-29 03:19:32 -05:00
pgAdmin server administrator can configure the shared storages using the :ref: `config file <config_py>` . Storages can be
2023-03-24 00:38:27 -05:00
marked as restricted to give read-only access to non-admin pgAdmin users.
.. note :: You must ensure the directories specified are writeable by the user that the web server processes will be running as, e.g. apache or www-data.*
2023-03-20 03:41:57 -05:00
2022-07-19 04:57:47 -05:00
Other Options
***** ***** ***** ***** *
2020-11-04 06:01:21 -06:00
2022-07-19 04:57:47 -05:00
.. image :: images/sm_options.png
:alt: Other options
:align: center
2020-11-04 06:01:21 -06:00
2022-07-19 04:57:47 -05:00
.. table ::
:class: longtable
:widths: 1 5
+----------------------+---------------------------------------------------------------------------------------------------+
| Menu | Behavior |
+======================+===================================================================================================+
| *Rename* | Click the *Rename* option to rename a file/folder. |
+----------------------+---------------------------------------------------------------------------------------------------+
| *Delete* | Click the *Delete* option to rename a file/folder. |
+----------------------+---------------------------------------------------------------------------------------------------+
| *Upload* | Click the *Upload* option to upload multiple files to the current folder. |
+----------------------+---------------------------------------------------------------------------------------------------+
| *List View* | Click the *List View* option to to display all the files and folders in a list view. |
+----------------------+---------------------------------------------------------------------------------------------------+
| *Grid View* | Click the *Grid View* option to to display all the files and folders in a grid view. |
+----------------------+---------------------------------------------------------------------------------------------------+
| *Show Hidden Files* | Click the *Show Hidden Files* option to view hidden files and folders. |
+----------------------+---------------------------------------------------------------------------------------------------+
2020-11-04 06:01:21 -06:00
You can also download backup files through *Storage Manager* at the successful completion of the backups taken through :ref: `Backup Dialog <backup_dialog>` , :ref: `Backup Global Dialog <backup_globals_dialog>` , or :ref: `Backup Server Dialog <backup_server_dialog>` .
At the successful completion of a backup, click on the icon to open the current backup file in *Storage Manager* on the *process watcher* window.
.. image :: images/process_watcher_storage_manager.png
:alt: Process watcher with storage manager icon
:align: center