Question

Es posible subir una actualización de la app al servidor, sin perder la BD actual?

Tengo una app en un servidor Ubuntu, pero tenemos una actualización y se requiere subir y reemplazar la que ya esta, pero sin perder lo que se tiene en la base de datos.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @masuiprojects

You can perform a database backup on the droplet in order to have a working copy of the database. You can do this using mysqldump :

mysqldump -u root -p DB1 > DB1.sql

Once you have the database sql backup file you can download it locally or to any other storage server.

In case of any data loss, you will have a copy of your database and you will restore it if needed so there shouldn’t be any issues.

Hope this helps!

Regards, Alex