Mr. Rao
Good morning, I have a database that has 60 tables and 2 of them have more than 400,000 records, when I use MariaDb BackUp, it cannot do the job, sometimes the connection is cut and other times it only loads about 100,000 records, is it possible that the BackUp has a clause (WHEN) to condition the process?, as well as:
BackUp( [source], [dest], [bProgress], [cCondition], [nRecsInBatch], [nMaxBufperSQL] )
where cCondition := "WHERE year(fecha_doc) > 2023", something like that.
Thank you for your time
BackUp [cCondition]
- Willi Quintana
- Posts: 1023
- Joined: Sun Oct 09, 2005 10:41 pm
- Location: Cusco - Perú
- Contact:
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: BackUp [cCondition]
At present we did not provide backup of table with WHERE condition.
Actually, 70000 records is not a big table unless the internet connection is highly unreliable
Even if we provide WHERE clause, Restoring the table gives problems.
Let us think and come up with alternative solutions.
Meanwhile you may consider and try this method of saving full or a part of the table to DBF
or Copy table to another server
oDest is the connection object to the backup server.
Actually, 70000 records is not a big table unless the internet connection is highly unreliable
Even if we provide WHERE clause, Restoring the table gives problems.
Let us think and come up with alternative solutions.
Meanwhile you may consider and try this method of saving full or a part of the table to DBF
Code: Select all | Expand
METHOD SaveToDBF( cSql, cDbf, lForUpdate )
Code: Select all | Expand
METHOD CopyTableToServer( cTable, oDest )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India