From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652422045.tru64-unix-managers.marc@archive.invalid> From: Computer Services Directorate Date: Wed, 25 Jul 2001 05:37:35 +0000 To: tru64-unix-managers Subject: cpio backup... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652422045 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------=_NextPart_000_0012_01C114E5.0E211540" This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C114E5.0E211540 Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: quoted-printable We have new DS20Es with Tru64 v5.1 (patch kit 2) and intend using "cpio" = for our backups (as we are doing in the existing NCR hosts). However, I = have noticed a strange difference. On the NCR Unix, I use "cpio -ocvB = -O{tape drive} >{output file} 2>{error file}" to copy to tape and the = "error file" holds the number of blocks. After this, I read back the = tape with "cpio -itv -I{tape drive} >{output file} 2>{error file}" and = the "error file" again holds the number of blocks; thus making the job = of checking scheduled backup (done off-office hrs in our case) logs = quite easy. On the Tru64, the whole process works with cpio needing "-itvB" to read = back. However, I have noticed that the error file during copying = contains NOTHING and the blocks are APPENDED to the output file. Also, = on read back, both the output and error files are NOT written DURING the = read back process (as in the case of our NCR system) but AFTER reading = the entire backup. Any idea whether this is how cpio functions in Tru64 or am I missing out = on some parameter? Harihar K (Network Manager) ------=_NextPart_000_0012_01C114E5.0E211540 Content-Type: text/html; charset="windows-1256" Content-Transfer-Encoding: quoted-printable
We have new DS20Es with Tru64 v5.1 = (patch kit 2)=20 and intend using "cpio" for our backups (as we are doing in the existing = NCR=20 hosts). However, I have noticed a strange difference. On the NCR Unix, I = use=20 "cpio -ocvB -O{tape drive} >{output file} 2>{error file}" to copy = to tape=20 and the "error file" holds the number of blocks. After this, I read back = the=20 tape with "cpio -itv -I{tape drive} >{output file} 2>{error file}" = and the=20 "error file" again holds the number of blocks; thus making the job of = checking=20 scheduled backup (done off-office hrs in our case) logs quite = easy.
 
On the Tru64, the whole process works = with cpio=20 needing "-itvB" to read back. However, I have noticed that the error = file during=20 copying contains NOTHING and the blocks are APPENDED to the = output=20 file. Also, on read back, both the output and error files are NOT=20 written DURING the read back process (as in the case of our NCR = system) but=20 AFTER reading the entire backup.
 
Any idea whether this is how cpio = functions in=20 Tru64 or am I missing out on some parameter?
 
 
Harihar K
(Network = Manager)
------=_NextPart_000_0012_01C114E5.0E211540--