Results 1 to 4 of 4

Thread: Restore single user zimbra Open source 5.0.10

  1. #1
    alligadas is offline New Member
    Join Date
    Jul 2011
    Posts
    3
    Rep Power
    4

    Default Restore single user zimbra Open source 5.0.10

    Hello, I'm a IT manager and we have wrongly deleted a user, now im looking for the options i can chose and don't know whats the best can i do, i readed a lots of posts but not really sure witch real options i have.


    the only way its restore a full backup? i only have weekly full backup from the server.

    as i read the only option is restoring the full backup in new installation and export the user?

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Quote Originally Posted by alligadas View Post
    ...as i read the only option is restoring the full backup in new installation and export the user?
    That would be the only option, I'd suggest you don't attempt this on your live production server (I guess that's what you mean by 'new installation'?). There is a thread in the forums that has a script for backup/restore of individual accounts and you may want to investigate that after you've recovered this account.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    alligadas is offline New Member
    Join Date
    Jul 2011
    Posts
    3
    Rep Power
    4

    Default

    as new instalation i mean new and diferent server without doing nothing on the live before i have exported the account with a undestandable format for my live server thats right? i readed some about this

    grep -m1 <numbre cuenta> `find -mtime -<dias de recuperacion> -iname "*.msg"`|awk -F: '{print $1}'

    2- Por cada fichero tendrás que ejecutar algo asi:
    zmmailbox -z -m <direccion de correo> addMessage /Inbox <fichero msg a recuperar>



    this 2 commands will work with a deleted account?

  4. #4
    Yves Pires is offline Senior Member
    Join Date
    Jun 2011
    Posts
    52
    Rep Power
    4

    Default

    on your lab server with full bkp run:

    /opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL “//?fmt=tgz” > /tmp/account.tgz


    then copy with scp.. to your production server and run :

    /opt/zimbra/bin/zmmailbox -z -m user@domain.com postRestURL “//?fmt=tgz&resolve=modify” /tmp/account.tgz

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 31
    Last Post: 12-15-2007, 09:05 PM
  2. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  3. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Network edition - strange behavior
    By goetzi in forum Installation
    Replies: 6
    Last Post: 11-16-2005, 03:08 PM

Posting Permissions

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