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 [Link]taskBackup.
• 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 [Link].
select * from [Link].
THANK YOU…