Skip to Content »

Tech Life of Recht » xfsdump/xfsrestore

 xfsdump/xfsrestore

  • January 5th, 2007
  • 7:50 pm

Because I’m going to need this later, and I don’t want to forget:

Dump xfs to a remote host:
xfsdump -l0 – /mnt | gzip -c | ssh user@host dd of=/somewhere/backup.dgz

Restore xfs from remote host:
ssh user@host “dd if=/somewhere/backup.dgz” | gunzip -c | xfsrestore – /mnt

Want your say?

* Required fields. Your e-mail address will not be published on this site

You can use the following XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>