Many thanks for your speedy response, Helmut, Almost there.
I just tried a disk to disk tar on a 590M folder, with a tape length of 100000x1024=100M, I get # du -ksx 2003 603910 2003 # tar -c -M -L 100000 -f /disks/sunny1/system/2003.tar 2003 Prepare volume #2 for `/disks/sunny1/system/2003.tar' and hit return: Prepare volume #3 for `/disks/sunny1/system/2003.tar' and hit return: Prepare volume #4 for `/disks/sunny1/system/2003.tar' and hit return: Prepare volume #5 for `/disks/sunny1/system/2003.tar' and hit return: Prepare volume #6 for `/disks/sunny1/system/2003.tar' and hit return: Prepare volume #7 for `/disks/sunny1/system/2003.tar' and hit return: # ls -ls /disks/sunny1/system total 3364 3260 -rw-r--r-- 1 root root 3338240 Mar 28 09:11 2003.tar The output file is over-written by the subsequent volume. Is it possible to have the output tar file name to be incremented with a number? Also, each new volume it requires the caller to "hit return" to continue, can that be made without? I should have mentioned that I was intending to set up a method to backup a large amount of data, disk to disk, and the shelf the disks as an archive. So the multi-volume option is what I need, but with an automated filename extension for each volume. Thanks once again. Peter -----Original Message----- From: Helmut Waitzmann [mailto:[EMAIL PROTECTED] Sent: 28 March 2008 06:26 To: Chiu, PCM (Peter) Cc: Sergey Poznyakoff; [email protected] Subject: Re: [Bug-tar] A couple of requests on tar "Chiu, PCM (Peter)" <[EMAIL PROTECTED]> writes: >Is it possible >a. to set a size on the output tar file, say 500GB, and when reached, >close the current tar file and automatically resumes with a new tar >file, You might try to create a multi-volume archive, supplying an appropriate tape-length parameter. >b. to provide a listing during the tar operation to show exactly what it >contains? You might use the '-v' option. -- Wer mir E-Mail schreiben will, stelle | When writing me e-mail, please bitte vor meine E-Mail-Adresse meinen | precede my e-mail address with Vor- und Nachnamen, etwa so: | my full name, like Helmut Waitzmann <[EMAIL PROTECTED]>, (Helmut Waitzmann) [EMAIL PROTECTED]
