Hi all. Thanks for your answers.
bhassell2000: This is of course an alternative, but I wanted to use bkdata file, not the single backup
firebirdscrambler: Good guide, but it also refers to the single backup file
guycable2: This was a hint in the right direction. But when I used RES it started restore from CF2 card. It is not possible to type anything after RES.
But I tried to make a RSR 2, which is the rule number i made to FTP. After the restore, just make a sysload in LD 135. It works.
So the way I see it, in case of new HW and SW installation, there are 2 ways to do the restore.
1. Do a SW installation with default database. Then make a new host with a temporary ip address, which can reach your pc. Make a backup rule in the CS:
NEW BKPR <rule number> FTP <IP addr> <login><pwd> <path> [<N of versions>] [<name>]
NEW bkpr 1 ftp 1.1.1.8 csbackup csbackup / 1 backup_for_test ( in this case 1.1.1.8 is my pc)
LD 43 RSR 1
LD 135 sysload active
I would of course need to have the bkdata file from the administrator of the FTP server on my own pc, and have ftp program, and path etc.
2. Do a SW installation with default database. Then make a new host with the right IP address. Make a backup rule in the CS:
NEW bkpr 1 ftp 1.1.1.8 csbackup csbackup / 1 backup_for_test ( in this case 1.1.1.8 is the FTP server)
LD 43 RSR 1
LD 135 sysload active
This option requires that you know the path, login/password in the FTP, which you hopefully have in some document
-----------------------------------------------
>ld 43
EDD000
.rsr 2
PERFORM IP CONFIG FILTERING ([YES],NO)? no
Starting data Restore according to Rule 2
Restore mode: Manual, filtering IP config
Backup Rule type: FTP
opening FTP session to remote server 1.1.1.8
copying "/bkdata.1" from remote server to "/u/bkdb/backup/bkdata.gz"
ending FTP session to remote server 1.1.1.8
RSR - GZIP Uncompressing "/u/bkdb/backup/bkdata.gz" ... 100 percent completed
RSR - TAR Extract "/e/bkdb/backup/bkdata.tar" process started ...
RSR - TAR Extract "/e/bkdb/backup/bkdata.tar" process completed
CONFIG
DATA
HI
ZONE
ESET1
ESET2
NODE
SYSCFG
SMPCONF
FORWARDLISTFILE
PENDINGCPMSGLST
ACCOUNTS
ERL
ZBD
NZON
ZSRN
ELIN
SUBNET
NTP
MGC
SYSTEM_PARAMS
PORT_CUSTOM
PORT_STATE
EPTFLAG
DVLA
HSEM
Copying "/u/db/hi/hi.db" to "/u/db/hi_bak/hi.db"
Copying "/u/db/hi/cp.db" to "/u/db/hi_bak/cp.db"
Copying "/u/db/hi/ipb.db" to "/u/db/hi_bak/ipb.db"
Copying "/u/db/hi/inet.db" to "/u/db/hi_bak/inet.db"
Copying "/u/db/hi/ipmgconf.db" to "/u/db/hi_bak/ipmgconf.db"
Copying "/u/db/node/node3.btp" to "/u/db/node_bak/node3.btp"
Copying "/u/db/node/node3.cfg" to "/u/db/node_bak/node3.cfg"
Copying "/u/db/node/node.pch" to "/u/db/node_bak/node.pch"
Copying "/u/db/node/node3.xml" to "/u/db/node_bak/node3.xml"
Copying "/u/db/node/node4.btp" to "/u/db/node_bak/node4.btp"
Copying "/u/db/node/node4.cfg" to "/u/db/node_bak/node4.cfg"
Copying "/u/db/node/node4.xml" to "/u/db/node_bak/node4.xml"
Copying "/u/smp_db/smpconf.db" to "/u/smp_db/smpconf.bak"
Copying "/u/db/forwardlistfile.db" to "/u/db/forwardlistfile.bak"
Copying "/u/db/pendingupdatemessagefile.db" to "/u/db/pendingupdatemessagefile.bak"
Copying "/u/smp_db/eptflag.db" to "/u/smp_db/eptflag.bak"
Copying "/u/db/hsem.db" to "/u/db/hsem.bak"
.
TEMU194 GR Manual Data Restore according to rule (2) ended successfully.
>ld 135
CCED000
.sysload active
WARNING: Rebooting active core will interrupt call processing.
Enter <YES> to continue, or press <return> to abort.
yes
OK