How to take a database back up of the application?

Modified on Thu, 9 Jun, 2016 at 2:58 PM

For Normal Installation:-

Login to the server where Fedena is installed. You have to login as the Root user . 
Following is the command to take a database back up of the application-
mysqldump -u'mysql_username' -p 'database_name' > dumpdatabase.sql

Where mysql_username is the username given while creating the database and database_name is the name of the database

32gjhghj.png

You can see the dump database (dump.sql) if you list the files as shown-

32.png


For installation within Docker:-


Login to the server where Fedena is installed. After that login to the Application docker container . 

Following is the command to take a database back up of the application-


mysqldump -u'mysql_username' -p 'database_name'  -h'host_ip'> dumpdatabase.sql


Where mysql_username is the username given while creating the database and database_name is the name of the database and host_ip is the host machine ip.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article