Monday, February 18, 2008

Unix Backup and Restoration

Data is the life blood of any organization and you need to keep it safe in order to save your organization. To prevent your data from loss, you need to backup it. Backup is the process of storing data to other removable storage media like CD-ROM, Pen Drive, or Tape Drive. Backup is the most helpful method in restoring data after data loss; no matter what operating system you are using either UNIX or windows.

UNIX systems come with several basic inbuilt backup options, including tar, dd, and dump.
• Tar: Tar stands for “tape archive”. It was originally designed to backup data on tape drive, but is actually a general purpose library program. A library program is a tool that copies a large amount of data into one larger file for easy data management.
Syntax: tar –cvf //

• Dd: dd is a very low level command for copying data. It is most commonly used to making exact copy of the drive.
Syntax: dd if=/ of=/

• It is the newest UNIX backup command, designed for simplified backups of complete file system.
Syntax: dump –oua –f / /
If you have taken the proper backup of your data, then you can restore it whenever required. However, in fact something always arises to require a restore. To restore the data you can use the following command:
To restore all data: restore –r
To restore single file: restore –i

In this way, you can recover your valuable UNIX data, using your backup. But in case, when you don’t have any backup or you failed to restore data using your backup, you may suffer data loss. In these circumstances, you need for UNIX data recovery software to restore you lost data.

Unix Data Recovery software are the software programs that are specially designed for data recovery from UNIX based computers. These software uses advanced searching algorithms to search and locate the lost data and can restore them to specified location on your hard drive.