Debian Codegraph @

mysql-test/suite/ndb/include/backup_restore_setup.inc

raw
1 # This include file should be included at the beginning of all tests that uses
2 # NDB backup, it will define the path for backup directory.
3
4 if (!$NDB_BACKUP_DIR)
5 {
6 --die Test requires NDB_BACKUP_DIR variable
7 # The variable is normally specified in my.cnf returning
8 # the BackupDataDir value of the data nodes
9 }
10
11 # Directory where NDB will create backups
12 --let NDB_BACKUPS=$NDB_BACKUP_DIR/BACKUP/BACKUP
13 #echo NDB_BACKUPS: $NDB_BACKUPS;
14
15 # Directory containing backups from earlier versions of NDB
16 --let $NDB_SAVED_BACKUPS=$MYSQL_TEST_DIR/suite/ndb/backups
17 #echo NDB_SAVED_BACKUPS: $NDB_SAVED_BACKUPS;
18