Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed email server with "dovecot, postfix, postfixadmin" etc. Now I mounted new driver. All my mails are in folder /home/vmail/ user is: vmail uid=5000 gid=500.

I like to move those files to new mounted drive. What is the right way to do it? Making symbolic link to /media/emaildrive from /home/vmail or configure postfix and dovecot to use /media/emaildrive/vmail?

share|improve this question

1 Answer 1

cp -Rp /home/vmail /mnt/newdrive
mv /home/vmail /home/vmailbackup

edit fstab to mount the new drive at /home/vmail
init 6
done

should work appropriately...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.