Create a python script that create a sql dump with structure and data file from mysql database

Viewed 15376

I want to make a backup script in python that make a .sql file with structure and data, and saves it on the disk?

The issue is that i wanna make a routine for a backup remotely, so the file will be stored in a different server.. To make sure that if my server dies, the data does not die with it.

Is it possible?

1 Answers
Related