本文共 8081 字,大约阅读时间需要 26 分钟。
is the directory backup and transfer tool for Linux. It is installed by default in Ubuntu. It can provide any type of backup, and options are extensive. Several GUI frontends for Rsync are listed .
is a GTK-based GUI front-end for Rsync. Install:
sudo apt-get install grsync
is the most widely-used GTK-based open source (GPL-licensed) network backup utility that is used in both server and desktop installations. A catalogue of backups can be maintained using MySQL, PostgreSQL, or SQLite. For more info see the . Both text-based and GUI frontends are available. Install the MySQL version:
sudo apt-get install bacula
is a simple backup and restore utility for the GTK-desktop. Install:
sudo apt-get install sbackup
is a QT/KDE based backup utility used in previous versions of Ubuntu. It is no longer maintained and is not included in Ubuntu by default. Install:
sudo apt-get install keep
Run:
is a free open-source utility to back up an entire partition into an .iso image. It can be used across a network, as well. Install and run:
sudo apt-get install partimagesudo partimage
Partimage cannot be used from within the partition you wish to backup. You will either have to run it from a different partition or from a . (A serious limitation of Partimage is its inability to backup/restore split image files to/from multiple media (e.g. spanned DVDs/CDs), limiting its usefulness as an inexpensive cloning and distribution solution. Partition image backup/restoration must be to/from a single hard drive, large capacity USB stick, or networked storage space.)
An entire partition's filesystem can easily be copied to another partition using the cp -a command. (However, this cannot be done for the partition of a filesystem that is running. Use the (K)Ubuntu LiveCD to copy partitions when necessary.) Obviously the destination partition should be as large or larger than the source partition, and while not necessary, probably is best if both partitions are of the same filesystem type (e.g. ext4). Use to create or manipulate the destination partition, if necessary. To copy the entire filesystem, for example, from the ext4 partition /dev/sda6 into the ext4 partition at/dev/sda7, mount both partitions:
sudo mkdir /media/partsda6sudo mkdir /media/partsda7sudo mount /dev/sda6 -t ext4 /media/partsda6sudo mount /dev/sda7 -t ext4 /media/partsda7
Then merely copy the contents from one partition to the other:
sudo cp -a /media/partsda6/* /media/partsda7
sudo blkid
Edit fstab so that the UUIDs are correctly reflected there.
sudo du /media/partsda6sudo du /media/partsda7
is a *nix command that enables the copying of files or an entire disk using a single command. Parameters must be precisely specified to avoid risk of accidentally erasing data. See or for detailed options. You cannot copy a hard drive that contains the operating system you are currently running. Instead, boot into a LiveCD and run the dd command that way. An example command to copy Hard drive X to Hard drive Y is:
dd if=/dev/hdx of=/dev/hdy
is a utility to backup the filesystem by files (instead of by partition blocks). A filesystem backed up in this way can be moved to a different sized partition or another disk filesystem altogether (e.g. from ext3 to ext4). Backups can be split and stored on (and restored from) spanned media (e.g. multiple DVDs/CDs). It is included in the . Install:
sudo apt-get install fsarchiver
is a LiveCD that includes important utilities such as , , ddrescue, , and. Several of these utilities cannot be used from within a running partition, so using them from a LiveCD is often necessary. and the LiveCD from the website.
allows the backup or duplication of a partition for a single machine or for multiple machines over a network. (It is similar to Norton Ghost.) It includes , , and other utilities. It is as a LiveCD which can then be . (A serious limitation of Clonezilla is its inability to backup/restore split image files to/from multiple media (e.g. spanned DVDs/CDs), limiting its usefulness as an inexpensive cloning and distribution solution. Partition image backup/restoration must be to/from a single hard drive, large capacity USB stick, or networked storage space.)
sudo apt-get install uck
Debian and (K)Ubuntu Linux operating systems can be "remastered" and customized (using one of a number of utilities) for re-distribution. (See .) This enables an organization to pre-load desired applications and customizations for distribution among its members, while preserving the intrinsic architecture and function of (K)Ubuntu. The customized (K)Ubuntu OS can then be distributed on a CD or on a USB flashdrive. Users are then free to further customize the OS, or even to revert back to the original default (K)Ubuntu settings. Also see the .
sudo apt-get install oem-config-gtk
The (K)Ubuntu LiveCD can be installed on and run from a USB pendrive. Settings can be "persistently" saved (but the LiveCD kernel modules can not be upgraded). Programs can be installed and run, however, and files saved to the USB drive. (The installed programs will remain installed). A is needed to do the installation. For additional info, see the , the or the .
The USB "LiveCD" can be used to install (K)Ubuntu on computers (including ) that do not have CD-ROM/DVD drives. See these instructions to .
USB pendrives to be used to run (K)Ubuntu should have a minimum of 2 Gb (preferably 4 Gb). If you wish to install a fast, fully functional Linux system on a pendrive that has less memory than that, use or .
You can make a "LiveCD" on a USB pendrive using USB Creator and either a LiveCD or an .iso version of the LiveCD stored on your hard drive. USB Creator is installed by default in (K)Ubuntu. If not, install:
sudo apt-get install usb-creator-gtk
Many computers do not allow booting from a USB drive (but they do allow booting from the CD-ROM). You can create a CD-ROM using and set your BIOS to boot from this CD-ROM. When you boot from this CD-ROM, it will use the bootup files on the (K)Ubuntu USB drive you previously created (in the step above).
原文链接:http://ubuntuguide.org/wiki/Ubuntu_Trusty_System_Backup
转载地址:http://umzqi.baihongyu.com/