当前位置:网站首页>Methods of SQL server backup database
Methods of SQL server backup database
2022-07-28 03:23:00 【Yisu cloud】
SQL Server How to back up the database
This article mainly introduces SQL Server Knowledge about the methods of backing up databases , The content is detailed and easy to understand , The operation is simple and fast , It has certain reference value , I believe that after reading this article SQL Server The methods of backing up the database will be learned , Let's have a look .

One . First, back up the current database into a file
1. Follow the operation , Select the corresponding database ,

Determine the storage location of backup files

Click ok , Generate backup files .
2. You can then restore the database from this backup file .
Right click the database and click restore files and filegroups

Then set the name of the target database , If the same name already exists in the database , You need to modify or delete the original database with the same name , Then select the source device , Click... On the right ... Click Add... In the pop-up box , Find the location of the files to back up , Click ok .

Then click tick , Click OK again , Backup complete .

Backup restore complete

Two . The second method is to copy the database
1. Right click the properties of the database

Click on the file , Drag to the right to find the location of the database file
.mdf Main data file : Each database has and only one
.ndf Secondary data files : Some databases have , Some don't
.ldf Transaction log file : Each database has at least one

Determine file location .
2. Right click the database and click task , Separate .


Click ok , Will find , The in the database is gone , Then copy the file path found above .
At this time, we click the database to attach .

Click Add to select the corresponding database file ,

At this time, the copy is completed , This requires the same adding operations on the local machine and the copy machine .
About “SQL Server How to back up the database ” That's all for this article , Thank you for reading ! I'm sure you're right “SQL Server How to back up the database ” Knowledge has a certain understanding , If you want to learn more , Welcome to the Yisu cloud industry information channel .
边栏推荐
- Comprehensive comparative study of image denoising
- 并发编程面试题总结
- My approval of OA project (meeting inquiry & meeting signature)
- 动画(animation)
- 如何解决mysql深分页问题
- mysql存储过程 使用游标实现两张表数据同步数据
- [acwing 327. corn field] shaped pressure DP
- max_pool2d(): argument ‘input‘ (position 1) must be Tensor, not NoneType
- 响应式高端网站模板源码图库素材资源下载平台源码
- C#中关闭窗体的四种方法
猜你喜欢

Redis 5 kinds of data structure analysis

Practice of online problem feedback module (16): realize the function of checking details

Summary of static blog building tools

Interview experience: first tier cities move bricks and face software testing posts. 5000 is enough

SSM integration (integrated configuration)

Leaf recognition, color feature extraction, defect detection, etc

Full of dry goods, hurry in!!! Easy to master functions in C language

Detailed tutorial of one click reinstallation of win7 system

Redis persistence mechanism

Exness: Japanese prices rose and incomes fell, with the pound / yen breaking 165
随机推荐
Exness: Japanese prices rose and incomes fell, with the pound / yen breaking 165
Review basic knowledge points of engineering electromagnetic field
在线问题反馈模块实战(十六):实现查详情功能
Engineering Geology Practice - engineering geology problem set
When QML uses layout layout, a large number of < unknown file >: QML qquicklayoutattached: binding loop detected for property circular binding warnings appear
C # set TextBox control not editable
Kubernetes -- Introduction
[uni app advanced practice] take you hand-in-hand to learn the development of a purely practical complex project 2/100
Defect detection of BP SVM system design of leaf defect detection
LeetCode 第二十九天
Leaf recognition, color feature extraction, defect detection, etc
【类的本质(Objective-C语言中)】
决策树与随机森林学习笔记(1)
C#设置Textbox控件不可编辑
Alibaba cloud international email service package purchase process
汇总了50多场面试,4-6月面经笔记和详解(含核心考点及6家大厂)
VI command details
Embedded sharing collection 22
Original title of Blue Bridge Cup
如何使用JDBC操作数据库