On 9/4/19 11:24 PM, Francis.Montagnac@xxxxxxxx wrote:
Hi.
On Wed, 04 Sep 2019 22:55:56 -0700 ToddAndMargo via users wrote:
This is what I finally wound up doing to back up this stick.
Dead Stick is a play on words off of Live USB:
Backup:
1) shutdown: zero out unused space
...
# zerofree -v /dev/sd..
Beware that zerofree only works for ext filesystems.
2) shutdown: make a dd and gzip
...
# dd bs=4096 if=/dev/sdx of=DeadStick.[date]
# gzip DeadStick.[date] # creates DeadStick.[date].gz
# rm DeadStick.[date]
If you have a recent version of dd (for status=progress), you may try:
dd bs=4096 if=/dev/sdx status=progress | gzip DeadStick.[date].gz
and if you have pigz (faster than gzip):
dd bs=4096 if=/dev/sdx status=progress | pigz DeadStick.[date].gz
That will save the intermediate full backup and show periodically the
transfer rate.
You may also save less disk space in the backup than with gzip, but (I
think) gain in speed by doing a sparse file (again with a recent dd):
dd bs=4096 if=/dev/sdx of=DeadStick.[date] conv=sparse status=progress
Hi Francis,
Thank you!
status=progress, got to try that next time! I usually
open another terminal and peek.
The partitions in question are Ext4.
If Windows read Ext4, I'd convert all my flash drives over to it.
-T
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx