Skip to Content
avatar image
Former Member

CPIO backup for more than 2 gb files

Hi

I have installed ECC6 on AIX 6.1 with oracle 10g.

I want to take cpio backup , but some files are more than 2 gb, can not copy through cpio.

any option is there in cpio for backup files more than 2gb?

I dont't want to use tar.

regards

vijay.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 13, 2009 at 10:09 AM

    Try using dd instead of cpio, that should fix your problem

    Regards

    Juan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Juan

      Thanks, with DD it works. I copied full data base with brbackup

      But I want to take cpio backup of full system with database.

      whta is the soluation

      regards

      Vijay

  • avatar image
    Former Member
    Jul 13, 2009 at 09:50 AM

    Vijay,

    The cpio command is not enabled for files greater than 2GB in size due to limitations imposed by XPG/4 and POSIX.2 standards.

    cpio does not preserve the sparse nature of any file that is sparsely allocated. Any file that was originally sparse before the restoration will have all space allocated within the filesystem for the size of the file.

    [http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds1/cpio.htm]

    check following link for detailed info.

    Hope this helps.

    Manoj

    Add comment
    10|10000 characters needed characters exceeded