Subject | Re: FireBird Services Manager, backup/restore and isc_service_query/start |
---|---|
Author | benedicte_asselin |
Post date | 2005-05-24T13:36:12Z |
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@m...>
wrote:
...
up database A, the users can still access database B (one server
process may use all the databases at the same time, but only one per
connected client).
long backup at 8:00PM and another backup (same database or not) at
8:30PM I want the second one to wait for the first to finish. I
cannot control the backup settings, because I can't know how long
they will last.
CPU). Restore too, but I hope the restore function will never be
called ;-) Nevertheless, when restoring, everybody knows there has
been a problem, while backing up must remain transparent for all
final users.
Bénédicte
wrote:
...
> >backup
> > I can setup automatic backups, which are launched automatically by
> > the server process. But I don't want to stop my server during the
> > backup preventing the client apps from accessing the data (one
> > may last one or several hours, with very large databases).server during
>
> pardon me but this logic seems a little screwy.. why stop the
> backup? - in fact if you did stop teh server, the backup wouldfail. I don't
> understand you here.I want my server process (not firebird) to run so that when backing
up database A, the users can still access database B (one server
process may use all the databases at the same time, but only one per
connected client).
>running
> >
> > I don't want to launch an automatic backup if another one is
> > (each automatic backup using a different service handle) even fora
> > another database. (because it may slow down hard driveperformance).
>timing - still
> if you have scheduled your nackups you are in control of the
> don't understand you here."I" don't schedule backups, my users will. If one sets a one hour
long backup at 8:00PM and another backup (same database or not) at
8:30PM I want the second one to wait for the first to finish. I
cannot control the backup settings, because I can't know how long
they will last.
>backup/restore
> >
> > I also want to prevent a user from launching a manual
> > on a database which is currently being backed up automatically.FB
>
> this contradicts your outline above.
>
> >
> > I have used the "isc_service_query" to wait for the end of the
> > backup/restore, but I can't find any way to know if other
> > backup/restore services are currently running.
> >
> > I think I will not use any other kind of service. I can switch to
> > 2.0 if needed but not right now.only
> >
> > Thanks for your help.
> > Bénédicte
>
> if your admin client is only ever used by one client and it is the
> vehicle for requesting backup, then how do you ever get moren thanone
> simultaneous request... and even if you did get it there is noproblem doing
> 2 backups simutaneously. Restore is far more CPU hungary thanbackup.
> AlanThe backup process causes problems with disk access (not necessarilly
CPU). Restore too, but I hope the restore function will never be
called ;-) Nevertheless, when restoring, everybody knows there has
been a problem, while backing up must remain transparent for all
final users.
Bénédicte