But eventually it's an zfs snapshot stream after decompression.

-----------------------------------------------------

Best Regards,


Yuanjie Zheng

[email protected]

________________________________
发件人: Humberto Ramirez <[email protected]>
发送时间: 2016年8月18日 11:50:38
收件人: [email protected]
主题: Re: [smartos-discuss] Export the dataset as docker image or container's 
filesystem

You would do something like:

zfs send filesystem@snapshot | tar czvf zfsfile.tar.gz

Or you can also use plain gzip:

zfs send filesystem@snapshot | gzip > zfsfile.gz




On Wed, Aug 17, 2016 at 11:26 PM, 郑圆杰 <[email protected]> wrote:
> Hi all,
>
>
> We run docker image on lx zone, and captured an snapshot as zfs snapshot
> stream.
>
> Is there a way to export the dataset as tar?
>
>
>
>
>
> -----------------------------------------------------
>
> Best Regards,
>
>
> Yuanjie Zheng
>
> [email protected]
>
> smartos-discuss | Archives | Modify Your Subscription
 
 



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to