「Partclone」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「Category:ファイルシステム en:Partclone [http://partclone.org Partclone] は有名な [http://www.partimage.org/Main_Page Partimage] と同じように、...」) |
(他言語へのリンクを追加) |
||
| (3人の利用者による、間の6版が非表示) | |||
| 1行目: | 1行目: | ||
[[Category:ファイルシステム]] |
[[Category:ファイルシステム]] |
||
[[en:Partclone]] |
[[en:Partclone]] |
||
| + | [[es:Partclone]] |
||
| − | [http://partclone.org Partclone] は有名な [http://www.partimage.org/Main_Page Partimage] と同じように、使用しているブロックだけを考慮してパーティションのバックアップ・リストをすることができます。 |
||
| + | [[pt:Partclone]] |
||
| + | [[ru:Partclone]] |
||
| + | [[zh-hans:Partclone]] |
||
| + | [https://partclone.org Partclone] は有名な [http://www.partimage.org/Main_Page Partimage] と同じように、使用しているブロックだけを考慮してパーティションのバックアップ・リストアをすることができます。 |
||
| − | ==インストール== |
+ | == インストール == |
| − | [[公式リポジトリ]]から {{Pkg|partclone}} をインストールしてください。 |
+ | [[公式リポジトリ]] から {{Pkg|partclone}} をインストールしてください。 |
| − | ==ext4 でフォーマットされたパーティションで Partclone を使う== |
+ | == ext4 でフォーマットされたパーティションで Partclone を使う == |
| − | ===圧縮を使用しない=== |
+ | === 圧縮を使用しない === |
| − | 圧縮を''使わないで''バックアップするには: |
+ | 圧縮を '''使わないで''' バックアップするには: |
| + | |||
| − | $ partclone.ext4 -c -s /dev/sda1 -o ~/image_sda1.pcl |
||
| + | # partclone.ext4 -c -s /dev/sda1 -o ~/image_sda1.pcl |
||
リストアするには: |
リストアするには: |
||
| − | $ partclone.ext4 -r -s ~/image_sda1.pcl -o /dev/sda1 |
||
| + | # partclone.ext4 -r -s ~/image_sda1.pcl -o /dev/sda1 |
||
| − | ===圧縮を使用する=== |
||
| − | 圧縮を |
+ | === 圧縮を使用する === |
| − | $ partclone.ext4 -c -s /dev/sda1 | gzip -c > ~/image_sda1.pcl.gz |
||
| + | 圧縮を'''使って'''バックアップするには: |
||
| − | {{Note|最大限圧縮したいときは "gzip -c9" を使ってください。}} |
||
| + | |||
| + | # partclone.ext4 -c -s /dev/sda1 | gzip -c > ~/image_sda1.pcl.gz |
||
| + | |||
| + | {{Note|最大限の圧縮を行うには、{{ic|gzip -c9}} を使用するか、他の [[アーカイブと圧縮#圧縮ツール|圧縮ツール]] を試してください。}} |
||
リストアするには: |
リストアするには: |
||
| + | |||
| − | zcat ~/image_sda1.pcl.gz | partclone.ext4 -r -o /dev/sda1 |
||
| + | # zcat ~/image_sda1.pcl.gz | partclone.ext4 -r -o /dev/sda1 |
||
2023年10月23日 (月) 04:06時点における最新版
Partclone は有名な Partimage と同じように、使用しているブロックだけを考慮してパーティションのバックアップ・リストアをすることができます。
インストール
公式リポジトリ から partclone をインストールしてください。
ext4 でフォーマットされたパーティションで Partclone を使う
圧縮を使用しない
圧縮を 使わないで バックアップするには:
# partclone.ext4 -c -s /dev/sda1 -o ~/image_sda1.pcl
リストアするには:
# partclone.ext4 -r -s ~/image_sda1.pcl -o /dev/sda1
圧縮を使用する
圧縮を使ってバックアップするには:
# partclone.ext4 -c -s /dev/sda1 | gzip -c > ~/image_sda1.pcl.gz
リストアするには:
# zcat ~/image_sda1.pcl.gz | partclone.ext4 -r -o /dev/sda1