LiteSpeed is able to:
Tip: Set the default compression level to 7 for cloud backups. Using a higher compression level has real savings. Reducing the number of bytes sent to the cloud makes for faster backups and restores and reduces Internet bandwidth. |
You can get started using the cloud with LiteSpeed by first setting up your account with the cloud vendor and then registering that account with LiteSpeed.
Note:LiteSpeed contains all the necessary software and components necessary for running LiteSpeed backups and restores to / from the following cloud vendors.
The first step in using the cloud with LiteSpeed is to create your own Cloud account with the vendor.
To create an Amazon S3 account
Setup your Amazon account by registering on: http://aws.amazon.com.
Click the IAM icon on the Cloud administration console to create a Cloud user.
The User Access Key IDs and Secret Access Keys are automatically generated.
Write down and save the Access Key IDs and Secret Access Keys. You will use these values later in the LiteSpeed Cloud account registration.
Select the Permissions tab in the Cloud admin console and assign user Administrator Access permissions.
Use the Cloud admin console to create a Bucket Name and Region. This is the location where your backup files will be stored.
Write down and save the Bucket Name and Region. You will use these values later in the LiteSpeed Cloud account registration.
Use the following procedure to register your Amazon S3 Cloud account with LiteSpeed.
Note: Amazon changes their Cloud account Web UI on a regular basis. Therefore the actual icons, tabs, and selection buttons might be different than what is indicated in the procedures below.
Required minimum permissions: "s3:GetBucketLocation", "s3:PutObject", "s3:Get*", "s3:DeleteObject" ("s3:DeleteObject" is optional and not needed if they do not need to delete backups or use the LiteSpeed parameter “init=1.”)
To create a Microsoft Azure account
Log in with your existing Microsoft credentials at: https://azure.microsoft.com/en-us/free/ to setup your initial free Microsoft Azure account.
Click Sign up for a free trial.
Complete the Microsoft Azure information page and click Sign up. The Welcome to Microsoft Azure web page is displayed.
To create a Google Cloud Storage account
LiteSpeed uses Google Storage service accounts access Google Storage. More information about Google storage service accounts can be found here: https://cloud.google.com/compute/docs/access/service-accounts
To create a S3 Compatible Storage account
Please refer to the storage documentation. LiteSpeed uses Amazon S3 API SDK to connect S3 compatible storages.
After setting up your vendor cloud account, then register your cloud account with LiteSpeed before attempting LiteSpeed backups and restores.
To register a cloud account with LiteSpeed
Click Cloud Accounts.
When the vendor is Amazon S3
Select the authentication type.
Select Access and Secret Keys to enter the access key and secret key in LiteSpeed.
Select IAM Roles to grant permission to the Amazon S3 resource without specifying the Access and Secret key to LiteSpeed. The IAM Role supplies temporary permissions that LiteSpeed can use to make calls to other Amazon Web Services applications. For information on creating and using IAM roles, refer to the Amazon Web Services documentation.
When the vendor is Microsoft Azure
When the vendor is Google Cloud Storage
When the vendor is S3 Compatible Storage
Select Access and Secret Keys to enter the access key and secret key in LiteSpeed generated in the storage options.
Test the connection
Use one of the following procedures and run the LiteSpeed Backup or Restore Wizard to save backups to the cloud or restore files from the same.
After first setting up your account with the cloud vendor, and registering your account with LiteSpeed, you now can run backups to the cloud using the LiteSpeed Backup Wizard.
Tip: There are three ways to back up to the cloud: Backup Wizard, Maintenance Plans, or Backup Templates.
Caution:Backups are run to new files. Appending to an existing file is not supported. Existing backups can only be overwritten. The option "Overwrite existing object" is available in the Backup Wizard and MP (Back Up Database task). The option is turned off by default. |
To run LiteSpeed backups to the cloud
Select Cloud from the destination list and complete the Backup Destination page.
Tip: You can review the LiteSpeed cloud backup scripts at the last wizard step before executing the Cloud backup. You can also view an example cloud backup database script here (scroll to the bottom of the page).
After first setting up your account with the cloud vendor, registering your account with LiteSpeed, and running backups to the cloud, you now can run restores from the cloud using the LiteSpeed Restore Wizard.
To run LiteSpeed restores from the cloud
Tip: You can review the LiteSpeed Cloud restore script at the last wizard step before executing the Cloud restore. You can also view an example Cloud restore database script here (scroll to the bottom of the page).
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center