SQL BACKUP DATABASE for SQL Server
The SQL BACKUP DATABASE Statement
SQL 데이터베이스에서 전체 백업을 만드는 명령어
Syntax
BACKUP DATABASE databasename
TO DISK = 'filepath';
The SQL BACKUP WITH DIFFERENTIAL Statement
변경된 부분만 백업하는 명령어
BACKUP DATABASE databasename
TO DISK = 'filepath'
WITH DIFFERENTIAL;
BACKUP DATABASE example
BACKUP DATABASE testDB
TO DIST = 'D:\backups\testDB.bak';
BACKUP WITH DIFFERENTIAL Example
BACKUP DATABASE testDB
TO DIST = 'D:\backups\testDB.bak'
WITH DIFFERENTIAL;
'Computer Science > Database' 카테고리의 다른 글
W3Schools SQL | #41 SQL DROP TABLE 구문 (0) | 2022.10.29 |
---|---|
W3Schools SQL | #40 SQL CREATE TABLE 구문 (0) | 2022.10.29 |
W3Schools SQL | #38 SQL DROP DATABASE 데이터베이스 삭제 구문 (0) | 2022.10.29 |
W3Schools SQL | #37 SQL CREATE DATABASE (0) | 2022.10.29 |
W3Schools SQL | #36 SQL 연산자 (0) | 2022.10.29 |