Is there any free tool with which we can take backup of database fromremote server to my local machine?
I have already checked for SQLBACKUPANDFTP and SQLBACKUPMASTER but they need shared location of hosted machine... But I need some Thing that can backup on local machine without shared location.?

Upendra Pratap ShahiPosted Jul 2, 2015, 3:04 AM
Upendra Pratap ShahiPosted Jul 8, 2015, 5:49 AM
Khan Abrar AhmedPosted Jul 2, 2015, 3:32 AM
Rashmi SainiPosted Jul 2, 2015, 2:36 AM
Abrar Ahmad AnsariPosted Jul 1, 2015, 3:31 AM
Upendra Pratap ShahiPosted Jul 1, 2015, 1:17 AM
Rajeesh MenothPosted Jul 1, 2015, 12:49 AM
Khargesh RajputPosted Jul 1, 2015, 12:36 AM
Munesh SharmaPosted Jun 30, 2015, 1:30 PM
Shailesh UkePosted Jun 30, 2015, 10:14 AM
int year = backupTime.Year;
int month = backupTime.Month;
int day = backupTime.Day;
string hour = Convert.ToString(backupTime.Hour) + ".";
string minute = Convert.ToString(backupTime.Minute) + ".";
string second = Convert.ToString(backupTime.Second);
string constring = "Datasource=xxxx;port=xxxx;Database=xxxx_erp;Integrated Security=true;uid=xxxx_xxx;pwd=xxxx;convert zero datetime=True";
// var dir = @"\\Backup\\"; // folder location
var dir = Server.MapPath("Backup");
if (!Directory.Exists(dir)) // if it doesn't exist, create
Directory.CreateDirectory(dir);
using (MySqlConnection conn = new MySqlConnection(constring))
{
using (MySqlCommand cmd = new MySqlCommand())
{
cmd.CommandText="";
using (MySqlBackup mb = new MySqlBackup(cmd))
{
cmd.Connection = conn;
conn.Open();
fpath = "SomethingPath.sql"
mb.ExportToFile(dir + fpath);
conn.Close();
}
}
}