RE: Multiple File backup
Posted in 2003
Jack A wrote
>
>
> I have 6GB in 2 file systems say /a and /b. I need to back up
> to disk. How
> do i back up a 5G instance to split across the filesystems ?
> It probably
> goes something like this ...
>
The following has been tested on 9.4 FC2 and Tru64 5.1A
touch /fs1/tape1.dat /fs2/tape2.dat
chmod 660 /fs1/tape1.dat /fs2/tape2.dat
ln -s -f /fs1/tape1.dat TAPEBACK
Set up TAPEDEV in onmonitor to TAPEBACK with size 3000000 (3GB)
ontape -s When prompted for second tape, in another window
ln -s -f /fs2/tape2.dat TAPEBACK
Of course better than this is Rob Verbroker's --
mknod ontape_pipe p (Set TAPEDEV in onconfig file to this value)
touch compressed_ontape_file.Z
chmod 660 ontape_pipe compressed_ontape_file.Z
compress < ontape_pipe > compressed_ontape_file.Z &
echo '0\\n\\n' | ontape -s
This takes my tested 1.6GB instance to 266MB.
Colin Bull
c.bull@videonetworks.com
sending to informix-list