Open firebird-automations opened 11 years ago
Commented by: @hvlad
Discover services API for yourself. Or use -se switch of gbak.
And ask support questions in support list , please.
Commented by: Clemens Eckert (gnr82)
Thank you.
Commented by: Clemens Eckert (gnr82)
BTW: the -se switch does not help ... I got the same problem ... But thanks again
Commented by: @hvlad
You can also try to connect using tcp\ip:
/Library/Frameworks/Firebird.framework/Resources/bin/gbak -B -USER "username" -PAS "password" "localhost:path_to_fdb_file" "path_to_fbk_file"
or
/Library/Frameworks/Firebird.framework/Resources/bin/gbak -B -USER "username" -PAS "password" "path_to_fdb_file" "path_to_fbk_file" -se localhost:service_mgr
Commented by: Clemens Eckert (gnr82)
I solved the problem with using the "sudo"-command. Thanks for your help.
Commented by: Clemens Eckert (gnr82)
You can close this Issue.
Submitted by: Clemens Eckert (gnr82)
I want to make a backup from a database while using GBAK from an self-developed program. I have tried to start it with starting GBAK from this program. The command line is: /Library/Frameworks/Firebird.framework/Resources/bin/gbak -B -USER "username" -PAS "password" "path_to_fdb_file" "path_to_fbk_file"
When I started it, I get following error: gbak: ERROR:Can't access lock files' directory /tmp/firebird gbak:Exiting before completion due to errors
I get the same error when I use the command line in the terminal. If I use the command line with "sudo" it works. The problem is, that I can't send the su-password to the process in the self-developed program because of security issues of the OS. I also tried to set readwrite-access for all users to the "/tmp/firebird"-directory which does not work.
For what is the "/tmp/firebird"-directory used? Is there a chance to change the "/tmp/firebird"-directory temporarily for the GBAK-command?
For me it is very important, that every user or the program itself can create a backup without using the su-password.
Can you please help me?