Ticket #1373 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

backup restore fails

Reported by: juruen@… Owned by: javier.amor.garcia@…
Priority: high Milestone: 1.1.10 (alpha2)
Component: mail Severity: major
Keywords: backup Cc:

Description

I'm attaching a backup that fails to be restored in 1.1.

Enabled modules: network, firewall, users, mail, mailfilter.

Restore from the web UI gave:

2009/04/21 14:01:30 ERROR> Backup.pm:1088 EBox::Backup::__ANON__ - Error while restoring: The data you are removing is being used by
                    the following sections:<br><br> - Virtual domains configuration

I tried manually using ebox-restore-backup, but I had to hack /usr/share/perl5/EBox/MailUserLdap.pm, because in the method MailUserLdap::userAccount the lines:

    ...
    my $entry = $result->entry(0);

    return undef unless ($entry);
    my $usermail = $entry->get_value('mail');

$entry was undef.

Attachments

eboxbackup(12).tar (20.0 kB) - added by juruen@… 11 months ago.

Change History

Changed 11 months ago by juruen@…

Changed 11 months ago by javier.amor.garcia@…

(In [13384]) Bugfix: force removal of previous data in backup refs #1373. (there is another backup error left in samba module)

Changed 11 months ago by javier.amor.garcia@…

(In [13420]) Bugfix: when importing data from ldiff we assure that the default group is created before any group assignment to avoid "group not existent" errors. refs #1373

Changed 11 months ago by javier.amor.garcia@…

  • status changed from new to closed
  • resolution set to fixed

tested the backup with all the modified modules and data was restored

Changed 11 months ago by javier.amor.garcia@…

This ticket also contains this commit:

[13416] Bugfx: removed bad suprefluous call that was the sourrce, at least, restore errors refs #1373

Add/Change #1373 (backup restore fails)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.