User Tools

Site Tools


internet:hosting:virtualmin_backup

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
    • 123.123.123.123
      • IP address or FQDN of FTP server
    • backupuser
      • FTP user name
  • 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)
  • Kill the running backup if the destination is in use

Create two scheduled backup jobs:

  • Weekly Full
    • Simple Schedule
      • Weekly on Sunday
    • Virtualmin/Full/%m-%d-%y as destination path
      • Name resulting backup as 'month-day-year'
    • Delete old backups after 60 Days
  • Daily Incremental (actually differential)
    • Virtualmin/Incremental/%m-%d-%y
    • Delete old backups after 6 Days
    • Incremental (only files changed since last full backup)
    • Complex schedule
      • At cron time 0 0 * * 1-6
      • At midnight Monday through Saturday

Backup Schedule

Temporary Space and Resource Prioritization

Webmin → Webmin → Webmin Configuration → Advanced Options

  • Temporary files directory/tmp/.webmin (default)
  • CPU priority for scheduled jobs10
  • IO priority for scheduled jobs5

Temp Space and Prioritization

internet/hosting/virtualmin_backup.txt · Last modified: 2018/04/12 08:46 by gcooper