Article View: pl.comp.lang.delphi.bazy-danych
Article #70134Re: firebird embed i backup
From: Morff
Date: Wed, 13 Jun 2007 11:16
Date: Wed, 13 Jun 2007 11:16
44 lines
1784 bytes
1784 bytes
Dnia 12-06-2007 o 23:34:59 Ys <postmaster@microsoft.com> napisał:
> A jakiś przykład jak tego dokonać można zobaczyć ?
>
> Pozdrawiam
ibdb1.Connected:=false; //rozlÄ…czenie
ibbackup.backupfile.append('kopia.bkp');
ibbackup.database:='baza.fdb';
ibbackup.protocol:=local;
ibrestore.backupfile.append('kopia.bkp');
ibrestore.database:='baza.fdb';
ibrestore.protocol:=local;
ibbackup.Active:=true;
ibbackup.ServiceStart;
while ibbackup.IsServiceRunning do
application.ProcessMessages;
ibbackup.Active:=false;
ibrestore.Active:=true;
ibrestore.ServiceStart;
while ibrestore.IsServiceRunning do
application.ProcessMessages;
ibrestore.Active:=false;
deletefile('kopia.bkp');
//application.Terminate;
end;
stare .... ale działa (delphi7 + fb2emb)
--
Pozdrawiam
Morff
--------------------
AQQ 141151
Technical Details
Message-ID:
<op.ttuxl5o2q0kutt@xp_januszk.herby>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<f4n0a1$kvn$1@atlantis.news.tpi.pl> <op.tttunbl7q0kutt@xp_januszk.wag54gs> <f4n3jn$71d$1@atlantis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Morff <morff1@wp.pl> Newsgroups: pl.comp.lang.delphi.bazy-danych Subject: Re: firebird embed i backup Date: Wed, 13 Jun 2007 13:16:43 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 44 Message-ID: <op.ttuxl5o2q0kutt@xp_januszk.herby> References: <f4n0a1$kvn$1@atlantis.news.tpi.pl> <op.tttunbl7q0kutt@xp_januszk.wag54gs> <f4n3jn$71d$1@atlantis.news.tpi.pl> NNTP-Posting-Host: buf66.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1181733708 147 83.18.161.66 (13 Jun 2007 11:21:48 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Wed, 13 Jun 2007 11:21:48 +0000 (UTC) User-Agent: Opera Mail/9.21 (Win32) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit