logger.logToAll(Logger.INFO, br.getKString(br.I_SHARECC_BACKUP,
clusterID, backupfile));
ShareConfigChangeDBManager mgr = ShareConfigChangeDBManager.getDBManager();
ShareConfigRecordDAO dao = mgr.getDAOFactory().getShareConfigRecordDAO();
try {
List<ChangeRecordInfo> records = null;
Util.RetryStrategy retry = null;
do {
try {
records = dao.getAllRecords( null );
break;
} catch ( Exception e ) {
if ( retry == null ) {
retry = new Util.RetryStrategy(mgr);
}
retry.assertShouldRetry( e );
}
} while ( true );
Globals.getLogger().logToAll(Logger.INFO, br.getKString(
br.I_SHARECC_BACKUP_RECORDS,
String.valueOf(records.size()),
dao.getTableName()));
ChangeRecord.backupRecords(records, backupfile, true);
Globals.getLogger().logToAll(Logger.INFO,
br.getKString(br.I_SHARECC_BACKUP_RECORDS_SUCCESS,