How to Back up UNIX systems

Source: Internet
Author: User

SCO UNIX system is widely used in finance and insurance industry because of its stable and reliable characteristics, but its installation and maintenance is not easy for the professional and technical personnel. The system that the writer maintains, installs the SCO UNIX operating system, Informix database and other application software, after installing also adjusts the core parameter, installs the equipment and the link core. It takes several hours to install a complete system. If you make a system backup, then when the system fails, there is no need to rush to install and configure the system. The following is the author summed up the production of UNIX system backup four ways.

Method One: Using Hdcopy

It is a real hard disk physical copy software, requires the physical structure of the two hard disks must be the same, hdcopy support any file system. The following examples illustrate:

If the blank target disk to be copied is: Clys=4969,heads=16,sec=63,sco UNIX System Source disk is: clys=2484,heads=16,sec=63, the source disk of SCO UNIX partition accounted for 528M (cly=1024,heads= 16,sec=63), then:

1. Connect the target disk with the SCO UNIX system source disk that needs to be backed up on the same machine and the target disk as the second hard drive.

2. Start the machine, enter the CMOS settings the above two hard drive parameters are set to: clys=1024,heads=16,sec=63 (note that in this case the Clys value should be greater than or equal to 1024).

3. Reboot, after using a DOS disk boot, run hdcopy, the setting is simple, follow the prompts to enter clys=1024,heads=16,sec=63 after the prompt line: please sure cly=1024,sec=63,heads=16 [y/n], Enter "Y" to start copying.

This method makes the system backup fast, the above example replication process takes only 4 minutes.

Method II: Using Ghost Replication System

When you install the SCO UNIX operating system partition, 65 tracks are reserved for startup and diagnostics instead of being assigned to the UNIX partition. If you use Ghost "disk to disk Copy", the process will automatically put the remaining 65 tracks into the UNIX partition, which will cause some applications can not be used normally. So in practice, we should choose another method provided by Ghost to clone: Partition to partition. The method is:

1. Ditto first to connect SCO UNIX system source disk and a blank target disk as the second hard disk.

2. The target disk is partitioned first to match the partition in the source disk, with two specific approaches:

(1) using Aefdisk.exe, it is a DOS disk partition program, support all partition format, use simple, can create, delete any currently known partition format. First boot the system with a DOS disk and execute the aefdisk command line, assuming that you want to build a 1.2G SCO UNIX partition and activate the boot partition on the second hard drive, enter the following command:

Aefdisk 2/pri:1200:63:1 (2 for second hard drive, 63 for UNIX partition, 1 for partition number)

Aefdisk 2/activate:1 (Activate boot partition)

(2) boot as root into the Source disk Unix system, type the FDISK command. FDISK will operate on the/DEV/RHD00 device, which is the source disk. Display the partition table by number 1, note the starting and ending positions of the SCO UNIX partition, and then retreat to the command state and install the second hard drive.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.