mactricks.de
Linux • MacOSX • Windows
Tips & Tricks for PC and Mac Computers
  • Startseite
  • Hardware
  • Software
  • Betriebssystem
  • Programmieren
  • Sonstiges
  • SiteMap
  • Credits
  • MacOSX
  • Linux
    • shell skripte
    • PDF Dateien zusammenfügen
    • Bash Tipps
    • Dateien in Unterverzeichnissen löschen
    • Backup in Image Dateien
    • initrd bearbeiten
    • DVB geht nicht !
    • Webmin - No Login !
    • Linux Rechte
    • PPTP (VPN) mit Linux
    • Server installieren
    • shell Einzeiler
    • Linux PXE Server
    • Linux Tips
    • VHCS SSI Template
  • Windows

Index » Betriebssystem » Linux » Backup in Image Dateien

    Inhaltsverzeichnis

  1. ↓ Backup (single file)
  2. ↓ Backup (split file 2GB)
  3. ↓ Restore (single file)
  4. ↓ Restore (split file)

↑ Backup (single file)  #

Disk to Disk:

Bash
1
dd if=/dev/hdx of=/dev/hdy

Disk to Image (compressed):

Bash
1
dd if=/dev/hdx | gzip -9 > /path/to/image.gz


↑ Backup (split file 2GB)  #

Disk to Image (compressed)

Bash
1
dd if=/dev/hda1 | gzip -c -9 | split -b 2000m - /mnt/hdc1/backup.img.gz.


↑ Restore (single file)  #

Image to Disk:

Bash
1
dd if=/path/to/image of=/dev/hdx



Image (compressed) to Disk:

Bash
1
gzip -dc /path/to/image.gz | dd of=/dev/hdx


↑ Restore (split file)  #

Bash
1
cat /mnt/hdc1/backup.img.gz.* | gzip -dc | dd of=/dev/hda1


0 Kommentare für 'Backup in Image Dateien':
    Es existiert kein Kommentar für 'Backup in Image Dateien'

laden...

Kommentar hinterlassen
tag navi dd | gzip | image | split

permalink

© 2001 - 2010 A.Hopek •  Anmelden • powered by PyLucid v0.10.3.0112 • render time: 706.5 ms - overall: 1.0 sec