Subject Re: How to use NBackup?
Author fabiano_bonin
--- In firebird-support@yahoogroups.com, "Leyne, Sean" <Sean@B...> wrote:
> Fabiano,
>
> > Is there some detailed documentation about how to use and how does it
> > work?
>
> There is a read me in the doc folder.

I did look there before asking here, but i didn't see anything. I'm
looking again and still don't see nothing obvious, like
'README.nbackup.txt'. Is this readme using some other name?

PS: I did a fresh install of Alpha 3 with the install kit.

If it's really not there, can you send me a copy of this readme?

>
>
> > I'm using it and i still have some doubts:
> >
> > - If i create an automatic script to run at some regular interval,
> > does this script have always to inform the required level for the
> > database?
>
> Yes, but this is logical. NBackup allows you to create full copy
> backups (level =0) as well as up to 9 levels of incremental backups
> (hourly, daily, weekly, monthly, yearly). So you need to indicate which
> type of backup you want to create.

Wow, now i see i misunderstood completely the concept and funcion of
'level'. Reading your message above i'm still unsure about it.
Probably when i have i copy of the docs my doubts will dismiss.

>
>
> > - If i implement a kind of auto-incremented value for the level
> > (storing it in a file, for example), let's suppose this script runs,
> > increment the level and, when calling nbackup, i have some problem and
> > the backup doesn't happens. Next time it runs, my script level is
> > greater than the expect database level. Does it means in this case my
> > script will never run again until i correct the level manually?
>
> Don't do that -- create different jobs which run at different times and
> keep your life simple.
>
>
> > - Is there a way to retrieve the current database backup level?
> >
> > - Is there a way to ask nbackup to use the next level automatically,
> > without knowing it?
> >
> > - It seems the level is a information pertinent to each database. Does
> > it means i need always to run nbackup from the same location (supose i
> > have a level counter in the machine that does the backup)?
>
> You have misunderstood the nature/function of backup levels.

You can bet on this!!!

Thanks.