How can I back up and restore my site data with ISPConfig?

Procédure

Introduction

In this documentation, we will take a step-by-step look at how to create backups on a VPS using the ISPConfig 3 control panel. Regular backups are essential to protect your data and enable you to restore your website in the event of a problem.

I. Accessing the ISP Config backup functionality

To access ISP Config's backup functionality, you need to follow these steps:

Step 1: Log in to the ISP Config control panel on your VPS.

Step 2: select the site to be backed up.

To do this, once you have logged into the control panel, click on the"Sites" button.

How can I back up and restore my site data with ISPConfig?

Then click on the domain name of the website whose back-up you wish to configure in the list of domains configured on the VPS server.

How can I back up and restore my site data with ISPConfig?

Finally, click on the "Backup" button in the website configuration menu.

How can I back up and restore my site data with ISPConfig?

II. Configuring a scheduled backup

In ISPConfig 3, you can configure a backup plan for each configured website. It is possible to configure the time of the backups as well as their frequency and the retention of the backups.


Step 1: Configure the backup plan

At this stage, your browser displays the backup management page for your website via ISP Config.

You can configure :

  • the frequency of backups with values (No Backup, Daily, Weekly, Monthly)
  • the number of backup copies to keep (from 1 to 30 copies possible)
  • the exclusion of certain folders (e.g. cache files, temporary files, backup files)

How can I back up and restore my site data with ISPConfig?

By default, backups are made at midnight (French time), but this time can be changed in the ISP Config system configuration. Weekly backups are performed on Mondays and monthly backups on the first day of the month.

Step 2 (optional): advanced options

You can configure additional options such as backup compression and encryption.

By default, backup data is compressed into an archive in gzip format for web files and databases. You can change the compression format if you wish. You can manage the compression of web files and databases independently.

How can I back up and restore my site data with ISPConfig?

As .RAR compression is not installed on VPS servers by default, we recommend that you do not choose this compression format
.

You can also encrypt your backup archives with a password.

To activate this feature, you need to click on the"Enable encryption" checkbox and set a password.

How can I back up and restore my site data with ISPConfig?

When configuring this feature, you will need to enter the password to allow the archive to be decompressed and the data decrypted.

This feature is only compatible with Zip or 7z archives
.

Step 3: Finalising

Once you have configured your backup plan, click on the"Save" button at the bottom of the page to save the configuration permanently.

The backups made on ISP Config are placed on your VPS server, so you need to check that the free volume of your VPS allows you to make and keep the backups you want
.

You can watch all these steps in the video below:

III. Performing a manual backup

To perform a manual backup, go to the "Manual Backup" section.

How can I back up and restore my site data with ISPConfig?

In this section, you can make a backup of your web files by clicking on"Make Backup of web files" or a backup of your databases by clicking on"Make backup of databases".

Manual backups count towards the total number of authorised backups: therefore, if the limit is exceeded, the oldest backups may be deleted automatically
.

Backups made on ISP Config are placed on your VPS server, so you should check that the free volume of your VPS allows you to make and keep the backups you want.

IV. List and management of backups (restore, delete, download)

If you have already made backups, whether manually or automatically, they will be listed in the"Existing backups" section.

How can I back up and restore my site data with ISPConfig?

This section allows you to perform the following actions on the backups you have made:

  • Restore backup : allows you to restore the selected backup on your VPS
  • Download backup: an archive containing the backup data is created on the FTP space of the website on the VPS and then downloaded to your computer by FTP transfer.
  • Delete backup: allows you to delete the backup.


Each action may take several minutes to complete
.

V. Modifying the execution parameters of the backup tool

To modify the parameters for running ISP Config backups, please follow these steps:

Step 1: Access the server's system configuration

In the ISP config menu at the top of the control panel, click on the"System" button

How can I back up and restore my site data with ISPConfig?

Then, in the left-hand menu, click on"Server configuration".

How can I back up and restore my site data with ISPConfig?

Finally, in the list of configurable servers, click on the link for your server as shown below:

How can I back up and restore my site data with ISPConfig?

Then stay on the"Server" tab and scroll down the page to access the backup configurations, the guidelines for which are shown in the screenshot below:

How can I back up and restore my site data with ISPConfig?

The following parameters can then be modified:

Backup folder: This is the folder where ISPConfig stores the backups made. By default, the path of the folder that receives the backups is "/var/backup". This folder cannot be accessed by FTP connection, only by SSH. If you wish to place your backups in a folder accessible via FTP, you will need to change the path to something like "/var/www/domain.ext/backup" where domain.ext corresponds to the domain of the site that will receive the backups.

This FTP space will receive all the backups made with ISP Config and not just the backups of the chosen domain
.

Backup directory is a mount : allows you to use a backup directory that is not on the vps but a mount point (a virtual directory that points to the SFTP of a CloudDrive storage package, for example).

Backup mode :

  • Backup all files in web directory as root user: the "root" user will be used to create backups (full permissions).
  • Backup web files owned by web user as zip: backups will be made by the site user (so if files on the site belong to another user or to the "root" user, they will not be backed up).
  • BorgBackup: Backup all files in vhost directory and databases into incremental repositories: works in a similar way to Borg, backups are incremental (the backup checks the modification date and only backs up new files).

Backup tmp directory for zip: this is the folder where ISPConfig prepares the .zip backup

Backup time: time when the backup will be performed

Delete backups on domain/website delete: deletes the backups present in the folder configured as the "backup folder" if the site is deleted.

Conclusion

In conclusion, backups are essential to protect your data and ensure the continuity of your website. With ISPConfig 3, you have a user-friendly and powerful tool for configuring and managing your backups on a VPS. By following the simple steps described in this article, even beginners can create and monitor their backups effectively. Don't overlook the importance of regular backups, and make sure you take the time to set up your backups now to prevent data loss and prepare for potential problems.

Rate this article :

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

4mn reading

Force the creation of a backup on ISPConfig


Ask the LWS team and its community a question