#47845 Add backup/restore/fixup tombstone tasks to lib389
Closed: Fixed None Opened 5 years ago by mreynolds.

lib389 tasks currently do not include back and restore tasks.


Nice functions.

you may add functions description with @param, @return, @raise so that we will be able to generate lib389 automatically.

in db2bak/bak2db, I would rather use 'cn = strftime("%m%d%Y_ %H%M%S", time.localtime())' than time.time() that does not give an explicit date.
You may check that backup_dir exists and raise an exception if not

Made the suggested changes, and added the tombstone fixup task. New patch attached...

Changes look good. Ack

(Just a small remark in fixupTombstone, you may catch ldap.already_exist during the add of task and then return -1)

Replying to [comment:6 tbordaz]:

Changes look good. Ack

(Just a small remark in fixupTombstone, you may catch ldap.already_exist during the add of task and then return -1)

Change made, and added that error check to the existing memberOf task.

2cb056a..5cd2ce5 master -> master
commit 5cd2ce5a394b888ba888479c36bd21262be6d4f7

Added option to strip csns - used to verify fix up

6fd3473..c0401ed master -> master
commit c0401ed4e3bb94a66795c28e580c92b8adbe3382

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: N/A

3 years ago

Login to comment on this ticket.

Metadata