Found with 7.0.0-SNAPSHOT rev. ba4c51292064b4fa62ffccaf15fd6080fb45d215.
With functional test which does upgrade from older version (tried 4.0.0 and 6.5.3) to 7.0.0 I can see a new error:
when trying to schedule an backup purge task with cmd:
The same test just with --offline parameter works fine.
I reported before this issue: https://bugster.forgerock.org/jira/browse/OPENDJ-7371
During a purge it requires restore privilege which doesn't look correct to me.
The issue was about missing upgrade task which was added and now we hit this issue. Without upgrade the test works just fine too.
Command to reproduce:
You will need to replace config.cfg by uploaded tmp.cfg
- Setup DJ (6.5.3)
- Upgrade to 7.0.0
- Create 2 new backends test1 and test2
- Add data to test1 and test2
- stop server
- create offline backup of test1
- start server
- check with dsbackup list that backup exists
- run the dsbackup purge cmd above