The present invention discloses a method for backing up and restoring a Windows
operating system. The method comprises: firstly, adding a Chinese
font into a FreeBSD kernel, and simultaneously modifying a
font acquisition function of the kernel, so as to implement kernel-level Chinese display support; secondly, combining a GRUB2 boot manager that simultaneously supports
BIOS (Basic Input / Output
System) and UEFI specification, the FreeBSD kernel that is modified into a Chinese way, a
user space program that implements
backup and restoration functions, and a storage space that stores a
backup file, so as to form a
backup and restoration
system; thirdly, by means of one of three
modes of a local hard disk, an external memory and a PXE network, starting the backup and restoration
system, and separately mounting a ZFS or NFS
file system according to different starting
modes; fourthly, by means of a sequence number module, calculating a "host sequence number" and a "hard disk sequence number" of a local computer, and using the sequence number as a unique sequence number, and checking whether a corresponding backup file exists; and finally, entering a "backup" or " restoration" process according to selection of a user.