
Hi, On Mon, 24 Jul 2006, Christian Boltz wrote:
Hallo Jürgen, hallo Thomas, hallo Leute,
Am Montag, 24. Juli 2006 17:13 schrieb Dr. Jürgen Vollmer:
Am Montag, 24. Juli 2006 16:58 schrieb Thomas Becker:
http://suse-linux-faq.koehntopp.de/q/q-backup-nicht_targz.html Ist da ein Unterschied zwischen tar und tar.gz bzw tar.bz2 oder betrifft das nur tar?
nein wie in der URL beschreiben, wird das entstehende tar-Fiel komprimiert also in etwa so: tar ... | gzip ... > /dev/tape aber da die DAT-Tapes sowieso komprimieren (können), macht es IMHO auch keinen grossen Sinn das Tar-File mit gzip/bzip2 zu komprimieren
Es macht allerdings noch weniger Sinn, die Hardware-Komprimierung des Bandlaufwerks zu nutzen. Die ist nämlich oft hardware-spezifisch und verträgt sich nicht mit einem neuen Bandlaufwerk, wenn das vorhandene mal kaputtgeht. (So stand das zumindest schon in diversen Mails, mangels Bandlaufwerk habe ich es nie getestet ;-)
BTW: Wer hat Lust, einen FAQ-Beitrag über ein Tool zu schreiben, das _dateiweise_ komprimiert? Bitte bei mir oder in der FAQ-Mailingliste melden ;-)
FAG Eintrag... <snip man afio> Create an archive with compressed files: find .... | afio -o -v -Z /dev/fd0H1440 Install (unpack) an archive with compressed files: afio -i -v -Z achive Install (unpack) an archive with compressed files, protecting newer existing files: afio -i -v -Z -n achive Create an archive with compressed files on floppy disks: find .... | afio -o -v -s 1440k -F -Z /dev/fd0H1440 Create an archive with all file contents encrypted by pgp: export PGPPASSFD=3 find .... | afio -ovz -Z -U -P pgp -Q -fc -Q +verbose=0 -3 3 archive 3<passphrasefile Create an archive on recordable CDs using the cdrecord utility to write each CD: find .... | afio -o -b 2048 -s325000x -v '!cdrecord .... -' Extract a single named file from an archive on /dev/tape: afio -i -v -Z -y /home/me/thedir/thefile /dev/tape (If these do not exist yet, afio will also create the enclosing directories home/me/myfiledir under current working directory.) Extract files matching a pattern from an archive on /dev/tape: afio -i -v -Z -y '/home/me/*' /dev/tape (If these do not exist yet, afio will also create the enclosing directories home/me under current working directory.) If your filesystem cannot handle files larger than 2GB, but you want to make an archive on that filesystem that is larger than 2GB, you use the fol- lowing trick to split the archive into multiple files of each 1 GB: find /home | afio -o ... - | split -b1024m - archive. the files will be called archive.aa, archive.ab, etc. You can restore the whole archive using: cat archive.* | afio -i ... - The wildcard expansion by the shell will ensure that cat will read the parts in the right (alphabetic) order. <snap man afio> Greetings Daniel -- Keiner bewegt sich! ...dann treffe ich besser. -- Stefan -- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-linux-unsubscribe@suse.com Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-linux-help@suse.com