Subject | Re: Fw: [-PHP-] Firebird Backup |
---|---|
Author | bala_karat |
Post date | 2009-02-26T08:40:24Z |
Hi!
Yes, you are right. We don't have any problem with the system. This
is not a web site and we have to install this at multiple places.
So, we wanted clear instructions to be give to the support staff
(with min work to be done). Since we are not using MySQL, we didn't
want that to be loaded really.
With regards,
Bala
Yes, you are right. We don't have any problem with the system. This
is not a web site and we have to install this at multiple places.
So, we wanted clear instructions to be give to the support staff
(with min work to be done). Since we are not using MySQL, we didn't
want that to be loaded really.
With regards,
Bala
--- In firebird-php@yahoogroups.com, Lester Caine <lester@...> wrote:
>
> Sándor Tamás (HostWare Kft.) wrote:
> > ----- Original Message -----
> > From: "Sándor Tamás (HostWare Kft.)" <sandortamas@...>
> > To: <php-general@...>
> > Sent: Wednesday, January 07, 2009 12:35 AM
> > Subject: [PHP] Firebird Backup
> >
> >
> >> Hi,
> >>
> >> I don't know if it's Firebird or PHP question.
> >>
> >> I want to use remote administration on one of my pages, at
least do a
> >> backup for a Firebird database. Because the database file is
located on a
> >> different intranet machine, I have to use service manager to do
backup.
> >> So I tried:
> >>
> >> $svc_mgr = ibase_service_attach(FBSERVER, FBUSER, FBPASS);
> >> if ($svc_mgr)
> >> {
> >> $bkp = ibase_backup($svc_mgr, $source_db, $dest_file,
> >> IBASE_BKP_NO_GARBAGE_COLLECT, true);
> >> }
> >>
> >> ibase_service_detach($svc_mgr);
> >>
> >>
> >> The bad thing: if I include "server:" in $source_db string, it
gives me an
> >> "unkown ISC 0 error".
> >> When I simply put the database alias in $source_db, it freezes
the whole
> >> apache, but at least it starts the backup...
> >> Then, when I turn off verbose, it does nothing at all, but
gives back a
> >> "true" value.
> >>
> >> So I think the closest solution is the second one, but does
anybody have
> >> any idea why it shuts down apache? And what can I do to prevent
this?
> >>
> >> I use Firebird 2.1, PHP 5.2.8 and Apache 2.2.3 on WinXP (as a
development
> >> environment)
> >>
> >> Thanks,
> >> SanTa
>
> Is anybody using ibase_service stuff with the php_interbase
driver? I'm
> hapy with flamerobin on the side, so I've not looked at it, but as
SanTa
> has pointed out on the PHP list, if you don't have access to use
that or
> know some of the configuration on the web server, then the PHP
driver
> may be the only way to access these things :(
>
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/lsces/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk//
> Firebird - http://www.firebirdsql.org/index.php
>