Force the creation of a backup on ISPConfig

Procédure

Forcing a scheduled backup to run from ISPConfig

The backup associated with your website can be triggered from a PHP script designed for this purpose.

In order for the backup to be triggered and to function, you must first configure the backup for your website using ISPConfig.

To do this, follow this procedure:

https://help.lws-hosting.com/en/How-to-back-up-a-website-automatically-from-ISPConfig

This bash command can only be run as root, so the user must be uninformed by LWS to be able to access the SSH service as root.

To force the backup, the command is as follows:

php /usr/local/ispconfig/server/cron_debug.php --cronjob=500-backup.inc.php

This command can be useful if you want to make a backup of your website and database before updating your website or database.

How can I check that a backup programmed from ISPConfig has been carried out?

Log on to ISPConfig, then navigate to the "Backup" section associated with your website.

After running the command, if the backup was successful, you will obtain these two records in "Existing backups":

- A gunzip-compressed archive of your website

- A gunzip-compressed SQL file of your MySQL database

Force the creation of a backup on ISPConfig

Note: if you delete your website and/or your database associated with your website, the backups made will still be available in the folder:

/var/backup/web1/

In this example, the "web1" folder corresponds to the identifier of the web folder of your deleted website.

Rate this article :

5/5 | 1 opinion

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

1mn reading

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


Ask the LWS team and its community a question