Backup Postfix Mailbox

Backing up your mailboxes is a simple as copying your mailbox folder. This article describes how to backup and restore your Postfix mailboxes using the tar command.

To backup the mailbox, type the command below in a terminal window.

tar cvzf mailbox.tar.gz /var/mail
Replace /var/mail with the location of your own mailbox.

To restore the mailbox, type the command below in a terminal window.

tar xvzf mailbox.tar.gz -C /

Replace mailbox.tar.gz with the name of your backup file.

Comments

Popular posts from this blog

Install Nginx With PHP And MySQL On CentOS 7

Some common php modules

Redirect all unencrypted traffic to HTTPS in Apache