mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 10:20:02 +07: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user