Unix Technical Forum

RE: Multiple File backup

This is a discussion on RE: Multiple File backup within the Informix forums, part of the Database Server Software category; --> Jack A wrote > > > I have 6GB in 2 file systems say /a and /b. I need ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:29 PM
Colin Bull
 
Posts: n/a
Default RE: Multiple File backup




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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com