zimbra restore bckup from file system /opt/zimbra

$ zmprov getMailboxInfo b@test.test
mailboxId: 16
quotaUsed: 1951021

[zimbra@mail root]$ zmprov getMailboxInfo hgarware@gartech.co.in

mailboxId: 16

quotaUsed: 40745785417




/backup3/allbackup/INDIA/192.227.91.253/DAILY/opt/zimbra/store/0/16/msg



/opt/zimbra/bin/zmmailbox -z -m  d.niin@drushti.in addMessage /Recovery(DirectoryName were u want to restore emails) /backup/opt/zimbra/store/0/32/msg/0/*



/opt/zimbra/bin/zmmailbox -z -m  hgarware@gartech.co.in addMessage /allmails /mnt/hgarware/*

here allmails is the directory that you need to create in the mail is from view emails outside of inbox

check all folder mail will be stored in date wise do ll and check




mysql -e "select email,mailbox_id from zimbra.deleted_account"

mysql -e "select email,mailbox_id from zimbra.deleted_account"


+------------------------------+------------+

| email                        | mailbox_id |

+------------------------------+------------+

| amol@fristam.in              |         16 |

| demo@zimbra.fristam.in       |          2 |

| dipti.shrirao@fristam.in     |         18 |

| kanchan.jamdade@fristam.in   |         64 |

| madhavi.joshi@fristam.in     |         20 |

| nikhil@fristam.in            |         24 |

| pinterscan@zimbra.fristam.in |         65 |

| pravin.bhanarkar@fristam.in  |         33 |

| test1@fristam.in             |         13 |

| test2@fristam.in             |         14 |

| test@fristam.in              |          8 |

+------------------------------+------------+
















 

Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation