dsctl is the main tool in 389-ds now providing access to individual commands rather than having separate executables.
Backup should now be accessed using dsctl db2ldif
Restore using dsctl ldif2db
Legacy tools backup and restore broke in 389-ds-base1.4.1.3-1 in rawhide (F31). The DS team is fixing that build but IPA should future-proof itself and move to the newer tool before the legacy tools are dropped.
The migration is straight forward and easy, e.g. db2ldif -Z $instance -r -n $backend -a $ldiffile becomes dsctl $instance db2ldif --replication $backend $ldiffile.
db2ldif -Z $instance -r -n $backend -a $ldiffile
dsctl $instance db2ldif --replication $backend $ldiffile
I found one missing feature: The ipa restore command takes an option backend argument, but bak2db does not have a backend option.
bak2db
Metadata Update from @cheimes: - Issue priority set to: important (was: normal) - Issue set to the milestone: FreeIPA 4.8 - Issue tagged with: easyfix
Metadata Update from @rcritten: - Issue assigned to rcritten
Metadata Update from @rcritten: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/3226
master:
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.