Tuesday, October 13, 2015

DB2 Basics: Backups and Recovery!

What is the important of backups?


Keeping backup of any data is important and it should be one of the first and last things that everybody must do it. We need to keep backup to overcome with unexpected scenarios. Scenarios where your data may get corrupt or damaged due to any reasons but if you have backup then you can easily restore them from there. And therefore we must keep backup of any data including DB2 database file too. In this post you will learn about DB2 Basics – Backup and Recovery that will help you out in many ways.

What is DB2’s Backups?


In DB2 the specific file that are known as backup are actually the binary files that display the every bit of data. These file are huge in size. And as they are at bit level and it uses different characters, therefore it cannot be recovered among different operating system such as between big-endian Linux/UNIX and little-endian Linux/Unix and Windows and Linux/Unix. It is because they are incompatible.

What are the backup options?


There are several backup option is available. You can read and go for below mentioned backup option:


Online and Offline

One can create backup online as well as offline. Offline backup is best and good because nobody can access your database file at the time of creating backup. And therefore you have to disable and stop all the connection before you create the backup.

Well, you may also go for online backup if database is allowed for online backups. But you must know that particular files that use archive logs only for those particular files you can create backup.

What if DB2 database gets corrupted and no backup is available?


Well, if your DB2 database got corrupted or if your db2 database file got corrupted due to unexpected scenarios such as virus infection, software failures, human errors, etc and you have not created the backup, then you can use DB2 file repair tool. It is designed to repair and restore the complete database file. It has the advanced algorithm that scans and detects the errors, corruption and fix and recover it very smoothly. The software comes with user friendly interface and hence it does not require skilled or technician to operate it. You can download the demo version absolutely free.

1 comment: