Creating a backup copy in the "Vesta " control panel is simple enough, there is a corresponding section where you can make a backup.

file

In order for a "backup " job to be queued, you have to click on "+". The queue is processed once every 5 minutes
When the backup is complete, a notification is sent to your mailbox
After that, you can download the backup through the Vesta web interface.

A site backup in "vesta cp" consists of:*

  • Source sites, certificates to them, nginx configurations and Vesta control panel itself for each domain.

  • Configuration files of the system profile on the server.

  • Dumps of mysql databases and system settings for them.

  • Cron file.


If you log in to the control panel as "admin ", by default all users created in the control panel will be backed up.

In order to backup only the necessary parameters, you need to select the tab "Exceptions ".

file

Then select the "Customize " tab.

file

Fill in the fields that appear and specify the necessary exceptions, this means that the specified folders, databases, etc. will not be backed up
To apply the settings, click the "Save " button.

file

Next, click "Create Archive " to create a backup with the specified settings.

file


Restoring from backup

To restore information from a backup, on the "backup " tab of the desired backup, click "Configure restore options ".

file

In the opened window "Restore " the necessary items or "Restore All " pressing the restore button.

file

*"Task is already in progress, please wait until it's over "

file

If the restore process hangs with this text:

you can remove it through the file /usr/local/vesta/data/queue/backup.pipe

# cat /usr/local/vesta/data/queue/backup.pipe
/usr/local/vesta/bin/v-restore-user admin.2018-01-12.tar 'site.ru' 'no' 'no' 'admin_db111' 'no' 'no' yes >> /usr/local/vesta/log/restore.log 2>&1

# :> /usr/local/vesta/data/queue/backup.pipe
Updated April 9, 2019