author | Julien Jehannet <julien.jehannet@logilab.fr> |
Fri, 26 Feb 2010 17:00:42 +0100 | |
branch | stable |
changeset 4784 | eed95a456b88 |
parent 4783 | 6dc34d4cf892 |
child 4785 | 1fa7363c78bd |
--- a/doc/book/en/admin/additional-tips.rst Tue Mar 02 21:48:36 2010 +0100 +++ b/doc/book/en/admin/additional-tips.rst Fri Feb 26 17:00:42 2010 +0100 @@ -28,7 +28,7 @@ Simply use the pg_dump in a cron :: - pg_dump -Fc --username=cubicweb --no-owner --file=/var/lib/cubicweb/backup/<instance>-$(date '+%Y-%m-%d_%H:%M:%S').dump + su -c "pg_dump -Fc --username=cubicweb --no-owner" postgres > <your-instance>-$(date '+%Y-%m-%d_%H:%M:%S').dump **CubicWeb way**