Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 9

SQL-DBA BACKUP

By ,
PADMAVATHI
SATYA
MAHESHBABU
SUBBA RAJ
MURALI
Barriers To Availability

• Database Server Failure or Disaster


• User or Application Error
• Data Access Concurrency Limitations
• Database Maintenance and Operations
• Upgrades
• Tuning
BACKUP:
Exist copy of a Database.
Backup Types

1. Full Backup (Online , longer time to


back up &lower time to restore.)

2. Differential /Incremental Backup (It will


take the back up of all modify pages)

3. Log Backup ( It will take all the


transactions in log files of the db. lower time
to back up &longer time to restore.)
Check point

Tail log back up:


It don’t truncate the inactive portion , performed
during the system crashes. Xerox copy will be
moved .
Full back up–
backup database dbname to disk = ‘path’(Remo_full.bak)
Differential back up–
backup database dbname to disk = ‘path’(Remo_diff.bak)
/With differential
Log back up–
backup log dbname to disk = ‘path’(Remo_trn.bak)
Taillog back up–
Backup log dbname to disk = ‘path’(Remo_full.bak)
With no_truncate

IN USER FRIENDLY MODE:-


Database R.clicktaskBackup.
• Full backup every week, differential backups
every 6 hours, and logs every fifteen minutes.
Back up Time
FULL 1 week

DIFFERENTIAL 6 hours

LOG 15 min

TAIL LOG
Sp_dbhelp file location.

To Know the history of back up:


select * from msdb.dbo.backupset.
select * from msdb.dbo.backupmediafamily.
THANK YOU…

You might also like