Skip to Content
author's profile photo Former Member
Former Member

Sybase IQ Point in time recovery backup

Hi ,

I was trying to Setup Sybase IQ Point in time recovery log backup as per the Admin guide in SP08 .

As per the guide , We should enable it like as below:

1. SET OPTION PUBLIC.IQ_POINT_IN_TIME_RECOVERY_LOGGING = 'ON'

2. ALTER DBSPACE IQ_SYSTEM_LOG RENAME '/My Directory/<prefix> '

3. BACKUP DATABASE FULL to '/demo/dataBackup/FULL1'

After 2nd step , DB is getting crashed with below error :

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

Error! The connection to the database was closed by the server.

Communication error

SQLCODE=-85, ODBC 3 State="08S01"

Line 1, column 1

ALTER DBSPACE IQ_SYSTEM_LOG RENAME My Directory/<prefix>

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

I tried for creation IQ_SYSTEM_LOG but says the

"CREATE DBSPACE IQ_SYSTEM_LOG AS ' My Directory/<prefix>"

Could not execute statement.

Item 'IQ_SYSTEM_LOG' already exists

SQLCODE=-110, ODBC 3 State="42S01"

Line 1, column 1

CREATE DBSPACE IQ_SYSTEM_LOG AS '/ My Directory/<prefix>'

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

I tried the following SQL to check current DBSPACES

select * from SYSDBSPACE but IQ_SYSTEM_LOG is not listed

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

Can someone please help me here for the same and share best practices, So that i can enable automatic backups .

Thanks,

Razal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 19, 2014 at 11:52 AM

    Hi Mohammed,

    Are there any other errors , stacktrace logged in iqmsg?

    Is the physical file created ?

    Which Platform/OS IQ is running on?

    Regards,

    Tayeb.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.