Today I added an additional volume to the mailserver prefect, since it was running out of disk space for the mailboxes. I have now increased the space by adding a new ‘virtual’ block storage, mounted and some mailboxes have been moved to the new drive. This new drive can be resized as needed with the lowest cost possible. We don’t need more CPU or memory, just more disk space and this works with $0.10/GB per month. The only drawback is that these volumes cannot be automatically backed up.
I have transfered the files from /var/mail/vmail to /mnt/vmail1/vmail by using rsync like this:
1 |
# rsync -avxHAXW --progress /var/mail/vmail/emanat.si/sindikat /mnt/vmail1/vmail/emanat.si/ |
This transfered whole folders preserving all permissions and ownerships.