Firebird create and restore backup
Create Database on FireBirdie
[root@data]# /usr/lib64/firebird/bin-superserver/isql
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database 'mydatabase.gdb'
CON> user 'sysdba' password 'masterkey';
SQL> quit;
Dump the old backup
[root@data]# gbak -r o -v -user SYSDBA -password masterkey /home/dbackup/mydatabase-2013-06-20.gbk mydatabase.gdb
[root@data]# /usr/lib64/firebird/bin-superserver/isql
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database 'mydatabase.gdb'
CON> user 'sysdba' password 'masterkey';
SQL> quit;
Dump the old backup
[root@data]# gbak -r o -v -user SYSDBA -password masterkey /home/dbackup/mydatabase-2013-06-20.gbk mydatabase.gdb
Comments