Community mailing list archives

community@mail.odoo.com

Re: SUMMARY: SEEKING: Method to script backups of Odoo v9 - also include filestore (anything else??)

by
SISalp
- 01/03/2016 06:33:24
2016-01-03 11:41 GMT+01:00 Alexandre Fayolle <alexandre.fayolle@camptocamp.com>:
>> Backuping databases under postgres or a superuser role of postgresql
>> is not a good practice imho.
>
> Hello Dominique. I'm curious about this one. Can you elaborate?

Nothing really specific here.
When priviledges are not needed, they should not be granted, as a good
start point.
Backuping from postgres or super-user role requires unnecessary priviledges.
It may not be a problem in a specific context, it is not either a
solution to any problem, just a basic rule.
If Ray asks for state-of-the-art advice, I thought it was worth mentionning.
On SISalp's hosting this rule is enforced and already protected data
from "human error" (I'm the human).

>
> Alexandre
>