Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Table of Contents
minLevel1
maxLevel

...

2
outlinefalse
typelist
printablefalse
only
Info
title

Backup

Objects in the S3 backup bucket are wholly dedicated to disaster recovery for Swarm and are not for general use by owners of the account where the bucket resides. Consider this feature a restricted form of S3, with constraints on the bucket's namespace that support Swarm's ability to backup and restore. For this reason, do not expect the namespace to be end-user-friendly.

Swarm S3 backups to RStor targets have been are verified. To implement an S3 backup feed, you first need to complete a one-time set-up of the destination: you will set up an account with RStor and then create an S3 bucket that will be dedicated to backing up this cluster only.

Setting

...

Up the S3 Bucket

...

...

Note

Swarm has

...

the RStor access

...

granted as part of this configuration.

...

Neither the S3 Backup feed

...

...

administers the S3 credentials or

...

creates any S3 buckets in RStor. See RStor Support for assistance.

These instructions are for RStor cloud storage, but any Internet-based S3 service will have has similar functionality:

  1. Service

...

  1. - If needed, sign up for RStor: rstor.io

  2. Bucket

...

  1. - Create a bucket

...

  1. dedicated to backing up

...

  1. the Swarm cluster.

    1. Sign in to the RStor console: rstorcloud.io.

...

    1. Select Add new bucket.

    2. For Bucket name, enter a DNS

...

    1. compliant name for

...

    1. the new bucket.

...

    1.  Buckets cannot be renamed, so choose

...

    1. wisely:

      • The name must be unique across all existing bucket names in RStor S3.

      • The name must be a valid DNS name, containing

...

      • lowercase letters and numbers (and internal periods, hyphens, underscores), between 3 and 64 characters.
        (

...

Info

Tip

...

For easier identification, incorporate the name of the Swarm cluster

...

this bucket

...

is dedicated to backing up.

d. For Region, choose the one

...

appropriate for

...

the business needs.

Tip

Best

...

Practice

Do not enable versioning or any other optional features unless it is required for

...

the organization.

e. Record these values for configuring

...

the S3 Backup feed in Swarm:

Bucket Name

Region

f. Click Submit.

...

  1. S3 Key

...

  1. Pair - Create an S3 key pair

...

  1. dedicated to Swarm access.

...

    1. Click My account under the email address

...

    1. .

    2. Down below click Generate Key

...

    1. Image Added
  1. An S3 key pair

...

  1. is automatically created. Download and secure the access key:

...

  1. Image Added
  2. Record these values for configuring

...

  1. the S3 Backup feed in Swarm:

    • Access Key ID

    • Secret Access Key

  2. RProtect 

...

  1. - Complete any subnet whitelisting needed.

...

    1. Click on RProtect in the global menu bar

...

    1. .

    2. Verify

...

    1. the IP address of the Swarm cluster

...

    1. contacting the RStor S3 cloud service is allowed.

...

    1. Request a new rule if not the case

...

    1. .
      Image Modified

Configuring the S3 Backup Feed

On the Swarm side, create Create a new S3 backup feed with RStor as its the target on the Swarm side.

...

  1. Open the

...

  1. Cluster > Feeds page in the Swarm UI.
    Image Modified

  2. Click + Add at the top right.
    Image Modified

...

  1. Select the feed type S3 Backup.
    Image Modified

  2. Provide the following values.

...

  1. See S3 Backup Feeds for details on these fields

...

  1. .

    • Name - For description

...

    • , such as "Replication to RStor"

    • Endpoint - Include the complete endpoint, without the bucket: s3.rstorcloud.io

    • Region - This example uses the us-west-1 storage region.

...

    • Check with RStor Support for any other region

...

    • .

    • Bucket - Enter

...

    • the newly created bucket, which

...

    • is dedicated to backing up

...

    • the Swarm cluster.

    • Credentials - Paste in both the Access key name and Secret Key

    • Use SSL - Yes

...

...

    • field options.

...

  1. Verify the new S3 backup appears in

...

  1. the list of Swarm feeds on the Cluster > Feeds dashboard.
     Image Modified
    See Managing Feeds for more details on feed administration in Swarm.

...