accidently deleted user
Results 1 to 8 of 8

Thread: accidently deleted user

  1. #1
    Active Member
    Join Date
    Oct 2014
    Posts
    5

    accidently deleted user

    dear all,

    I just accidentally deleted user through the admin panel
    can i restore the user and all his earlier mails with zimbra itself or the zextras backup and restore module
    I am using zimbra foss version 7.12
    please let me know

    regards

    ben

  2. #2
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,342
    Hello sbdcunha,
    welcome to the forums!

    The ZeXtras Backup module of ZeXtras Suite offers the "Restore Deleted Account" feature, which allows you to easily restore a deleted account: to use this feature, simply click on the "Restore Deleted Account" button in the "ZxBackup" secton of the ZeXtras Administration Zimlet.

    Have a nice day,
    Cine
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  3. #3
    Active Member
    Join Date
    Oct 2014
    Posts
    5
    dear cine,

    Really appreciate your immediate reply.

    since I did not have ZeXtras Suite installed at the time of accidental deletion of user, can i install the 30 days trail version now and will i be able to recover the user and his mails.

    kindly let me know

    i will pursue with the management and do my best to buy the license version .

    Thanks and regards and
    God Bless U

    ben

  4. #4
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,342
    Hello sbdcunha!

    In Zimbra, once an user is deleted all of the appropriate Database entries and BLOB files are immediately deleted - so if there was no backup system safeguarding a copy of the information there is no way to recover the user...

    Have a nice day,
    Cine
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  5. #5
    Active Member
    Join Date
    Oct 2014
    Posts
    5
    dear Cine,

    Thanks for the reply
    i really appreciate

    regards

    simon

  6. #6
    CTO ZeXtras Employee d0s0n's Avatar
    Join Date
    Apr 2011
    Posts
    565
    Hi simon,

    I'm sorry but ZeXtras Backup, like any other backup software, can only restore data from the backupped copy... there's no way to recover deleted data from zimbra without a previous backup!

    Have a nice day.
    D0s0n
    ZeXtras Website # ZeXtras Wiki # ZeXtras Store

    Head of ZeXtras System Administrators

  7. #7
    Active Member
    Join Date
    Oct 2014
    Posts
    5
    Thanks guys for you quick response.
    by the way can you please tell me the cost of license for ZeXtras suite so i can pursue with my management for purchase

    secondly i did have a backup as below
    -------------------

    #!/bin/bash


    /usr/bin/rsync -avHK --delete /opt/zimbra/ /root/backup

    # Stop Zimbra Services
    su - zimbra -c"/opt/zimbra/bin/zmcontrol stop"
    #
    sleep 25

    # Kill any orphaned Zimbra processes
    ORPHANED=`ps -u zimbra -o "pid="` && kill -9 $ORPHANED
    #
    # Sync to backup directory
    /usr/bin/rsync -avHK --delete /opt/zimbra/ /root/backup

    # Restart Zimbra Services
    su - zimbra -c "/opt/zimbra/bin/zmcontrol start"
    #
    #
    -------------
    this is automated with a cron job every night

    is there a way i can find out the store directory of the user where his mails reside

    appreciate your help

    regards

    simon

  8. #8
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,342
    Hello Simon!

    You can find a nice article about Zimbra's DB/file structure here

    Given the script you posted, however, I'd say the chances to recover the deleted items from the backup are very low since your rsync command deletes from the destination directory any file that has been deleted from the source.
    While that kind of backup is very useful as a "last resort" for Disaster Recovery I won't say it's optimal for the task you need to perform...

    Have a nice day,
    Cine
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •