Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2003
    Posts
    39

    Unanswered: Informix backup to file

    Hi,

    Is there a way to automate the informix backup to file like putting a tbtape command in a sh script? what will be the syntax for tbtape to backup the database to file, had a look at the online doc's but nothing there! any one tried this on Informix Online 5.10.UC1.

    xor

  2. #2
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    780
    Hi

    This is for Unix/Linux system. Please test following:

    echo "\n0"|tbtape -s -L 0|head -100.

    Gustavo.

  3. #3
    Join Date
    Aug 2004
    Posts
    99
    Hi,

    that works for the first carraige return that ontape asks for, how about if you have a database that needs more than 1 tape (4 or 5). I'm sending my backup to disk, I'm using an older version of informix which can't read files bigger than 2 gigs so I have to find a way to create a script that will notice when ontape asks for the next tape, moves the file that was already created to another location and sends the carriage return so ontape can continue with the backup.

    Any help will be GREATLY appreciated

    Luis Torres

  4. #4
    Join Date
    Jul 2003
    Location
    Boisbriand, Qc, Canada
    Posts
    25
    Hello everyone

    I do have the same problem.

    Is anyone found a solution?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •