Old mailserver mail migration to Piler: Difference between revisions
Appearance
Created page with "category:Jakson '''Approach :''' Mount zimbra store on piler and use pilerimport for directory containing mails Mount the disk of old server on piler server on piler ..." |
No edit summary |
||
| Line 20: | Line 20: | ||
Will show the progress | Will show the progress | ||
13 TB of Mail Data got migrated via this mechanism to Piler mail | |||
We had to change the process to multi thread process , We had taken multi screens and ran | |||
for d in `ls -d -1 -- /old_mails/9[0-9]*` ; do pilerimport -d $d ; done | |||
for d in `ls -d -1 -- /old_mails/8[0-9]*` ; do pilerimport -d $d ; done | |||
and so on in different screen . | |||
13 TB of Mail Data got migrated via this mechanism to Piler mail Archival solution | |||
Latest revision as of 04:44, 21 August 2019
Approach : Mount zimbra store on piler and use pilerimport for directory containing mails
Mount the disk of old server on piler server
on piler server
yum install sshfs sshfs -o allow_other,uid=1000,gid=1000 192.168.16.105:/opt/zimbra/store/0/ /old_mails/
where uid=1000,gid=1000 are uid,gid of piler users
Then
screen cd /tmp pilerimport -d /old_mails/
Will show the progress
We had to change the process to multi thread process , We had taken multi screens and ran
for d in `ls -d -1 -- /old_mails/9[0-9]*` ; do pilerimport -d $d ; done for d in `ls -d -1 -- /old_mails/8[0-9]*` ; do pilerimport -d $d ; done
and so on in different screen .
13 TB of Mail Data got migrated via this mechanism to Piler mail Archival solution