wesupport

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Backup and Restore in VestaCP – Manage with ease

by | Sep 10, 2021

Wondering how to function backup and restore in VestaCP? We can help you.

With VestaCP we can manage clients and websites on the server with ease.

As part of our Server Management Services, we assist our customers with several VestaCP queries.

Today, let us discuss backup and restoration in VestaCP.

Backup and Restore in VestaCP

When it comes to web hosting, regular backups and uptime are crucial. If a site goes down, we need to quickly up the site or the whole system live by restoring the available backups.

VestaCP provides us the backup system out of the box. It helps us to easily create new backups and restore them whenever neccesary.

  • Create Backup in VestaCP

Initially, we log in to the VestaCP control panel:

https://{Enter your server IP address or hostname}:8083

Now, we on the main menu, we click the BACKUP section.

In here, we Click on the CREATE BACKUP button.

Once done, it will initiate the backup and we will get the following message:

Task has been added to the queue. You will receive an email notification when your backup is ready for download.

We click on the “Ok” button.

We can find the backup on the same page itself (under the backup tab section).

In addition, we can easily download the backup from the list of backups.

To do so, we hover on the backup and click on “Download” button, which will start the download process instantly.

  • Restore from a VestaCP Backup

Moving ahead, let us see two methods our Support Techs employ to restore backup.

Method 1

1) We login to the VestaCP control panel:

https://{Enter your server IP address or hostname}:8083

2) We can log in as a user or as an admin. Once inside, we click on the “Backup” tab.

3) Now we can see the list of backups for a logged-in user.

If we log in as a user, it will list the backups of the logged-in user. Then we can select the backups we want to restore.

We click on “CONFIGURE RESTORE SETTINGS” corresponding to the backup. To get this option, we need to move the cursor towards the backup.

4) Now we will get the contents in the backup as a web domain, mail domain, DNS domain, etc. ‘

To restore all, we click on “RESTORE ALL”.

5) Or, if we need to restore only one of the listed resources, we can restore the database individually by clicking on restore corresponding to it.

6) Once you have clicked on the “Restore”, the backup restoration process would be queued and the following message will pop up. You can click on “OK” to dismiss the pop-up.

Now we wait for the restoration to complete. Once done, we will receive an e-mail.

Method 2

Here, we will perform the restoration in a single command via SSH.

Initially, we have to SSH into the server then move to the location of the backup.

For example, if the backup name is admin.2014-01-14.tar which is actually the backup of the user admin. Then we restore it via:

v-restore-user admin admin.2014-01-14.tar

To restore for any other user, we can modify the above command like the following command.

Generally, backups are named in a username.date.tar format.

v-restore-user new user newuser.2014-01-14.tar

If the user doesn’t exist on the server, when we execute the command it will automatically create the user account.

[Need help with either the backup or restore? We’d be glad to assist you]

Conclusion

In short, we saw how our Support Techs take Backup and restore from it.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags