Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

Backup dan Restore dfd, 2012. Pengantar dfd, 2012 Backup dan Restore dapat digunakan untuk menghindari masalah hilangnya data Backup dan Restore dapat.

Presentasi serupa


Presentasi berjudul: "Backup dan Restore dfd, 2012. Pengantar dfd, 2012 Backup dan Restore dapat digunakan untuk menghindari masalah hilangnya data Backup dan Restore dapat."— Transcript presentasi:

1 Backup dan Restore dfd, 2012

2 Pengantar dfd, 2012 Backup dan Restore dapat digunakan untuk menghindari masalah hilangnya data Backup dan Restore dapat dilakukan secara rutin

3 Backup dfd, 2012 Jenis Backup 1. Full Backup Backup seluruh data dan log file yang ada pada database 2. Differential Backup Backup seluruh data dan log yang ada pada database setelah proses full backup 3. Transactional Log Backup Backup log yang ada pada database

4 Perintah Backup dfd, 2012 BACKUP DATABASE { database_name } TO [,...n ] [ ] [ next-mirror-to ] [ WITH { DIFFERENTIAL | [,...n ] } ] [;]

5 Back Up File atau Filegroup dfd, 2012 BACKUP DATABASE { database_name } [,...n ] TO [,...n ] [ ] [ next-mirror-to ] [ WITH { DIFFERENTIAL | [,...n ] } ] [;]

6 Back Up Transaction Log dfd, 2012 BACKUP LOG { database_name } TO [,...n ] [ ] [ next-mirror-to ] [ WITH { | } [,...n ] ] [;] ::= { { logical_device_name } | { DISK | TAPE } = { 'physical_device_name' } }

7 dfd, 2012 ::= MIRROR TO [,...n ] ::= { FILE = { logical_file_name } | FILEGROUP = { logical_filegroup_name } }

8 dfd, 2012 [,...n ]::= --Backup Set Options COPY_ONLY | { COMPRESSION | NO_COMPRESSION } | DESCRIPTION = { 'text' } | NAME = { backup_set_name } | PASSWORD = { password } | { EXPIREDATE = { 'date' } | RETAINDAYS = { days } }

9 dfd, Log-specific Options { NORECOVERY | STANDBY = undo_file_name } | NO_TRUNCATE

10 Restore dfd, 2012 RESTORE DATABASE { database_name } [ FROM [,...n ] ] [ WITH { [ RECOVERY | NORECOVERY | STANDBY = {standby_file_name } ] |, [,...n ] |, } [,...n ] ] [;]

11 Restore Files atau Filegroups dfd, 2012 RESTORE DATABASE { database_name } [,...n ] [ FROM [,...n ] ] WITH { [ RECOVERY | NORECOVERY ] [, [,...n ] ] } [,...n ] [;]

12 Restore Log dfd, 2012 RESTORE LOG { database_name } [ [,...n ] ] [ FROM [,...n ] ] [ WITH { [ RECOVERY | NORECOVERY | STANDBY = {standby_file_name } ] |, [,...n ] |, |, } [,...n ] ] [;]

13 dfd, 2012 ::= { FILE = { logical_file_name_in_backup } | FILEGROUP = { logical_filegroup_name } | READ_WRITE_FILEGROUPS }

14 Detach dfd, 2012 sp_detach_db ] 'database_name' [, ] 'skipchecks' ] [, = ] 'KeepFulltextIndexFile' ] Attach sp_attach_db ] 'dbname', ] 'filename_n' [,...16 ]


Download ppt "Backup dan Restore dfd, 2012. Pengantar dfd, 2012 Backup dan Restore dapat digunakan untuk menghindari masalah hilangnya data Backup dan Restore dapat."

Presentasi serupa


Iklan oleh Google