DB BAckup [英] DB BAckup

查看:92
本文介绍了DB BAckup的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿。

有人能告诉我如何在我的visual studio应用程序中备份数据库吗?我已经看了一下SQLDMO,但我确定有更简单的方法吗?

解决方案

有一个 BACKUP t-sql命令。


备份文件将在服务器上,而不是在客户端上。


- CK


< blockquote>


有一个 BACKUP t-sql命令。


备份文件将在服务器上,而不是在客户端上。


- CK



请参阅解决方案将安装在客户端PC上,数据库位于application.startupPath中。现在我需要能够备份数据库,然后才能恢复它。



有一个 BACKUP t-sql命令。


备份文件将在服务器上,而不是在客户端上。


- CK


展开 | 选择 | Wrap | 行号


Hey.
Can anyone tell me how to back up a database from within my visual studio application ? I have taken a look at SQLDMO but im sure there is a easier way to do it ?

解决方案

There''s a BACKUP t-sql command.

The backup file will be on the server, not on your client.

-- CK


There''s a BACKUP t-sql command.

The backup file will be on the server, not on your client.

-- CK

See the solution will be installed on the Client PC with the database located in the application.startupPath. Now i jst need to be able to backup the database and then be able to restore it.


There''s a BACKUP t-sql command.

The backup file will be on the server, not on your client.

-- CK


Expand|Select|Wrap|Line Numbers


这篇关于DB BAckup的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆