mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
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:
parent
e9b00791e0
commit
a47aeffc14
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user