Gentoo Archives: gentoo-user

From: Daniel Quinn <gentoo@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Preserving the initial partionin/formatting of an usbstick
Date: Wed, 30 Mar 2016 11:08:57
Message-Id: 56FBB3BA.6050605@danielquinn.org
In Reply to: Re: [gentoo-user] Preserving the initial partionin/formatting of an usbstick by Meino.Cramer@gmx.de
1 On 29/03/16 17:18, Meino.Cramer@×××.de wrote:
2
3 The usbstick I want to make an initial backup is 64GB of size.
4 That means, I will backup mostly zeroes.
5
6 You could just use dd to take a full backup and then compress it. If it
7 is indeed mostly zeros it’ll compress very well:
8
9 |# dd if=/dev/usbstick | xz > usb.xz |
10
11 Of course you can use bzip, lbzip, gzip, etc. instead of xz too.
12
13

Replies