N2WS With Wasabi
    • 11 Feb 2025
    • 5 Minutes to read
    • PDF

    N2WS With Wasabi

    • PDF

    Article summary

    How do I store N2WS cloud backups in Wasabi?

    N2WS is a cloud-native solution that allows customers to backup AWS and Azure systems and volumes.  In this article we detail the procedure required to configure Wasabi and N2WS to store backups in Wasabi Hot Cloud Storage.  

    The data restoration process is handled by your specific backup software application. As there are many potential variables that will affect your unique environment, Wasabi strongly recommends that you seek the guidance of your backup software's technical support team in the event that you encounter difficulty or have application-specific inquiries.

    Prerequisites

    • An active Wasabi Hot Cloud Storage account
    • Access to the Wasabi Console as the account root user
    • Access to your N2WS instance
    • Existing N2WS worker instance (shown under the Worker Configuration section of the N2WS console).  The preconfigured worker setup should function correctly.  For more details, refer to the N2WS User Guide.

    Creating a Wasabi Bucket

    The first step is to create a bucket in your Wasabi account that will used to store your N2WS backups. Login to the Wasabi Console as the root user and follow the instructions to create a bucket in the Working With Buckets and Objects article.  Make note of the bucket name.

    Do NOT enable Versioning or Object Lock as N2WS does not currently support them.  

    Creating an IAM Policy

    You will then create a Wasabi Identity and Access Management (IAM) policy for a user (that is created in the next section) to restrict access to the previously created bucket.  

    Create a username for the user.  It can contain only alphanumeric characters and the following special characters: plus sign (+), equal sign (=), period (.), at sign (@), dash (-), underscore (_).

    Follow the instructions in Creating a Policy using the following policy that may be copied and pasted into the Policy Editor on the Wasabi Console.  

    • Replace ACCOUNT_NUMBER with your Wasabi account number.  The account number may be obtained by looking at the Settings tab on the left of the Wasabi console - it is labeled "Account ID."  
    • Replace USER_NAME with the created username.  
    • Replace BUCKET_NAME with the name of the previously created bucket, using lower-case characters.  
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": "s3:ListAllMyBuckets",
          "Resource": "arn:aws:s3:::"
        },
        {
          "Effect": "Allow",
          "Action": "iam:GetUser",
          "Resource": "arn:aws:iam::ACCOUNT_NUMBER:user/USER_NAME"
        },
        {
          "Effect": "Allow",
          "Action": "s3:*",
          "Resource": [
            "arn:aws:s3:::BUCKET_NAME",
            "arn:aws:s3:::BUCKET_NAME/*"
          ]
        }
      ]
    }

    Creating a Wasabi User

    The next step is creating a Wasabi user on your account via the Wasabi Console and access and secret keys for that user following the directions in Creating a User Account and Access Key

    • Select "Programmatic (create API keys)" under Type of Access.  
    • You may skip assigning the user to a group unless desired.  
    • Assign the previously created IAM policy to the user.
    • At the end of the user creation, a "Create Access Key" popup will be displayed.  Make sure to download the keys (Access and Secret) and save them in a secure location.  They will be needed later.

    Configuring Wasabi Account in N2WS

    1. Login to your N2WS instance.
    2. Click Accounts > New > Wasabi Account.
    3. Enter a name for your Wasabi account, along with the access and secret keys generated for the user above.  Click Save.
    4. You will now see your Wasabi account listed.

    Creating a Wasabi Storage Repository

    1. Click Storage Repositories > New > Wasabi S3 Repository.
    2. Give the repository a name, then select your Wasabi account and bucket from the drop-down menus.  Click Save.

    Modifying an Existing Backup Policy

    1. Click Policies, then click on one of the existing policies (we are using a policy named Linux in our example). You may also create a new policy instead of modifying an existing one if desired.
    2. Modify the Policy Details if desired, then click Next.
    3. On the Backup Targets screen, you may add other AWS/Azure instances to be backed up if desired, then click Next.
    4. Adjust any of the additional options on the next screen and click Next.
    5. Enable DR (Disaster Recovery) if desired and click Next.
    6. On the Lifecycle Management screen, modify the following items.
      a. Under "Backup (Original Snapshots) Retention" set the desired number of backups to keep as snapshots in AWS/Azure. b. Enable "Use Storage Repository."
      c. It is recommended to set "Copy one backup every 'x' generations to Storage Repository" to '1'.  This means that every time a backup is taken, it is also copied to Wasabi.
      d. Modify "Keep Backups in Storage Repository for at least" to match your desired retention period for backups residing in Wasabi.
      e. Select Wasabi as the target repository. Click Save.

    Performing a Test Backup

    1. Navigate to Policies and click the checkbox next to the policy you wish to run.  Click Run ASAP.
    2. Click Run ASAP on the popup window.
    3. Click on the Backup Monitor tab.  Once the AWS/Azure snapshot is finished and the backup to Wasabi has started, you will see a Status of "Successful" for the snapshot and a Lifecycle Status of "Storing to Storage Repository."
    4. When the backup to Wasabi is complete, you will see "Stored in Storage Repository."
    5. Login to the Wasabi console and click on Buckets.  Search for your bucket and click the bucket name.
    6. Click on folder names until you reach a folder that has multiple objects.  This will verify that your N2WS backups are stored in your bucket.

    Performing a Test Restore

    1. Login to your N2WS instance.
    2. Navigate to the Backup Monitor tab. Click on the checkbox next to the test backup performed earlier.  Click Recover.  Note this process will not overwrite any of your existing instances.
    3. Click on the radio button next to an instance and select the following from the drop-down menus, then click Recover.
      a. Select the Wasabi repository under "Restore from."
      b. Select the appropriate account under "Restore to Account."
      c. Select the appropriate AWS/Azure region under "Restore to Region."
    4. Select "Image" under the "Launch from" drop-down menu.  
    5. Change the Primary Private IP to be an unused IP in the VPC subnet.  In this example we are using 172.31.42.254.  Ensure that it is unused before proceeding, then click Recover Instance.
    6. Click Recover on the popup window.
    7. Click on the Recovery Monitor tab.  You will see the restore status as "Initializing recovery."
    8. Refresh the page until you see the status being "Recovery succeeded."

    Support

    Contact N2WS Support at support@n2ws.com with any N2WS questions, and Wasabi Support at support@wasabi.com with any Wasabi questions.