Restoring Compressed FSA

Post here if you have questions about how to use the program
Post Reply
mguhlin
Posts: 3
Joined: Mon Oct 12, 2009 8:40 pm

Restoring Compressed FSA

Post by mguhlin » Mon Oct 12, 2009 8:42 pm

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

admin
Site Admin
Posts: 550
Joined: Sat Feb 21, 2004 12:12 pm

Re: Restoring Compressed FSA

Post by admin » Mon Oct 12, 2009 10:16 pm

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

mguhlin
Posts: 3
Joined: Mon Oct 12, 2009 8:40 pm

Re: Restoring Compressed FSA

Post by mguhlin » Mon Oct 12, 2009 10:56 pm

Thank you for the prompt response!

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

Post Reply