Denbun POP版操作指南
用户操作指南 | Administrator's Manual | Installation Guide | Initial Settings Guide
返回菜单
 

Backup and Restore

Backup and Restore Data
About Denbun system
Denbun saves data in a database (PostgreSQL) and files (message file and index file).
And the cgi programs use OS file system for temporary files.




Backup and restore data
Make sure no access to the Denbun during backup and restore.
If you use Automatic Receive, terminate the batch for Automatic Receive.

The following data should be backed up and restored.
- PostgreSQL Database "dnpwmldb"
To backup data, you can use pg_dump command or other standard way provided by PostgreSQL.
To restore the data, you can use pg_restore command or other standard way provided by PostgreSQL.
Please refer the PostgreSQL documentation.
- Message and index files for each user
Backup data in "dnpwml/dnpwmldata/1/user".
- Image data which administrators registered as users information
Backup data in "dnpwml/dnpwmlfile".


[Example of Backup for PostgreSQL Database]
pg_dump -b -Fc -U postgres dnpwmldb > dnpwmldb.pgdmp

[Example of Restore for PostgreSQL Database]
dropdb -U postgres dnpwmldb
pg_restore -C -Fc -U postgres -d template1 ./dnpwmldb.pgdmp

However if you use other backup tool, please follow the way provided by the tool.


 
Copyright (C) NEOJAPAN Inc. All Rights Reserved.