Allow remote nbackup like gbak
------------------------------

                 Key: CORE-6263
                 URL: http://tracker.firebirdsql.org/browse/CORE-6263
             Project: Firebird Core
          Issue Type: Improvement
          Components: NBACKUP
         Environment: Client: Windows
Firebird server: Linux host at 192.168.0.198/3050
            Reporter: Chau Chee Yang


I have a Firebird Server install on Linux machine at service endpoint: 
192.168.0.198/3050.

I can use *gbak* or *service manager* to remote backup database hosted on the 
Linux machine in Windows client.

Both *gbak* command:

{code:dos}
c:\> gbak -b -user sysdba -password masterkey 192.168.0.198:employee stdout > 
c:\employee.fbk
{code}

or *fbsvcmgr* works:

{code:dos}
c:\> fbsvcmgr 192.168.0.198:service_mgr user sysdba password masterkey 
action_backup dbname employee bkp_file stdout > "c:\employee.fbk"
{code}

It is also possible to use nbackup action in *fbsvcmgr* but backup to local 
file system only:

{code:dos}
c:\> fbsvcmgr 192.168.0.198:service_mgr user sysdba password masterkey 
action_nbak dbname employee nbk_level 0 nbk_file /tmp/employee.nbk
time elapsed    0 sec
page reads      307
page writes     307
{code}

Unfortunately, send the backup to `stdout` doesn't work:

{code:dos}
c:\> fbsvcmgr 192.168.0.198:service_mgr user sysdba password masterkey 
action_nbak dbname employee.fdb nbk_level 0 nbk_file stdout > c:\employee.nbk
{code}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to