<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>11 Oct 2017 16:23:00 Z</lastBuildDate><pubDate>7 Oct 2017 20:09:00 Z</pubDate><description>Hello All,&#13;
&#13;
At this moment I am busy developing an automated backup program for my customers.&#13;
Till now only the creation of the full backup is accomplished, restoring is still failing. For testing purposes I use the simplified code below:&#13;
MyConnection is Connection HCloseConnection(MyConnection) HRestoreBackup(MyConnection,DataPath) But if I try to restore, I get the following error (DESKTOP = my own machine):&#13;
Error returned by &lt; Server:4900&gt; server: You cannot restore the &lt; Database&gt; database because the &lt; MyConnection&gt; connection opened from the &lt; DESKTOP&gt; computer for the &lt; admin&gt; user uses this database. It looks like a pretty straightforward issue, as I still have some sort of connection open to the database. But this is certainly not the case, as my code suggests above.&#13;
I tried multiple things with disconnecting the connections with HFSQL Control Center, although this had no effect whatsover.&#13;
&#13;
I already looked at the "WD Duplication" example which didnt even require a disconnect.&#13;
Any tips or solutions will be appreciated!&#13;
&#13;
Regards,&#13;
Rik</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup/read.awp</link><title>HRestoreBackup</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62924/read.awp</comments><pubDate>11 Oct 2017 16:23:00 Z</pubDate><description>try&#13;
&#13;
HRestoreBackup(MyBackupConnection,DataPath)&#13;
&#13;
&#13;
regards</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62924/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62924/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup/read.awp">HRestoreBackup</source><title>Re: HRestoreBackup</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62905/read.awp</comments><pubDate>10 Oct 2017 15:34:00 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
There is no connection defined in the project analysis.&#13;
&#13;
Regards,&#13;
Rik</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62905/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62905/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup/read.awp">HRestoreBackup</source><title>Re: HRestoreBackup</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62896/read.awp</comments><pubDate>9 Oct 2017 19:54:00 Z</pubDate><description>Hi again&#13;
&#13;
there is also the possibility of a connection defined in the analysis. If there is one, remove it.&#13;
&#13;
Best regards</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62896/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62896/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup/read.awp">HRestoreBackup</source><title>Re: HRestoreBackup</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62878/read.awp</comments><pubDate>9 Oct 2017 10:44:00 Z</pubDate><description>Hello Fabrice,&#13;
&#13;
Thank you for you response.&#13;
The USE instruction is not doing the trick.&#13;
&#13;
With this new insight I can probab…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62878/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62878/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup/read.awp">HRestoreBackup</source><title>Re: HRestoreBackup</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62877/read.awp</comments><pubDate>8 Oct 2017 23:06:00 Z</pubDate><description>Hi Rik,&#13;
&#13;
it looks like a case of multiple connections inside your application.&#13;
You have to understand that:&#13;
- each independe…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62877/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62877/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup/read.awp">HRestoreBackup</source><title>Re: HRestoreBackup</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62874/read.awp</comments><pubDate>8 Oct 2017 16:35:00 Z</pubDate><description>Hello Walter,&#13;
&#13;
Thank you for your fast response.&#13;
That was my first test case, but didnt help either.&#13;
&#13;
Regards,&#13;
Rik</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62874/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62874/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup/read.awp">HRestoreBackup</source><title>Re: HRestoreBackup</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62872/read.awp</comments><pubDate>8 Oct 2017 14:15:00 Z</pubDate><description>Hi&#13;
&#13;
Make sure the HFCC program is closed and try again</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62872/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup-62872/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62870-hrestorebackup/read.awp">HRestoreBackup</source><title>Re: HRestoreBackup</title></item></channel></rss>
