---
title: "How to Create Webmin Backups"
description: "Since Webmin is a lesser discussed product, there’s less documentation available on how to secure Webmin servers. The easiest issues to resolve:&nbsp; SSL configuration (Certbot being one of the..."
url: https://www.inmotionhosting.com/support/product-guides/cloud-server/webmin-backups/
date: 2021-02-16
modified: 2021-02-16
author: "InMotion Hosting Contributor"
categories: ["Cloud Server Hosting"]
type: post
lang: en
---

# How to Create Webmin Backups

Since [**Webmin**](https://webmin.com/) is a lesser discussed product, there’s less documentation available on how to [secure Webmin servers](https://www.inmotionhosting.com/support/product-guides/cloud-server/secure-cloud-server-hosting/). The easiest issues to resolve: 

- [SSL configuration](https://www.inmotionhosting.com/support/product-guides/cloud-server/ssl-errors-and-https-in-webmin/) ([Certbot](https://www.inmotionhosting.com/support/website/ssl/lets-encrypt-ssl-ubuntu-with-certbot/) being one of the easiest options)
- Automated [Antivirus (AV) scanning](https://www.inmotionhosting.com/support/security/clamav-or-imunifyav/)
- Webmin Backups

Once you [log into the Webmin dashboard](https://www.inmotionhosting.com/support/product-guides/cloud-server/webmin-user-login-passwords/), there are multiple options to backup data on a Webmin server. We’ll cover how to do the following below: 

- [Backup Webmin Filesystem](#file)
- [Backup Webmin Configuration Files](#config)
  - [Schedule Webmin Configuration Backups](#config-schedule)
  - [Restore Webmin Configuration Files](#config-restore)
- [Integrate Bacula for Webmin Backups](#bacula)

If you don’t need cPanel, don’t pay for it. Only pay for what you need with our scalable [Cloud VPS Hosting](https://www.inmotionhosting.com/cloud-vps).

![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)CentOS, Debian, or Ubuntu ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)No Bloatware ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)SSH and Root Access

## Backup Webmin Filesystem

Webmin offers the ability to schedule full server backups in `[tar](https://www.inmotionhosting.com/support/website/tar-command-basic-archiving/)` format.

The settings option in the upper-left corner allows you to run backups in the foreground / background, send backup notifications, and more.

1. On the left, under *System*, select **Filesystem Backup**.
2. Select the file icon to the right of the text box.
3. Select a file path to backup.
4. Select **Add a new backup of directory:** to continue.
5. On the next page, add additional directories to backup.
6. Specify the directory (or remote system) and filename for the backup to be created.
7. Select the **Remote backup command** if applicable. Then fill in the **Password for SSH/FTP login**.
8. Select **Backup options** to specify backup label, files to skip, and more.
9. Select **Backup schedule** to set [cron job](https://www.inmotionhosting.com/support/edu/cpanel/how-to-run-a-cron-job/) timing, what email account should receive results notifications and in what situations.
10. At bottom, select **Save** or **Save and Backup Now**. You can also restore filesystem backups from here.

Webmin backups are listed on the *Filesystem Backup* page.

![Configuring Webmin backups for the filesystem](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/webmin-backup-filesystem-1024x576.png)

## Backup Webmin Configuration Files

Webmin has the ability to create, schedule, and restore backups of essential server configuration files in the `tgz` format.

The settings option in the upper-left corner allows you to change the backup data time-frames to `[strftime](https://strftime.org/)` or Webmin variable substitution, update the *From* address for email notifications, and more.

1. On the left, under *Webmin*, select **Backup Configuration Files**.
2. Select Webmin modules to backup. You can select multiple modules with the Ctrl key or all modules between two modules with the Shift key.
3. Select a backup destination: *local file, external FTP server, external SSH server, or browser download*.
4. Specify other files to include in the backup: module configuration files, server configuration files, and other files listed in the text box at the bottom of the page.
5. At the bottom, select **Backup Now**.

![Configuring Webmin backups for configuration files](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/webmin-backup-config-files-1024x576.png)

### Schedule Webmin Configuration Backups

1. At the top of the *Backup Configuration Files* page, select **Scheduled backups**.
2. Edit backup options same as for immediate backups covered above. 
3. Select **Pre and post backup commands **to add *pre-backup* and *post-backup* commands if needed. Possible usage examples for this option include loading / unloading tapes and creating [checksums](https://www.inmotionhosting.com/support/security/create-checksum-locally/).
4. Select **Backup schedule** to set the cron job timing, what email account should receive results notifications, and when.
5. At the bottom, select **Create**.

You’ll see created Webmin backups listed on the Scheduled backups page showing the backup destination, Webmin modules, and scheduled time.

### Restore Webmin Configuration Files

1. At the top of the *Backup Configuration Files* page, select **Restore now**.
2. Select modules to restore and other files if necessary.
3. Under *Restore from*, specify the backup file for restoration.
4. Choose where to apply configurations and list files that would be affected.
5. At the bottom, select **Restore Now**.

## Integrate Bacula for Webmin Backups

The [Bacula Webmin module](https://www.webmin.com/cgi-bin/search_third.cgi?search=bacula&core=1) allows system administrators to integrate Webmin servers with a [Bacula](https://www.bacula.org/) backup and recovery instance. To do so, you must install the Bacula Webmin module from *Webmin > Webmin Configuration > Webmin Modules*. Choose an installation method, then select **Install Module** at the bottom. You may then configure backups with the *Bacula Backup System* from the left-hand menu.

Learn more essential server administration tasks from our [Cloud Server Hosting Product Guide](https://www.inmotionhosting.com/support/product-guides/cloud-server/).
