使用SQL Server Management Studio还原SQL数据库备份

本文介绍如何使用SQL Server Management Studio进行数据库备份还原,适合初学者。首先将BAK文件复制到目标服务器,然后打开SSMS,登录并右键点击‘数据库’选择‘还原数据库’。设置备份源,选择还原点,确认文件系统设置,最后确认选项并执行还原。此方法适用于所有SQL Server版本。
摘要由CSDN通过智能技术生成

We have previously covered a simple SQL database restore using the command line which is ideal for restoring backup files created on the same SQL Server installation, however if you are restoring a backup created on a different installation or simply prefer a point and click interface, using SQL Server Management Studio (or the Express edition) makes this task easy.

之前,我们已经介绍了使用命令行进行简单SQL数据库还原的方法,该方法非常适合还原在同一SQL Server安装上创建的备份文件,但是,如果要还原在其他安装上创建的备份,或者只是更喜欢单击界面,则使用SQL Server Management Studio(或Express版)使此任务变得容易。

Note: SQL Server experts might want to skip today’s lesson, as it’s aimed at beginners.

注意:SQL Server专家针对初学者,可能希望跳过今天的课程。

Before starting, you will need to copy the SQL backup file (typically has a .BAK extension) to a local hard drive on the destination SQL Server machine.

开始之前,您需要将SQL备份文件(通常具有.BAK扩展名)复制到目标SQL Server计算机上的本地硬盘驱动器上。

Open SQL Server Management Studio and login to the SQL Server you want to restore the database to. It is best to either login as a Windows Administrator or as the SQL ‘sa’ user.

打开SQL Server Management Studio,然后登录到要将数据库还原到SQL Server。 最好以Windows管理员或SQL“ sa”用户身份登录。

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值