User Tools

Site Tools


internet:hosting:virtualmin_backup

This is an old revision of the document!


Virtualmin - Backup

See also Webmin Backup

:!: Requires separate Webmin backup!

  • Backups require free space in /tmp
  • Estimate the amount of temporary space needed by the size of your largest Virtual Server
  • Choices for disk space:
    • Make sure the installation partition with the root filesystem has sufficient space
    • Extend the installation partition and root filesystem
    • Change the temporary folder used to one with more space
    • Add an additional disk/partition and mount it on /tmp
      • chmod 1777 /tmp
  • Scheduled backup jobs can cause disruptions of hosted services
    • Prioritize CPU utilization of scheduled jobs (nice level)
    • Prioritize IO utilization of scheduled jobs (ionice level)

Scheduled Backups

Virtualmin → Backup and Restore → Scheduled Backups

  • All Virtual Servers
  • Include Sub-Servers
  • Any Plan
  • Backup All Features
  • FTP Server
    • 10.10.1.9
    • Virtualmin/%m-%d-%y
    • vabackup
  • Enable Delete old backups after 90 Days
  • Enable strftime-style time substitutions in the file or directory name
  • Enable Transfer each virtual server after it is backed up
  • Enable One File per server
  • Enable Create destination directory
  • Enable Continue with other features and servers
  • Enable Full (all files)
  • Configure Email backup report to (admin e-mail address)
  • Enable Only send email on failure (if you are confident the backups are working)

Create two scheduled backup jobs:

  • Weekly Full
    • Simple Schedule
    • Weekly on Sunday
  • Daily Incremental
    • Incremental (only files changed since last full backup)
    • Complex schedule
      • At cron time 0 0 * * 1-6

Backup Schedule

Temporary Space and Resource Prioritization

Webmin → Webmin → Webmin Configuration → Advanced

  • Temporary files directory
  • CPU priority for scheduled jobs
    • 10
  • IO priority for scheduled jobs
    • 5

Temp Space and Prioritization

internet/hosting/virtualmin_backup.1468608222.txt.gz · Last modified: 2016/07/15 12:43 by gcooper