You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this quickstart, you'll create a new database, take a full backup of it, and then restore it.
18
+
In this quickstart, you create a new database, take a full backup of it, and then restore it.
18
19
19
20
For a more detailed how-to, see [Create a full database backup](create-a-full-database-backup-sql-server.md) and [Restore a backup using SSMS](restore-a-database-backup-using-ssms.md).
-[SQL Server Management Studio (SSMS)](../../ssms/download-sql-server-management-studio-ssms.md)
@@ -41,9 +42,9 @@ To complete this quickstart, you'll need:
41
42
USE [SQLTestDB];
42
43
GO
43
44
CREATETABLESQLTest (
44
-
ID INTNOT NULLPRIMARY KEY,
45
-
c1 VARCHAR(100) NOT NULL,
46
-
dt1 DATETIME NOT NULL DEFAULT GETDATE()
45
+
ID INTNOT NULLPRIMARY KEY,
46
+
c1 VARCHAR(100) NOT NULL,
47
+
dt1 DATETIME NOT NULL DEFAULT GETDATE()
47
48
);
48
49
GO
49
50
@@ -60,37 +61,45 @@ To complete this quickstart, you'll need:
60
61
SELECT*FROM SQLTest;
61
62
GO
62
63
```
63
-
64
+
64
65
1. Refresh the **Databases** node in**Object Explorer** to see your new database.
65
66
66
67
## Take a backup
67
68
68
69
To take a backup of your database, follow these steps:
69
70
71
+
#### [SSMS](#tab/ssms)
72
+
70
73
1. Launch [SQL Server Management Studio (SSMS)](../../ssms/download-sql-server-management-studio-ssms.md) and connect to your SQL Server instance.
71
74
1. Expand the **Databases** node in**Object Explorer**.
72
75
1. Right-click the database, hover over **Tasks**, andselect**Back up...**.
73
76
1. Under **Destination**, confirm that the path for your backup is correct. If you need to change the path, select**Remove** to remove the existing path, and then **Add** to type in a new path. You can use the ellipses to navigate to a specific file.
74
77
1. Select**OK** to take a backup of your database.
0 commit comments