Bobcares

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 *

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

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF