We moved this page to our Documentation Portal. You can find the latest updates here. |
Question:
How can I backup my OnApp database?
Environment:
All versions of OnApp
Answer:
To backup the entire OnApp database use the Linux mysqldump command:
#mysqldump -p onapp > onapp.sql
To backup a stand-alone table use the following syntax replacing table_name with the name of the table to be backed up:
#mysqldump -p onapp table_name > onapp.table_name.sql
You will find the required MySQL password with the following command:
#cat /onapp/interface/config/database.yml | grep pass