Home  >  Article  >  Operation and Maintenance  >  Can ghost be used in linux?

Can ghost be used in linux?

WBOY
WBOYOriginal
2022-07-12 10:27:575637browse

Ghost can be used in Linux; ghost is a tool for backing up partitions or files. Ghost can help the system simplify hard disk installation and simplify the minimum system. However, Linux cannot completely rely on the ghost tool because ghost itself is copyrighted. software, and only supports Linux partitions of ext2 and ext3 file systems, and does not support more advanced file systems such as reiserfs and xfs.

Can ghost be used in linux?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

Ghost can be used in Linux

Purpose: Back up a Linux partition and generate a backup file.

Wish: simple, safe and efficient.

Advantages of ghost:

Graphical and easy to use. There is a lot of help online. Mouse operation, multiple computers in the LAN can be restored at the same time. Support ntfs partition, etc. For Linux, ghost can help debian simplify the hard disk installation of the minimum system and simplify and stage the deployment of lfs. In addition, using server-client ghost technology, it can help the local area network to deploy Linux in batches, that is, 1-to-many network cloning.

Backup is a very important job for the server, which can prevent data loss caused by operating errors or system failures in the system. Commonly used backup methods include: regular tape backup data, remote tape library, optical disk library backup, network data mirroring, ghost, etc.

We can use the GHOST tool software to backup under Windows systems. Linux systems cannot completely rely on GHOST tool, firstly, GHOST itself is a copyrighted software, secondly, GHOST only supports Linux partitions of ext2 and ext3 file systems, and does not support more advanced file systems such as reiserfs and xfs. GHOST itself does not back up mbr, so it often causes The problem of grub error in the restored system.

Linux itself comes with excellent backup tools, such as traditional tar, cpio, dd, and new ones: bzip2, afio, etc. Here are two tools for backing up the entire Linux system, similar to ghost: ghost for linux and partition image for linux.

Expand knowledge

1 Start dos.

1 If you have a floppy drive, you can use the win98 boot disk to start the computer.

2 You can start it with the system maintenance CD.

3 If you have win, you can use a program like Dwarf to start from boot.ini.

Second run ghost

ghost must be version 8.3 or higher, you can find it for dos online. Select local---〉partition---〉to disk

Select the Linux partition you want to back up, and then select the target partition. OK.

Instructions:

1 The source partition must be in ext2/ext3 format. You can choose fat32 partition or ntfs partition as the target partition. If it is a fat32 partition, ghost automatically splits the file and compresses it automatically. I once compressed a 5GB ext3 partition into 1.7G

2. Under win, you can use ghostexplorer to open the compressed file and export a certain file.

3 The ghost8.2 version has problems writing to the ntfs partition under dos and is not recommended for use.

4 If you want to back up and restore the Linux partition under win, you can use ghost32. It is recommended to use a higher version, currently the highest version is 10. This is the simplest backup and recovery method, provided that you have win

5. Other third-party tools, such as acronis true image, are also available.

7 What are the partition types that ghost does not support?

Answer:

Currently supported partitions are: FAT16, FAT32, NTFS, EXT2/3

Not supported means:

1 cannot be compressed : A partition of 5 GB will be backed up to 5GB

2. The files in the package cannot be browsed or exported.

Instead of being unable to back up and restore.

Ghost This kind of program has a sector-by-sector backup and recovery function, and can back up and restore any partition. In other words, my method can back up any partition, including unix, Linux, win, dos, *bsd, etc., and any system from the past to the present to the future.

8 Try not to back up yourself on a running system. It's like not operating on yourself. If you want to use Linux to back up Linux, please find a livecd boot disk.

9 Try to use dd for backup in Linux. Try not to use file backup programs such as tar and cp. Use a file backup program to back up the partition. Some files marked as unbackable cannot be backed up, and some metadata cannot be backed up either. An obvious example is that tar cannot back up grub or lilo on this partition, as well as seLinux rules.

10 In terms of speed, many Linux distributions do not enable dma. Under Linux with dma enabled, the speed of dd and tar is far inferior to ghost.

11 The ghost -ib parameter can back up the boot area. The help says "the disk boot track include clone" and I don't know whether it refers to the boot area in the backup partition or the main boot area.

Complete the above steps to easily backup ghost on Linux.

Recommended learning: Linux video tutorial

The above is the detailed content of Can ghost be used in linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn