Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

ndb_restore command (2 replies)

$
0
0
Hi,
I did Cluster database backup using 'ndb_mgm -e "START BACKUP"'. I can see the following backup files:

[root@adg1 BACKUP-1]# ls -l /root/BACKUP/BACKUP-1/
total 72
-rw-r--r-- 1 root root 51228 Nov 10 14:42 BACKUP-1-0.3.Data
-rw-r--r-- 1 root root 8872 Nov 10 14:42 BACKUP-1.3.ctl
-rw-r--r-- 1 root root 52 Nov 10 14:42 BACKUP-1.3.log


Now I entered into single user mode in ndb_mgm. Then I tried to restore the database objects using 'ndb_restore' but got the following error:

[root@adg1 BACKUP-1]# ndb_restore --backup_path=/root/BACKUP/BACKUP-1
backup path = /root/BACKUP/BACKUP-1
Opening file '/root/BACKUP/BACKUP-1/BACKUP-0.0.ctl'
readDataFileHeader: Error reading header
Failed to read /root/BACKUP/BACKUP-1/BACKUP-0.0.ctl

NDBT_ProgramExit: 1 - Failed


My question is how to make 'ndb_restore' read my backup file 'BACKUP-1.3.ctl' instead of 'BACKUP-0.0.ctl'.

Thank you in advance.

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>