8
rated 0 times
[
14]
[
6]
/ answers: 1 / hits: 21612
/ 9 Years ago, thu, june 18, 2015, 12:00:00
I want to backup a MySQL database. Is it possible to do it in Node.js? If not, what is the best way to do so?
More From » mysql
I want to backup a MySQL database. Is it possible to do it in Node.js? If not, what is the best way to do so?
simple way without libs:
var exec = require('child_process').exec;
var child = exec(' mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql');