Articles in this section

How to restore a remote full server backup in a new Plesk server?

Plesk for Windows kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

  • How to restore a remote full server backup in a new Plesk server?

Answer

Note: The remote backups for a Plesk server may generally be stored by using one of the following remote storage options: 
FTP server storage
Amazon S3 bucket storage  
Google Drive storage
Microsoft Onedrive storage 
Dropbox storage

Once you've made sure that you have a backup in your remote storage, you may execute the steps below:

1. Log into Plesk

Note: If the backup is not stored on a remote FTP server, install the corresponding remote backup extension from the on the new Plesk server

2. Connect the remote storage to the remote storage server that holds the backup:

To configure the FTP storage
  1. Set up a server that would act as the FTP storage. It must be possible to connect to that server from the Plesk server via FTP.
  2. Go to Tools & Settings > Backup Manager > Remote Storage Settings > FTP(S).
  3. Keep the “Use FTP(S) Storage” checkbox selected.
  4. Specify the settings for the server you set up during step 1, including the server hostname or IP address, the path to the directory for storing backups, and the FTP username and password.
  5. If the Plesk firewall is configured to ban incoming connections from FTP servers, keep the “Use passive mode” checkbox selected. Make sure that the server you set up during step 1 supports the passive FTP mode.
  6. (Recommended) Select the “Use FTPS” checkbox to use an encrypted connection when transferring backups to the remote storage. This ensures that your data cannot be intercepted by a third party. Make sure that the server you set up during step 1 supports FTPS connections.
  7. Click OK.

The FTP storage is configured. Now you can select it when creating a manual or scheduled backup.

To configure Amazon S3 Backup Storage

To configure the Amazon S3 Backup storage, you need an IAM user account. We call this account restricted because it has a limited number of permissions necessary for the Amazon S3 Backup extension to operate.

The extension can automatically create a restricted IAM user account, or you can do it manually.

To configure the Amazon S3 Backup storage automatically:

  1. Create an AWS account.
  2. Log in to your AWS account, go to My Account > Security Credentials and then copy the access key ID and secret of the AWS account root user.
  3. Go to Plesk > Tools & Settings > Backup Manager > Remote Storage Settings > Amazon S3 Backup.
  4. Keep the “I will use the root account credentials (will not be stored)” option.
  5. Paste the ID and secret copied during step 2 into the “IAM User Access Key ID” and “IAM User Access Key Secret” fields respectively.
  6. Provide a bucket where your backups will be stored. You can use an existing bucket in your AWS account. You can also have the extension automatically generate one for you (if you do, we do not recommend changing the bucket’s name).
  7. To store backups in a specific folder inside the bucket, type the folder’s name into the “Path” field. To store backups in the bucket’s root, type “/” into the “Path” field.
  8. Click OK.

To configure the Amazon S3 Backup storage manually:

  1. Create an AWS account.
  2. Create an IAM user account. Make sure to grant the s3:CreateBucket, s3:ListBucket, s3:GetObject, s3:PutObject, s3:DeleteObject, s3:ListMultipartUploadParts, s3:AbortMultipartUpload, and s3:ListAllMyBuckets permissions to the account.
  3. Create an IAM user access key and write down its ID and secret because you will need them later.
  4. Log in to Plesk and go to Tools & Settings > Backup Manager > Remote Storage Settings > Amazon S3 Backup.
  5. Select the “I have created a restricted IAM user account” option.
  6. Paste the IAM User Access Key ID and the IAM User Access Key Secret, which you have copied during step 3, into the corresponding fields.
  7. Provide a bucket where your backups will be stored. You can use an existing bucket in your AWS account. You can also have the extension automatically generate one for you (if you do, we do not recommend changing the bucket’s name).
  8. To store backups in a specific folder inside the bucket, type the folder’s name into the “Path” field. To store backups in the bucket’s root, type “/” into the “Path” field.
  9. Click OK.

The Amazon S3 Backup storage is configured. Now you can select it when creating a manual or scheduled backup.

To configure Google Drive Backup Storage

The way you configure Google Drive Backup storage differs depending on the Google drive type you will use:

  • Your personal drive, used to store files and folders you own and manage by yourself. Google calls this drive type “My Drive”. To get this drive, you need to have a free Google account for personal use.
  • A shared drive, used to store files and folders for collaborative work teams and organizations own and manage. To get this drive, a team or organization needs to purchase a Google Workspace account and set it up.

See more differences between My Drive and shared drives.

To configure the Google Drive Backup storage: 

  1. Choose which drive type to use:

    Note: Plesk Backup Manager can use only files and folders it has created. It cannot detect backups uploaded to the personal drive manually.

    • If you want to use a shared drive, contact the Google Workspace administrator of your organization. They will create a user account for you and give you its credentials.

    Note: To use a shared drive, make sure your Google Workspace administrator has marked the Plesk Backup Corporate application as trusted.

  2. Go to Tools & Settings > Backup Manager (under “Tools & Resources”) > Remote Storage Settings > Google Drive Backup.
  3. Choose your Google drive type (your personal or shared drive) and click OK.
  4. Sign in to the Google account whose drive you will use to store backups.
  5. Click Allow to allow Plesk Backup (for a personal drive) or Plesk Backup Corporate (for a shared drive) to view and manage the files in your Google Drive.
  6. Click the link to send the Google Drive authorization data to Plesk.
  7. Keep the “Use the storage” and “Validate backups via checksum” checkboxes selected. Validating backups via checksum checks if Plesk has uploaded a backup to the drive completely and without damage.
  8. Depending on your drive type, you can configure the following optional settings:
    • (Personal drive) By default, Plesk creates the “My Plesk” folder in your Google Drive and stores backups there. To store backups in another location, type the desired path in the “Path” textbox.
    • (Shared drive) If your organization has multiple shared drives, select the one to store your backups in the “Drive” dropdown list.
  9. Click OK.

The Google Drive Backup storage is configured. Now you can select it when creating a manual or scheduled backup.

To configure Microsoft OneDrive Backup Storage

To configure the Microsoft OneDrive Backup storage:

  1. Go to Tools & Settings > Backup Manager > Remote Storage Settings > Microsoft OneDrive Backup.
  2. Sign in to your Microsoft account. Plesk will store backups in the OneDrive storage associated with the account. If you do not have a Microsoft account, create one.
  3. Click the link to send the Microsoft authorization data to Plesk.
  4. Select the “Use the storage” checkbox.
  5. (Optional) By default, Plesk stores backups in the “Apps/plesk-backup/<subscription name>” folder in your Microsoft OneDrive storage. You can specify a different folder, if desired.
  6. Click OK.

The Microsoft OneDrive Backup storage is configured. You can now select it when creating a manual or scheduled backup.

To configure Dropbox backup storage
  1. Go to Tools & Settings > Backup Manager > Remote Storage Settings > Dropbox Backup
  2. Click Configure next to Dropbox and you will be redirected to Dropbox for authentication
  3. Sign in with your Dropbox account and grant Plesk permission to access it
  4. Once connected, backups will be stored in the Plesk app folder inside Dropbox

3. Navigate to Tools & Settings > Backup Manager and open the backup that should be restored

4. Restore the backup by selecting All objects (entire system) and checking the box Restore this backup despite the fact that it does not have a valid signature

Note: You may also select individual objects (such as separate sites) for restoration from that backup by using the steps here

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.