K
K
krytPhylosoph2020-06-11 10:12:36
MySQL
krytPhylosoph, 2020-06-11 10:12:36

Where to save the database dump?

We have a nodejs application with a mysql database. Recently there was a need to save database dumps, and it was decided to leave the dump files directly in a separate application folder. Where can I save database dumps so that they are not in the project folder?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Artemy Karkusha, 2020-06-11
@krytPhylosoph

For more secure storage of dumps, it is advisable to use the remote storage of Google Drive and Dropbox.
It is desirable that the program works primarily with localStorage, and Google Drive or Dropbox is used only to synchronize data from localStorage.
Implementation example:
Link

I
Ivan Shumov, 2020-06-11
@inoise

The most reasonable thing is to have a synchronous replica that can be used as the main server in case of loss of it. Do dumps from a replica and store in any file storage away from the database, that is, on another hardware

S
Swartalf, 2020-06-11
@Swartalf

I would recommend following the golden rule 3-2-1
. There are many approaches, from replicas (replica != backup) to sql backups and binary dumps.
You can use both self-written scripts and individual complexes (for example, Bacula), it’s already a matter of budget and imagination.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question