OVH Cloud OVH Cloud

help: pipe with tar

1 réponse
Avatar
Daniel Gélinas
Hi,

We have make a backup in a DDS3
cartridge with:
tar -cvpmf /dev/st0 -v "Data and programs"
--atime-preserve --preserve-permissions .

How to make a single tar gzip compress file
with the content of that tape cartridge?

We have tried:
tar -Oxvpf /dev/st0 | tar -zcpmf backup.tgz

But it doesn't work!

Please help us.

Thank you

Daniel
maridan@abacom.com

1 réponse

Avatar
Nicolas George
"Daniel Gélinas" wrote in message
<cgj8qn$gn9$:
We have tried:
tar -Oxvpf /dev/st0 | tar -zcpmf backup.tgz


You can try "gzip -9 < /dev/st0 > backup.tar.gz", and then wonder what the
fr, in "fr.comp.os.linux.configuration" means.