Page 1 of 1

Restoring Compressed FSA

Posted: Mon Oct 12, 2009 8:42 pm
by mguhlin
Howdy! If I compress a partition backup with the following command:
fsarchiver savefs -z2 /mnt/backup/netbook.fsa /dev/sda2

what command do I need to restore it so that it uncompresses the compressed archive?

Otherwise, great work! I wrote about it in my blog at:
http://www.mguhlin.org/2009/10/fsarchiv ... -data.html

With appreciation,

Miguel Guhlin
http://mguhlin.org

Re: Restoring Compressed FSA

Posted: Mon Oct 12, 2009 10:16 pm
by admin
fsarchiver has built-in compression, and 9 levels are available: -z1 is very quick and provides bad compression, and -z9 is very slow and provides very good compresison. You only have to choose the level when you do the "savefs". It will automatically uncompress it during the "restfs". If you have more than one core in your cpu, you can make the compression faster using -j2 (for two compression threads), -j4, ...

The quick start guide, and the page about compression will give you more details:
http://www.fsarchiver.org/QuickStart
http://www.fsarchiver.org/Compression

Re: Restoring Compressed FSA

Posted: Mon Oct 12, 2009 10:56 pm
by mguhlin
Thank you for the prompt response!

With appreciation,
Miguel Guhlin
http://mguhlin.org