1834018 Members
2784 Online
110063 Solutions
New Discussion

tar backup

 
prakasse
Advisor

tar backup

we are trying to copy a databse file(300 GB) from EVA into tape. the commands
like tar and dump don't support beyond file size if 2 GB. Kindly let
me know if there are any workaround?

Thanks in advance, Senthil.
5 REPLIES 5
Peter Godron
Honored Contributor

Re: tar backup

Hi,
how about fbackup ?
DCE
Honored Contributor

Re: tar backup



You can use the tar profram from the HP-UX porting and Archiving center

http://gatekeep.cs.utah.edu/hppd/hpux/Gnu/tar-1.15.1/

It has large file support
Jaime Bolanos Rojas.
Honored Contributor

Re: tar backup

prakasse,

To copy things you have several option, to do a backup fbackup would be better. Take a loot at this limitations:

* cp - minor bug fixed in patch PHCO_31542
* cpio - not supported over 2Gbytes
* tar / pax - 8Gbyte limit per man page
* ftp - no known issues
* rcp - no known issues. Earlier releases patched and rolled into 11.23
* rsync - HP Supplies a port of version 2.6.4 at http://software.hp.com in
the Internet Expres A.05.00 package. Its not believed that this version has
largefile support. This bug was fixed in version 2.6.5 according to the
rsync open source site http://samba.anu.edu.au/rsync/
* NFS Version 3 - Patch in PHNE_32056 or later.
* scp and sftp - No known bugs with largefiles.

Regards,

Jaime.
Work hard when the need comes out.
Bill Hassell
Honored Contributor

Re: tar backup

AS mentioned, fbackup is the choice. It is far more efficient than tar by using multiple reader processes, an absolute requirement to keep modern tape drives running at full speed. tar, cpio, dump, etc, are legacy and should only be used for exchange of small files between non-HP-UX systems. Note that you must always use a config file to match modern tape drives:

blocksperrecord 4096
records 64
checkpointfreq 4096
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 2000

---------------------------------------------

Example for a complete backup starting at /somedatabase/somefile (root):

fbackup -i /somedatabase/somefile -v -c config-file -f /dev/rmt/0m

Display the tape header with dates:

frecover -V - -f /dev/rmt/0m

Display the table of contents:

frecover -I - -f /dev/rmt/0m



Bill Hassell, sysadmin
Peter Godron
Honored Contributor

Re: tar backup

Senthil,
how are you getting on with this problem ?
If you got the answers you needed, could you please complete the thread by awarding points to helpful answers and summarising the solution for you.

This will help resolution of similar problems in the future.

http://forums1.itrc.hp.com/service/forums/helptips.do?#33 shows how to reward any useful answers given to your questions.