By default, the VestaCP panel makes backups once a day. The last three backups are saved.
We also provide free weekly backups.
You can make a manual backup at any time. For example, before making changes to the VPS or database settings. Click the BACKUP tab in VestaCP. Then click the button CREATE BACKUP.
You will receive a notification to the mail indicated in the panel when the backup is ready. If the backup has already been created on that day, it will be replaced with the new one. Backups can be copied to your local computer. A copy will be available in the BACKUP section.
You can restore some components from the backup. For example, if you only need to restore site files, select the WEB-domain and click RESTORE.
It is not necessary to back up the entire VPS. Only important directories can be saved. Press BACKUP – BACKUP EXCLUSIONS – CONFIGURE to exclude unnecessary elements from the backup.
Also, in the VestaCP you can configure saving backups to a remote FTP server. This will keep your latest backups available even if the VPS server crashes.
- Connect to the server via SSH.
- Run the command to create the file:
- Add to the created file:
HOST='IP.of.your.server'BPATH= '/backup-vesta' – path to the folder where the backup will be saved. Login and password are required to connect to the server.
- Save your changes.
- Open the file vesta.conf:
- In the file vesta.conf replace the line BACKUP_SYSTEM='local':
BACKUP_SYSTEM='local,ftp'If you set the value BACKUP_SYSTEM='ftp', then the backups will be saved only to the remote FTP server.
Save your changes to the file.
- Check your backup settings. Go to the BACKUP section and try creating a new copy. This copy should be set to type local, FTP.
If you have any questions, please create a ticket to technical support.