Book Image

Webmin Administrator's Cookbook

By : Michal Karzynski
Book Image

Webmin Administrator's Cookbook

By: Michal Karzynski

Overview of this book

Table of Contents (19 chapters)
Webmin Administrator's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Backing up databases


Webmin can help you set up a schedule to perform automatic backups of all databases hosted on your system. Webmin will dump the databases as SQL files into a directory on your local filesystem or locally mounted remote network volume.

Tip

You can make backups of databases to a local directory and back that directory up to a remote server. You can also instruct Webmin to run a command that will remove old local backups after transferring them to a remote location.

How to do it...

  1. Depending on the database system you're using, click either the MySQL Database Server or PostgreSQL Database Server link in the Servers section of Webmin's main menu.

  2. Click the Backup Databases button.

  3. In the Backup to directory field, enter a directory where the database backups will be created, for instance, /backups/databases.

  4. Set Create destination directory? to Yes. Webmin will create a directory with the appropriate owner and permissions for the database system to write output there.

  5. In the Backup...