How to backup a live mnesia database?

Backup is a common requirement for a database system. In postgresql, for example, I can use pg_basebackup, which would cause a small runtime performance hit for the database during the backup to ensure the verbatim copy of the database files are recoverable in restore by the combination of the page files and the WAL. Is there a similar method to backup a mnesia live database?

1 Like

Is there something with https://www.erlang.org/doc/man/mnesia.html#backup-1 that does not work for you?

2 Likes

Thanks, I was not familiar with this. I will read this and also
https://www.erlang.org/doc/apps/mnesia/mnesia_chap7#backup,-restore,-fallback,-and-disaster-recovery

If I have further question I will came back to ask.

2 Likes