OBM
  1. OBM
  2. OBMFULL-2805

analyse and frontport per-mailbox save/restore from obm 2.1 to obm 2.4 (this had been done for a customer)

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.1-Alpha6
    • Fix Version/s: None
    • Component/s: automate
    • Labels:
      None
    • Similar Issues:
      Show 8 results 
    • Rank:
      2216

      Description

      This feature already exists : as an admin, go to "users" menu, search and select a user.

      Then in the top menu bar, select "backup/restore" button.

      Once a backup has been done, the restore mailbox should work.

      Test case :

      • create a backup
      • in roundcube, delete some emails
      • click on restore button
      • in roundcube, the emails are not back NOK

      expected behaviour

      • in roundcube, the emails are back again OK

        Activity

        Hide
        Lilian Chamontin added a comment -

        check with J3008/3009 is it's not a duplicate

        Show
        Lilian Chamontin added a comment - check with J3008/3009 is it's not a duplicate
        Hide
        jeremie kornobis added a comment -

        Target: Wrong parameter when restore Mail directory:

        Current Fail: reconstruct -r -f -x user/nexus/_nexus-20120127-172657*@obm.next
        Futur maybe, probably not Fail: need just reconstruct -r -f -x user/nexus@obm.next

        OBM SATELLITE Log:

        2012/01/27 17:26:57:1339218 [3642]: ObmSatellite::Modules::backupEntity:1127 DEBUG - Executing /bin/tar -strip 6 -C /var/spool/cyrus/obm_next/domain/o/obm.next/n/user/nexus/nexus-20120127-172657 -xzf /var/backups/obm/obm.next/usernexusobm.next_20120127-172521.tar.gz ./nexus@obm.next/mailbox > /dev/null 2>&1

        2012/01/27 17:26:57:1339321 [3642]: ObmSatellite::Modules::backupEntity:1153 DEBUG - Executing su -l -c 'PATH="/usr/lib/cyrus-imapd:/usr/lib/cyrus/bin" reconstruct -r -f -x user/nexus/_nexus-20120127-172657*@obm.next' cyrus

        2012/01/27 17:26:59:1341495 [3642]: ObmSatellite::Modules::backupEntity:1163 DEBUG - Executing su -l -c 'PATH="/usr/lib/cyrus-imapd:/usr/lib/cyrus/bin" quota -d obm.next user/nexus' cyrus

        Show
        jeremie kornobis added a comment - Target: Wrong parameter when restore Mail directory: Current Fail: reconstruct -r -f -x user/nexus/_nexus-20120127-172657*@obm.next Futur maybe, probably not Fail: need just reconstruct -r -f -x user/nexus@obm.next OBM SATELLITE Log: 2012/01/27 17:26:57:1339218 [3642] : ObmSatellite::Modules::backupEntity:1127 DEBUG - Executing /bin/tar - strip 6 -C /var/spool/cyrus/obm_next/domain/o/obm.next/n/user/nexus/ nexus-20120127-172657 -xzf /var/backups/obm/obm.next/user nexus obm.next _20120127-172521.tar.gz ./nexus@obm.next/mailbox > /dev/null 2>&1 2012/01/27 17:26:57:1339321 [3642] : ObmSatellite::Modules::backupEntity:1153 DEBUG - Executing su -l -c 'PATH="/usr/lib/cyrus-imapd:/usr/lib/cyrus/bin" reconstruct -r -f -x user/nexus/_nexus-20120127-172657*@obm.next' cyrus 2012/01/27 17:26:59:1341495 [3642] : ObmSatellite::Modules::backupEntity:1163 DEBUG - Executing su -l -c 'PATH="/usr/lib/cyrus-imapd:/usr/lib/cyrus/bin" quota -d obm.next user/nexus' cyrus
        Hide
        jeremie kornobis added a comment -

        Problem in obm-satellite in Perl, reaffected to Emmanuel SURLEAU.

        Show
        jeremie kornobis added a comment - Problem in obm-satellite in Perl, reaffected to Emmanuel SURLEAU.
        Hide
        Stephane COLSON added a comment -

        Tosca or Mantis required

        Show
        Stephane COLSON added a comment - Tosca or Mantis required
        Hide
        Jenkins Continuous Integration Server added a comment -

        Integrated in package-next-deb #150
        OBMFULL-2805 Email backup replaces current emails. (Revision 17708145ca4e628226e01620832622726f8ab71a)
        OBMFULL-2805 Adds module to enable/disable email. (Revision 022d48dacf3bc0c42b3f5ef0cdf4e94d29cdd886)
        OBMFULL-2805 Don't refuse to load modules silently. (Revision 2ddc0ef5041cbb99636c2cde6added485f8f3d31)
        OBMFULL-2805 Cuts mail access during mail restore. (Revision 512c519f18181325e59c2d5282f8c19e8a6ce844)
        OBMFULL-2805 Fixes table names. (Revision 92ba16a29f62bd21a596cb9028c7d7638f5edbcc)
        OBMFULL-2805 Adds postfixAccess to mods-available. (Revision 260ee68b33f31151651cd3565acf2c66a69fd9a2)

        Result = SUCCESS

        Show
        Jenkins Continuous Integration Server added a comment - Integrated in package-next-deb #150 OBMFULL-2805 Email backup replaces current emails. (Revision 17708145ca4e628226e01620832622726f8ab71a) OBMFULL-2805 Adds module to enable/disable email. (Revision 022d48dacf3bc0c42b3f5ef0cdf4e94d29cdd886) OBMFULL-2805 Don't refuse to load modules silently. (Revision 2ddc0ef5041cbb99636c2cde6added485f8f3d31) OBMFULL-2805 Cuts mail access during mail restore. (Revision 512c519f18181325e59c2d5282f8c19e8a6ce844) OBMFULL-2805 Fixes table names. (Revision 92ba16a29f62bd21a596cb9028c7d7638f5edbcc) OBMFULL-2805 Adds postfixAccess to mods-available. (Revision 260ee68b33f31151651cd3565acf2c66a69fd9a2) Result = SUCCESS
        Hide
        Stephane COLSON added a comment -

        Tested with obm 2.4.1~alpha5+git20120306-1057-2274aa7, postgres and mysql:

        If I delete several messages, then restore my backup only the last one is retrieved in my mailbox (tested with TB)

        If I delete an email that is not the last one, it is not retrieved at all.

        Show
        Stephane COLSON added a comment - Tested with obm 2.4.1~alpha5+git20120306-1057-2274aa7, postgres and mysql: If I delete several messages, then restore my backup only the last one is retrieved in my mailbox (tested with TB) If I delete an email that is not the last one, it is not retrieved at all.
        Hide
        Michael Bailly added a comment -

        RAF

        Show
        Michael Bailly added a comment - RAF

          People

          • Assignee:
            Emmanuel Surleau
            Reporter:
            Lilian Chamontin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: