Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
GSTN - Restore mail from Archive Server
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[category:GSTN]] <div style="text-align:center;"><u>Restore mails from archive server.</u></div> 1st login to the archive server switch user to zimbra Let take the example for the pradeep.pandey Hit the below commands '''<nowiki># zmprov gmi pradeep.pandey@gstn.org.in.archive</nowiki>''' if the account is not find then do zmprov -l gaa | grep pradeep.panday use account name instead of pradeep.panday . It is possible that account can be in pradeep.panday-{date}@gstn.org.in.archive Above command will give the mailbox id suppose it give 33 then go to directory '''<nowiki># cd /opt/zimbra/store/0/</nowiki>''' '''<nowiki># rsync -aP 33 root@172.18.101.20:/tmp/</nowiki>''' # it will prompt for the password of machine 20 provide it then the directory will transfer to the server Now login to 172.18.101.20 and check the directory was there or not by below command. '''<nowiki># ls /tmp/</nowiki>''' Above will show a directory maned 33, now change the permission of the directory so that zimbra can work on it as with below command. '''<nowiki># chown zimbra.zimbra /tmp/33 -R</nowiki>''' '''<nowiki># su β zimbra</nowiki>''' '''<nowiki># zmmailbox -zadmin</nowiki>''' mbox> selectMailbox pradeep.pandey@gstn.org.in mbox pradeep.pandey@gstn.org.in> createFolder /Recovery mbox pradeep.pandey@gstn.org.in> addMessage /Recovery /tmp/33/msg/0/ '''<nowiki>#/tmp/33 is the path of the folder in which acrive mails were there.</nowiki>''' Note: Please do not do the above without under our observation till you haven't have a good experience with cli and understanding of the process.
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)