Do not hardcode the database name

The PostgreSQL database may not be called owncloud.
I propose to use [db_name] as for the MySQL command line.
This commit is contained in:
Ludovic Rousseau
2015-02-13 09:17:04 +01:00
parent e9b00791e0
commit a47aeffc14

View File

@@ -35,5 +35,5 @@ PostgreSQL
^^^^^^^^^^
::
PGPASSWORD="password" pg_dump owncloud -h [server] -U [username] -f owncloud-sqlbkp_`date +"%Y%m%d"`.bak
PGPASSWORD="password" pg_dump [db_name] -h [server] -U [username] -f owncloud-sqlbkp_`date +"%Y%m%d"`.bak