onbar restore LTAPEDEV=/dev/null
Posted in 2013
Paul Sullivan needed to do a cold ON-Bar restore of a 10.00.FC6 instance backed up via Legato Networker with LTAPEDEV set to /dev/null, so no logical logs were ever backed up (the log backups failed with error -43183/156) and the level-0 backup had been run with -w. His attempt at 'onbar -r -p -w' restored only rootdbs and no other dbspaces. Alexandre Marini advised not using -w when logs are ignored and running a plain 'onbar -b -L 0' instead. Paul then said he needed 10.00.FC9 for HP-UX PA-RISC to fix the restore; Art Kagel suggested upgrading to a supported release (11.70/12.10). No confirmed successful restore is recorded in the thread.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Backup & Restore, Logging & Checkpoints
Our Informix database 10.00.FC6 has been backed up with Legato Networker.
We are in the process of a restore and realized that the LTAPEDEV=/dev/null.
What onbar command should be used to do a cold restore? We don't have any
logical log backups and the database was not backed up with the -w whole
backup option.
Regards,
Paul Sullivan
This is the bar_act.log for the backup.
2013-05-26 18:00:05 6674 6673 /informix/PRD/bin/onbar_d -b -w -L 0
2013-05-26 18:00:05 6674 6673 (-43183) WARNING: Logical Logs will not be
backed up / salvaged because
LTAPEDEV value is /dev/null .
2013-05-26 18:00:21 6674 6673 Archive started on rootdbs, logdbs, physdbs,
psapbsis1, psapbsis2, psapbtab, psapbtabi, psapcdcls1, psapcdcls2, psapclu,
psapcoep1, psap
coep2, psapddic, psapdocu, psapel640, psapes640, psapglpca3, psapglpca4,
psapglpca5, psapglpca6, psapload, psappool, psapprot, psapsource, psapstab,
psapsystem, psapuse
r1, psapvbrp1, psapvbrp2, psapzzcoma1, psapzzcoma2, psapzzcoma3, psapzzcoma4
(Requested Level 0).
2013-05-26 18:00:22 6674 6673 Begin level 0 backup rootdbs.
2013-05-26 18:00:22 6674 6673 Successfully connected to Storage Manager.
2013-05-26 18:00:47 6674 6673 Completed level 0 backup rootdbs (Storage
Manager copy ID: 1369605622 1369605623).
2013-05-26 18:00:47 6674 6673 Begin level 0 backup logdbs.
2013-05-26 18:00:50 6674 6673 Completed level 0 backup logdbs (Storage Manager
copy ID: 1369605648 1369605650).
2013-05-26 18:00:50 6674 6673 Begin level 0 backup physdbs.
2013-05-26 18:00:53 6674 6673 Completed level 0 backup physdbs (Storage
Manager copy ID: 1369605650 1369605653).
2013-05-26 18:00:53 6674 6673 Begin level 0 backup psapbsis1.
2013-05-26 18:46:48 8133 8131 /informix/PRD/bin/onbar_d -b -l
2013-05-26 18:46:48 8133 8131 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-26 18:46:48 8133 8131 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-26 20:36:15 6674 6673 Completed level 0 backup psapbsis1 (Storage
Manager copy ID: 1369605653 1369605657).
2013-05-26 20:36:15 6674 6673 Begin level 0 backup psapbsis2.
2013-05-26 22:17:27 6674 6673 Completed level 0 backup psapbsis2 (Storage
Manager copy ID: 1369614975 1369614980).
2013-05-26 22:17:27 6674 6673 Begin level 0 backup psapbtab.
2013-05-26 22:46:49 15534 15532 /informix/PRD/bin/onbar_d -b -l
2013-05-26 22:46:49 15534 15532 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-26 22:46:49 15534 15532 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 02:46:48 23437 23435 /informix/PRD/bin/onbar_d -b -l
2013-05-27 02:46:48 23437 23435 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-27 02:46:48 23437 23435 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 03:01:34 23962 23960 /informix/PRD/bin/onbar_d -b -l
2013-05-27 03:01:34 23962 23960 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-27 03:01:34 23962 23960 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 03:02:25 24037 24035 /informix/PRD/bin/onbar_d -b -l
2013-05-27 03:02:25 24037 24035 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-27 03:02:25 24037 24035 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 03:03:16 24111 24109 /informix/PRD/bin/onbar_d -b -l
2013-05-27 03:03:16 24111 24109 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-27 03:03:16 24111 24109 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 03:04:10 24187 24185 /informix/PRD/bin/onbar_d -b -l
2013-05-27 03:04:10 24187 24185 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-27 03:04:10 24187 24185 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 03:04:59 24261 24259 /informix/PRD/bin/onbar_d -b -l
2013-05-27 03:04:59 24261 24259 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-27 03:04:59 24261 24259 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 03:05:49 24332 24330 /informix/PRD/bin/onbar_d -b -l
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-27 03:05:49 24332 24330 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 04:46:50 27462 27460 /informix/PRD/bin/onbar_d -b -l
2013-05-27 04:46:50 27462 27460 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-27 04:46:50 27462 27460 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 08:46:50 18874 18872 /informix/PRD/bin/onbar_d -b -l
2013-05-27 08:46:50 18874 18872 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-27 08:46:50 18874 18872 /informix/PRD/bin/onbar_d complete, returning
156 (0x9c)
2013-05-27 09:25:28 6674 6673 Completed level 0 backup psapbtab (Storage
Manager copy ID: 1369621047 1369621053).
2013-05-27 09:25:28 6674 6673 Begin level 0 backup psapbtabi.
2013-05-27 11:07:28 6674 6673 Completed level 0 backup psapbtabi (Storage
Manager copy ID: 1369661128 1369661135).
2013-05-27 11:07:28 6674 6673 Begin level 0 backup psapcdcls1.
2013-05-27 11:21:42 6674 6673 Completed level 0 backup psapcdcls1 (Storage
Manager copy ID: 1369667248 1369667256).
2013-05-27 11:21:42 6674 6673 Begin level 0 backup psapcdcls2.
2013-05-27 11:35:52 6674 6673 Completed level 0 backup psapcdcls2 (Storage
Manager copy ID: 1369668102 1369668111).
2013-05-27 11:35:52 6674 6673 Begin level 0 backup psapclu.
2013-05-27 11:46:50 24450 24448 /informix/PRD/bin/onbar_d -b -l
2013-05-27 11:46:50 24450 24448 ERROR: Logical Logs will not be backed up /
salvaged because
LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
without logical logs being backed up, because restore of such backups
requires a logical log restore.
2013-05-2
Hello.
Sorry, I didn´t follow your previous posts, but if you don´t want a
logical-log backup, just remove the '-w' parameter, from your backup command,
and the full backup should run as expected.
If you are using an SM software, look into the job specification, and remove
the specific parameter that is including the "-w" option in Informix side.
Hope it helps.
Regards.
Alexandre Marini
IBM Informix Certified Professional v10 / v11.50 / v11.70 / v12.10
IBM Information Management Informix Technical Professional
IBM Infosphere DataStage Technical Professional
Informix Senior DBA - Orizon Brasil
BRIUG website administrator
Informix independent consultant
> To: ids@iiug.org
> From: paul.sullivan@compucom.com
> Subject: Re: onbar restore LTAPEDEV=/dev/null [30900]
> Date: Tue, 23 Jul 2013 17:43:40 -0400
>
> This is the bar_act.log for the backup.
>
> 2013-05-26 18:00:05 6674 6673 /informix/PRD/bin/onbar_d -b -w -L 0
> 2013-05-26 18:00:05 6674 6673 (-43183) WARNING: Logical Logs will not be
> backed up / salvaged because
> LTAPEDEV value is /dev/null .
> 2013-05-26 18:00:21 6674 6673 Archive started on rootdbs, logdbs, physdbs,
> psapbsis1, psapbsis2, psapbtab, psapbtabi, psapcdcls1, psapcdcls2, psapclu,
> psapcoep1, psap
> coep2, psapddic, psapdocu, psapel640, psapes640, psapglpca3, psapglpca4,
> psapglpca5, psapglpca6, psapload, psappool, psapprot, psapsource, psapstab,
> psapsystem, psapuse
> r1, psapvbrp1, psapvbrp2, psapzzcoma1, psapzzcoma2, psapzzcoma3, psapzzcoma4
> (Requested Level 0).
> 2013-05-26 18:00:22 6674 6673 Begin level 0 backup rootdbs.
> 2013-05-26 18:00:22 6674 6673 Successfully connected to Storage Manager.
> 2013-05-26 18:00:47 6674 6673 Completed level 0 backup rootdbs (Storage
> Manager copy ID: 1369605622 1369605623).
> 2013-05-26 18:00:47 6674 6673 Begin level 0 backup logdbs.
> 2013-05-26 18:00:50 6674 6673 Completed level 0 backup logdbs (Storage
Manager
> copy ID: 1369605648 1369605650).
> 2013-05-26 18:00:50 6674 6673 Begin level 0 backup physdbs.
> 2013-05-26 18:00:53 6674 6673 Completed level 0 backup physdbs (Storage
> Manager copy ID: 1369605650 1369605653).
> 2013-05-26 18:00:53 6674 6673 Begin level 0 backup psapbsis1.
> 2013-05-26 18:46:48 8133 8131 /informix/PRD/bin/onbar_d -b -l
> 2013-05-26 18:46:48 8133 8131 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-26 18:46:48 8133 8131 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-26 20:36:15 6674 6673 Completed level 0 backup psapbsis1 (Storage
> Manager copy ID: 1369605653 1369605657).
> 2013-05-26 20:36:15 6674 6673 Begin level 0 backup psapbsis2.
> 2013-05-26 22:17:27 6674 6673 Completed level 0 backup psapbsis2 (Storage
> Manager copy ID: 1369614975 1369614980).
> 2013-05-26 22:17:27 6674 6673 Begin level 0 backup psapbtab.
> 2013-05-26 22:46:49 15534 15532 /informix/PRD/bin/onbar_d -b -l
> 2013-05-26 22:46:49 15534 15532 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-26 22:46:49 15534 15532 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-27 02:46:48 23437 23435 /informix/PRD/bin/onbar_d -b -l
> 2013-05-27 02:46:48 23437 23435 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-27 02:46:48 23437 23435 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-27 03:01:34 23962 23960 /informix/PRD/bin/onbar_d -b -l
> 2013-05-27 03:01:34 23962 23960 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-27 03:01:34 23962 23960 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-27 03:02:25 24037 24035 /informix/PRD/bin/onbar_d -b -l
> 2013-05-27 03:02:25 24037 24035 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-27 03:02:25 24037 24035 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-27 03:03:16 24111 24109 /informix/PRD/bin/onbar_d -b -l
> 2013-05-27 03:03:16 24111 24109 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-27 03:03:16 24111 24109 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-27 03:04:10 24187 24185 /informix/PRD/bin/onbar_d -b -l
> 2013-05-27 03:04:10 24187 24185 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-27 03:04:10 24187 24185 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-27 03:04:59 24261 24259 /informix/PRD/bin/onbar_d -b -l
> 2013-05-27 03:04:59 24261 24259 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-27 03:04:59 24261 24259 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-27 03:05:49 24332 24330 /informix/PRD/bin/onbar_d -b -l
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-27 03:05:49 24332 24330 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-27 04:46:50 27462 27460 /informix/PRD/bin/onbar_d -b -l
> 2013-05-27 04:46:50 27462 27460 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-27 04:46:50 27462 27460 /informix/PRD/bin/onbar_d complete, returning
> 156 (0x9c)
> 2013-05-27 08:46:50 18874 18872 /informix/PRD/bin/onbar_d -b -l
> 2013-05-27 08:46:50 18874 18872 ERROR: Logical Logs will not be backed up /
> salvaged because
> LTAPEDEV value is /dev/null . Normal backup (onbar -b) cannot be done
> without logical logs being backed up, because restore of such backups
> requires a logical log restore.
> 2013-05-27 08:46:50 18874 18872 /informix/
We tried to restore the database with onbar -r -p -w with LTAPEDEV=/dev/null.
Only the rootdbs got restored. We are unable to restore the other dbspaces.
Anyone know how to get around this problem?
Paul
You should not do a backup with -w, if you are ignoring logs.
Just do a regular backup through "onbar -b -L 0", and you should be able to
restore all your dbspaces, with no further issues.
Regards.
Alexandre Marini
IBM Informix Certified Professional v10 / v11.50 / v11.70 / v12.10
IBM Information Management Informix Technical Professional
IBM Infosphere DataStage Technical Professional
Informix Senior DBA - Orizon Brasil
BRIUG website administrator
Informix independent consultant
> To: ids@iiug.org
> From: paul.sullivan@compucom.com
> Subject: Re: onbar restore LTAPEDEV=/dev/null [30931]
> Date: Wed, 24 Jul 2013 14:13:09 -0400
>
> We tried to restore the database with onbar -r -p -w with LTAPEDEV=/dev/null.
> Only the rootdbs got restored. We are unable to restore the other dbspaces.
>
> Anyone know how to get around this problem?
>
> Paul
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
We need version of Informix IDS 10.00.FC9 for HP-UX PARISC to resolve our restore problem. Can anyone help? Anyone have this version for us to download? Regards, Paul Sullivan
Or, you could upgrade to a supported version like 11.70 or 12.10! Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) Blog: http://informix-myview.blogspot.com/ Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Wed, Jul 24, 2013 at 6:55 PM, PAUL SULLIVAN <paul.sullivan@compucom.com>wrote: > We need version of Informix IDS 10.00.FC9 for HP-UX PARISC to resolve our > restore problem. Can anyone help? Anyone have this version for us to > download? > > Regards, > > Paul Sullivan > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --001a1133b7da0e58d204e249fe10