#9526 ipa-restore fails with 'Cannot restore a data backup into an empty system'
Closed: fixed 2 months ago by rcritten. Opened 2 months ago by rcritten.

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2262860

Issue

On a clean IPA server install in Fedora rawhide (freeipa-server-4.11.1-2.fc40.x86_64) the following commands fail.

[root@server ~]# ipa-backup --data --online
Preparing backup on server.ipa.test
Local roles match globally used roles, proceeding.
Backing up userRoot in IPA-TEST to LDIF
Waiting for LDIF to finish
Backing up IPA-TEST
Waiting for BAK to finish
Backed up to /var/lib/ipa/backup/ipa-data-2024-02-05-20-02-50
The ipa-backup command was successful

[root@server ~]# ipa-restore --unattended --password Secret123 --data --online ipa-data-2024-02-05-20-02-50
Preparing restore from /var/lib/ipa/backup/ipa-data-2024-02-05-20-02-50 on server.ipa.test
Cannot restore a data backup into an empty system
The ipa-restore command failed. See /var/log/iparestore.log for more information

Seen in rawhide.


Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=2262860

2 months ago

master:

  • 3766fb9 ipa-restore: adapt for 389-ds switch to LMDB

ipa-4-11:

  • d55a7f9 ipa-restore: adapt for 389-ds switch to LMDB

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 months ago

Login to comment on this ticket.

Metadata