Revision of Backups from Tue, 06/02/2009 - 10:11

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Mirror/backup your vpopmail domains to another Qmail server. Run it through cron and have a hot-backup server ready for action in case your main server crashes.

To mirror the entire /home/vpopmail structure, on the destination server:

rsync -avx --delete -e ssh root@<source_server>:/home/vpopmail /home/

To mirror just a domain, on the destination server::

rsync -avx --delete -e ssh root@<source_server>:/home/vpopmail/domains/<domain> /home/vpopmail/domains

Instructions for setting up public keys so rsync won't require a password.

Automate using cron
Create a text file in /etc/cron.d/vpop_rsync, such as:

0 3 * * * * root rsync -avx --delete -e ssh root@<server>:/home/vpopmail/domains/<domain> /home/vpopmail/domains

Refer to the cron page for further details and cron tricks.

Recent Updates

  • 8 months 3 weeks ago
    1.27.2 update
  • 9 months 4 days ago
    Drupal 10/11 config
  • 9 months 5 days ago
  • PHP
    9 months 5 days ago
    PHP 8.3.11 and AlmaLinux
  • 9 months 6 days ago
    New version of Pound