鐵之狂傲

 取回密碼
 註冊
搜尋

切換到指定樓層
1#
不需特殊軟體利用多重系統備份和還原GNU/Linux
No special software system backup and restore multiple use GNU/Linux
201609084-1-Fedora_Core_2_Linux-laTW-gnome2-GIMP-jpegQ85-thCOM-UIC.jpg
備份GNU/Linux很簡單不需特殊軟體就可以做了,
但需要多重開機,以另外一個GNU/Linux來備份,
未來還原還是要靠另外一個GNU/Linux來還原
Backup GNU/Linux is very simple without special software can do,
But the need for multiple boot, in addition to a GNU/Linux to back up,
Future reduction or rely on another GNU/Linux to restore

mount /dev/hda4 /mnt/hd4
把第一顆IDE硬碟第四分割區掛載到/mnt/hd4路徑目錄去
The first one fourth IDE hard disk partition to
mount /mnt/hd4 path to the directory

mount /dev/sda1 /mnt/sd1
把第一顆USB隨身碟第一分割區掛載到/mnt/sd1路徑目錄去
The first one USB flash drive first partition to
mount /mnt/sd1 path to the directory

cd /mnt
把工作路徑切換到/mnt目錄
The working path is switched to the directory /mnt

tar -zcf /mnt/sd1/1/Linux/hd4/SuSE7P2.tar.gz hd4
備份第一顆IDE硬碟第四分割區到USB隨身碟
到資料夾1/Linux/hd4/檔案名稱為SuSE7P2.tar.gz
Backup first one fourth IDE hard drive partition to USB drive
To folder 1/Linux/hd4/file name SuSE7P2.tar.gz
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
還原方法
Restore Methods

mount /dev/hda4 /mnt/hd4
把第一顆IDE硬碟第四分割區掛載到/mnt/hd4路徑目錄去
The first one fourth IDE hard disk partition to
mount /mnt/hd4 path to the directory

mount /dev/sda1 /mnt/sd1
把第一顆USB隨身碟第一分割區掛載到/mnt/sd1路徑目錄去
The first one USB flash drive first partition to
mount /mnt/sd1 path to the directory

cd /mnt
把工作路徑切換到/mnt目錄
The working path is switched to the directory /mnt

rm -rf hd4
強制刪除hd4目錄
Force delete directory hd4

tar -zxf /mnt/sd1/1/Linux/hd4/SuSE7P2.tar.gz
把USB隨身碟中資料夾1/Linux/hd4/檔案名稱為SuSE7P2.tar.gz
還原到第一顆IDE硬碟第四分割區
The USB flash drive folder 1/Linux/hd4/ file name SuSE7P2.tar.gz
The first restored to a fourth IDE hard disk partition
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201609084-1-Fedora_Core_2_Linux-laTW-gnome2-GIMP-jpegQ85-thCOM-UIC.jpg
截圖時間: 2016年, 9月, 8, 木曜日 (日月火水木金土)
作業系統: Fedora Core 2 Linux
視窗環境: gnome2
截圖軟體: gimp
登入語系:中文(台灣)
Screenshot time - 2016, September, 8, Thursday
OS system - Fedora Core 2 Linux
WM (Window Manager) - gnome2
Screenshot software - gimp
Login Language: Chinese (Taiwan)
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
In order unnecessary misunderstanding:
I do not know English
English is translated using google translate
If you need to translate,
please use Chinese to translate more accurate.
https://translate.google.com/
為了不必要的誤會:小皇不懂英文,
英文都是用google translate翻譯的,
若需要翻譯請用中文來翻譯比較準確.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
https://www.facebook.com/spuic
轉播0 分享0 收藏0

回覆 使用道具 檢舉

全世界最先進的跳動筆
你需要登入後才可以回覆 登入 | 註冊

存檔|手機版|聯絡我們|新聞提供|鐵之狂傲

GMT+8, 24-4-24 10:12 , Processed in 2.801807 second(s), 18 queries , Gzip On.

回頂部