ADO back up full database

Post Reply
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

ADO back up full database

Post by MOISES »

Hi,

Using ado/FW_ado functions as DBMS management irrespective of MYSQL, MSSQL, etc, is there a way to back up the whole database to a local file?

Thank you
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: ADO back up full database

Post by nageswaragunupudi »

Backup and Restore are specific to each database. There is no common support in ADO.

For MySql, we can use FWH oCon:Backup(...) and oCon:Restore(...) methods.
Regards

G. N. Rao.
Hyderabad, India
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: ADO back up full database

Post by MOISES »

Thank you.

And what about saving and restoring each table in a txt local file?

All the best,
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: ADO back up full database

Post by MOISES »

Up!
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Re: ADO back up full database

Post by Armando »

Moises:

Take a look at MySqlDump.exe and MySQL.Exe

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: ADO back up full database

Post by MOISES »

Thank you very much for replying. I am looking for an approach via ADO for MySQL/MSSQL/María DB, therefore neutral from the point of view of the database.

I think this method exists, but I haven't found its parameters.

Greetings
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: ADO back up full database

Post by MOISES »

Up!
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
Post Reply