Subject | RE: [firebird-support] Re: GBAK Error - can someone please help |
---|---|
Author | Craig Stevens |
Post date | 2004-09-13T22:52:27Z |
last night i found the following to work, its a mystery as to why but it works on all machines that i test.
gbak -b -user ###### -password ####### SERVER:Drive:\Path\File.fdb Drive:\Path\file.fbk
the mystery is that it does not work if i dont have the SERVER qualifier in the Source path, no matter what i do, its not required in the target path for a back up, HOWEVER if i want to restore/create from a backup file then i must apply the following:
gbak -r|-c -user ##### -password ###### Drive:\Path\File.fbk SERVER:Drive:\Path\File.fdb
so the mystery continues with the SERVER needing to be stated in the TARGET path this time and irrelevant in the Source for the opposite operation.
This is not explained or mentioned in Helen's book, is this a bug, or something else ??? my thoughts are that it may tie to the setting of the Protocol when creating databases....or inside the config file for the actual server installation.
Craig
-----Original Message-----
From: mohamed_banaouas [mailto:mohamed_banaouas@...]
Sent: Tuesday, 14 September 2004 2:41 AM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] Re: GBAK Error - can someone please help
you have to specify the absolute path of the file to backup
(D:\DATABASE\MYBASE.GDB, not only MYBASE.GDB), especially if the
operation is not started in the database file directory.
--- In firebird-support@yahoogroups.com, "Craig Stevens"
<cstevens@d...> wrote:
firebird server,
password...
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=129qkrr11/M=298184.5285298.6392945.3001176/D=groups/S=1705115386:HM/EXP=1095180134/A=2352667/R=0/SIG=11t4iivpf/*http://www.netflix.com/Default?mqso=60185359&partid=5285298> click here
<http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=groups/S=:HM/A=2352667/rand=142445589>
_____
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/
* To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com <mailto:firebird-support-unsubscribe@yahoogroups.com?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
_____
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au
[Non-text portions of this message have been removed]
gbak -b -user ###### -password ####### SERVER:Drive:\Path\File.fdb Drive:\Path\file.fbk
the mystery is that it does not work if i dont have the SERVER qualifier in the Source path, no matter what i do, its not required in the target path for a back up, HOWEVER if i want to restore/create from a backup file then i must apply the following:
gbak -r|-c -user ##### -password ###### Drive:\Path\File.fbk SERVER:Drive:\Path\File.fdb
so the mystery continues with the SERVER needing to be stated in the TARGET path this time and irrelevant in the Source for the opposite operation.
This is not explained or mentioned in Helen's book, is this a bug, or something else ??? my thoughts are that it may tie to the setting of the Protocol when creating databases....or inside the config file for the actual server installation.
Craig
-----Original Message-----
From: mohamed_banaouas [mailto:mohamed_banaouas@...]
Sent: Tuesday, 14 September 2004 2:41 AM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] Re: GBAK Error - can someone please help
you have to specify the absolute path of the file to backup
(D:\DATABASE\MYBASE.GDB, not only MYBASE.GDB), especially if the
operation is not started in the database file directory.
--- In firebird-support@yahoogroups.com, "Craig Stevens"
<cstevens@d...> wrote:
> I am trying to backup from my local machine, a simple .fdb fileusing gbak again locally, under the \bin of the current running
firebird server,
>name, server, etc etc, and made sure the sysdba exists and has correct
> i always get this error,
>
> unavailable database -
>
> i tried all the permutations of localhost, my own machine name, no
password...
>Yahoo! Groups Sponsor
> cant find out why ???
>
> craig
>
>
> [Non-text portions of this message have been removed]
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=129qkrr11/M=298184.5285298.6392945.3001176/D=groups/S=1705115386:HM/EXP=1095180134/A=2352667/R=0/SIG=11t4iivpf/*http://www.netflix.com/Default?mqso=60185359&partid=5285298> click here
<http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=groups/S=:HM/A=2352667/rand=142445589>
_____
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/
* To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com <mailto:firebird-support-unsubscribe@yahoogroups.com?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
_____
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au
[Non-text portions of this message have been removed]