怎样编程实现各种类型数据库的备份与恢复。备份到一个文件?

jacky123789 2003-10-27 03:19:15
怎样编程实现各种类型数据库的备份与恢复。备份到一个文件?
...全文
90 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
mrxuecn 2003-12-06
  • 打赏
  • 举报
回复
up
stwfa 2003-10-28
  • 打赏
  • 举报
回复
很多方法,例如:

备份
BACKUP DATABASE Northwind
TO DISK = 'c:\Northwind.bak'
还原
RESTORE FILELISTONLY
FROM DISK = 'c:\Northwind.bak'
ccrun.com 2003-10-28
  • 打赏
  • 举报
回复
2. 1-在c++builder中如何实现数据库备份?(我用的是C++Bulider1.0,不支持ADO) http://expert.csdn.net/Expert/topic/1378/1378058.xml
3. 2-bcb中怎样备份,恢复sql2000数据库,我用Tdatabase连接的数据库 http://expert.csdn.net/Expert/topic/1448/1448052.xml
4. 3-数据库备份问题? http://expert.csdn.net/Expert/topic/1451/1451126.xml
5. 4-在数据库如access连接情况下如何备份? http://expert.csdn.net/Expert/topic/1491/1491126.xml
6. 5-数据库备份恢复探讨 http://expert.csdn.net/Expert/topic/1572/1572920.xml
7. 6-如何在CB中通过代码备份还原数据库? http://expert.csdn.net/Expert/topic/1647/1647085.xml
8. 7-备份恢复数据库路径选择问题 http://expert.csdn.net/Expert/topic/1651/1651149.xml
9. 8-救助控制Access数据库的备份与恢复 http://expert.csdn.net/Expert/topic/1651/1651158.xml
10. 9-请斑竹和各位搞数据库的帮忙,很现实的问题.--备份恢复进度条的问题 http://expert.csdn.net/Expert/topic/1660/1660224.xml
11. 10-请问怎样备份SQL Server 2000的数据库和表? http://expert.csdn.net/Expert/topic/1719/1719125.xml
12. 11-怎样在客户端程序里备份数据库里的一个表? http://expert.csdn.net/Expert/topic/1724/1724755.xml
13. 12-关于数据库备份的问题 http://expert.csdn.net/Expert/topic/1756/1756253.xml
14. 13-如何在前台备份和恢复数据库? http://expert.csdn.net/Expert/topic/1765/1765211.xml
15. 14-用BCB对SQL数据库备份,还原问题! http://expert.csdn.net/Expert/topic/1802/1802057.xml
16. 15-关于数据库的备份与导入 http://expert.csdn.net/Expert/topic/1827/1827207.xml
17. 16-怎样利用ADOQuery备份SQL Server数据库?怎样恢复? http://expert.csdn.net/Expert/topic/1842/1842386.xml
18. 17-怎样在应用程序中备份数据库 http://expert.csdn.net/Expert/topic/1853/1853163.xml
19. 18-bcb+server7.0 对数据库的备份和恢复 马上送份 http://expert.csdn.net/Expert/topic/1894/1894768.xml
20. 19-数据库的备份和恢复,奇怪问题,马上送分,再线等待 http://expert.csdn.net/Expert/topic/1901/1901484.xml
21. 20-在BCB中如何用代码实现ACCESS数据库的备份?在等! http://expert.csdn.net/Expert/topic/1903/1903161.xml
22. 21-如何编写数据库备份和恢复的代码? http://expert.csdn.net/Expert/topic/1917/1917200.xml
23. 22-如何用BCB编写DB2数据库备份和恢复的代码? http://expert.csdn.net/Expert/topic/1924/1924184.xml
24. 23-高分请教关于备份数据库的问题…… http://expert.csdn.net/Expert/topic/1935/1935348.xml
25. 24-我现在做数据库软件用的是SQLSERVER2000,现在客户提出来这样一个需求,让我的软件能够在前台实现定期备份,比如说每天晚上12点自动备份。 http://expert.csdn.net/Expert/topic/1944/1944173.xml
26. 25-如何在程序中备份和恢复SQL Server2000数据库? http://expert.csdn.net/Expert/topic/1997/1997057.xml
27. 26-如何实现对SQLserver数据库自动备份及恢复功能? http://expert.csdn.net/Expert/topic/2005/2005924.xml
28. 27-在C++builder5里,如何做数据库备份。急急,请大侠们指点 http://expert.csdn.net/Expert/topic/2062/2062817.xml
29. 28-求备份数据库中的某一个表的备份方法或是sql语句 http://expert.csdn.net/Expert/topic/2064/2064793.xml
30. 29-CB如何备份和恢复MSSQLSERVER数据库? http://expert.csdn.net/Expert/topic/2066/2066468.xml
31. 30-一个关于数据库的备份问题。 http://expert.csdn.net/Expert/topic/2083/2083264.xml
32. 31-在c++builder中如何实现数据库备份? http://expert.csdn.net/Expert/topic/1361/1361616.xml
jacky123789 2003-10-28
  • 打赏
  • 举报
回复
能不能把贴子地址告诉我。
MartinWang 2003-10-27
  • 打赏
  • 举报
回复
如果是备份数据的话可以试试把记录写成结构体的方式然后写入文件!!
如果要将整个库都备份,找找以前的贴子吧,有详细的方法:)

1,178

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder 数据库及相关技术
社区管理员
  • 数据库及相关技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧