Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
lpi2:xfs [2016/06/21 10:13] ingo_wichmann |
lpi2:xfs [2017/01/24 17:01] ingo_wichmann [xfsdump] |
||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
Debian 6: xfsprogs xfsdump | Debian 6: xfsprogs xfsdump | ||
===== xfs Dateisystem anlegen ===== | ===== xfs Dateisystem anlegen ===== | ||
- | Dieses Beispiel setzt voraus, dass schon eine [[lvm|LVM VolumeGroup]] ''vg_centos6'' existiert, und darin noch mindestens 3 G frei sind. | + | Dieses Beispiel setzt voraus, dass eine [[lpi1:lvm|LVM VolumeGroup]] namens ''vg_centos6'' existiert, und darin noch mindestens 3 G frei sind. |
Logical Volumes anlegen: | Logical Volumes anlegen: | ||
Zeile 22: | Zeile 22: | ||
===== xfsdump ===== | ===== xfsdump ===== | ||
- | Backup anlegen: | + | Voll-Backup anlegen: |
year=$(date '+%G') | year=$(date '+%G') | ||
week=$(date '+%V') | week=$(date '+%V') | ||
Zeile 54: | Zeile 54: | ||
(xfsrestore dialog) | (xfsrestore dialog) | ||
add test1.txt | add test1.txt | ||
- | quit | + | extract |
(bash) | (bash) | ||
ls /mnt/xfs_production/test1.txt | ls /mnt/xfs_production/test1.txt |