Re: Change Storage Dir

2017-10-09 Thread Ashesh Vashi
On Mon, Oct 9, 2017 at 8:52 PM, Silvera, Ignacio wrote: > Another question more. > > Is it possible to set a storage dir for a group of users of pgadmin and > other storage dir for other groups of users? > Technically not feasible, as running pgAdmin 4 (as web application) will run under a web-se

Re: Change Storage Dir

2017-10-09 Thread Silvera, Ignacio
Another question more. Is it possible to set a storage dir for a group of users of pgadmin and other storage dir for other groups of users? Thanks! blue_strip *Ignacio Silvera* B&PS (Business & Platform Solutions) – Atos Uruguay Tel: +598 24871169, int 102 ignacio.silv...@atos.net Luis A

Re: Change Storage Dir

2017-10-09 Thread Silvera, Ignacio
Great! Thanks for your help! blue_strip *Ignacio Silvera* B&PS (Business & Platform Solutions) – Atos Uruguay Tel: +598 24871169, int 102 ignacio.silv...@atos.net Luis A. de Herrera 2802 Montevideo, Uruguay Atos.net atos_logotype This e-mail and the documents attached are confidential

Re: Change Storage Dir

2017-10-09 Thread Murtuza Zabuawala
STORAGE_DIR is a base directory. pgAdmin4 will automatically create separate user directory for each user in given base directory. On Mon, Oct 9, 2017 at 8:41 PM, Silvera, Ignacio wrote: > Hi! Thanks for your answers. > > I will try that. > > Is there some way to get the login user and relate i

Re: Change Storage Dir

2017-10-09 Thread Silvera, Ignacio
Hi! Thanks for your answers. I will try that. Is there some way to get the login user and relate it with the storage dir? I'm not a python expert, but I suppose that you can get the login username with some python call? That will be the strawberry cake. Regards blue_strip *Ignacio Silvera

Re: Change Storage Dir

2017-10-09 Thread Ashesh Vashi
On Mon, Oct 9, 2017 at 8:05 PM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > You can customize the locations as per your need, > > Create a file named config_local.py (if not already present) at your > installation location ../pgadmin4/web/ > and add below line in it, restart p

Re: Change Storage Dir

2017-10-09 Thread Murtuza Zabuawala
You can customize the locations as per your need, Create a file named config_local.py (if not already present) at your installation location ../pgadmin4/web/ and add below line in it, restart pgAdmin4 and you are good to go. STORAGE_DIR = '/home/backups' -- Regards, Murtuza Zabuawala Enterprise