'Backend Backup 001: Create a backup of the data in OpenDS'
{ 'backupDir' : '%s/backends/backup1' % remote.data }
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Backend Backup 002 Create an incremental backup of the data in OpenDS'
{ 'backupDir' : '%s/backends/backup1' % remote.data,
'extraParams' : '-i'
}
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Backend Backup 003: Create a backup of the data in OpenDS with a backup id'
{ 'backupDir' : '%s/backends/backup2' % remote.data,
'extraParams' : '-I 20070714142807Z'
}
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Backend Backup 004: Create an incremental backup of the data in OpenDS with a backup id'
{ 'backupDir' : '%s/backends/backup2' % remote.data,
'extraParams' : '-B 20070714142807Z -i'
}
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Backend Backup 005: Create a compressed backup of the data in OpenDS'
{ 'backupDir' : '%s/backends/backup1' % remote.data,
'extraParams' : '-c'
}
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Backend Backup 006: Create a backup with -n and -a'
{ 'backupDir' : '%s/backends/backup1' % remote.data,
'extraParams' : '-n dc=com' ,
'extraParams' : '-a' ,
'expectedRC' : 1
}
{
'returnString' : returnString ,
'expectedString' : 'The backUpAll and backendID arguments may not be used together'
}
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Backend Backup 007: Create a backup with -A '
{ 'backupDir' : '%s/backends/backup1' % remote.data,
'extraParams' : '-A'
}
{ 'location' : STAF_REMOTE_HOSTNAME,
'dsHost' : DIRECTORY_INSTANCE_HOST,
'dsAdminPort' : DIRECTORY_INSTANCE_ADMIN_PORT,
'dsBindDN' : DIRECTORY_INSTANCE_DN,
'dsBindPwd' : DIRECTORY_INSTANCE_PSWD
}
{ 'backupDir' : '%s/backends/backup1' % remote.data,
'extraParams' : '-n'
}
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Backend Backup 008: Create a backup with a backup id'
{ 'backupDir' : '%s/backends/backup2' % remote.data,
'extraParams' : '-I unique-backupid'
}
'Backend Backup 008: Create a backup with an existing backup id'
{ 'backupDir' : '%s/backends/backup2' % remote.data,
'extraParams' : '-I unique-backupid' ,
'expectedRC' : 1
}
{
'returnString' : returnString ,
'expectedString' : 'because another backup already exists with that ID'
}
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Backend Backup 009: Create a backup with -B but without -i '
{ 'backupDir' : '%s/backends/backup2' % remote.data,
'extraParams' : '-B 20070714142807Z' ,
'expectedRC' : 1
}
{
'returnString' : returnString ,
'expectedString' : 'The use of the incrementalBaseID argument requires that the incremental'
}
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Backend Backup 010: Create an incremental backup with a non existing backup dir'
{ 'backupDir' : '%s/backends/backup3' % remote.data,
'extraParams' : '-i'
}
{
'returnString' : returnString ,
'expectedString' : 'A full backup will be executed'
}
'%s: Test failed. eInfo(%s)' % (eType,eInfo)