Re: SE tape Backup
Posted in 2000
Maybe I should have been more precise:
I know that copying .dat and .idx works because I have used it and it works
beautifully.
But, if there a corrupted index or some other unknown problem exists, then you
have the unloaded data and current schema. After editing some of the Informix
banner information and dropping the corrupt table or renaming it, you can recreate
the flawed table and load it with data -- even if an index has become corrupted or
the table for some odd, reason has become unable to be read or will not produce an
output from dbschema [that has happened to me and I am glad I had my previous
night's schema].
Once the script is written for unloading and dbschema, it only takes a few minutes
longer for backup and is well worth the effort.
Dirk Niemeier wrote:
> Spyros Macris schrieb:
>
> > I don't feel that backing up .dat and .idx is enough.
> >
> > In addition to that, I run dbschema for all tables, and unload all data.
> >
> > Thus, if an index is corrupted, you can rebuild a table and load the data.
>
> Try it. Be sure that all DB-connections are closed and copy all dat/idx files
> to an
> other maschine with the same directory stucture.
> Test it, or ask Art if I am right. When you export the data, you can import it
> on every Informix DB.
> But for backup it is enough to backup the files (perhaps the transaktion
> file).
> Dirk
>
> >
> >
> > Dirk Niemeier wrote:
> >
> > > Hi,
> > > you can use your standard unix backup program. you only have to backup
> > > the .dat and .idx files.
> > > You don't have to use dbexport for backup.
> > > Dirk
> > >
> > > liliano@my-deja.com schrieb:
> > >
> > > > Hi,
> > > >
> > > > Can i use dbexport to backup my database on tape ?
> > > > In "INFORMIX SE 7.2 Administrator guide" (under "Performance Tuning)
> > > > i've read this (!):
> > > > "Do not use the dbexport utility for database backups.Rely on proper
> > > > UNIX backups".
> > > >
> > > > I'm thinking to:
> > > > 1)Use dbexport with -o option to create a backup on hard disk
> > > > 2)Store my backup on tape using Unix (solaris7) tar
> > > >
> > > > Can you help me?
> > > >
> > > > Sent via Deja.com http://www.deja.com/
> > > > Before you buy.
> >
> > --
> > Spyros Macris, President
> > Philadelphia Candies, Inc.
> > 1546 East State Street
> > Hermitage, PA 16148
> >
> > Phone - 724 981 6341
> >
> > Fax - 724 981 6490
> >
> > email - spyros@phillyc.com
--
Spyros Macris, President
Philadelphia Candies, Inc.
1546 East State Street
Hermitage, PA 16148
Phone - 724 981 6341
Fax - 724 981 6490
email - spyros@phillyc.com