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 /
Comments
Post a Comment