W E K A
4.0
4.0
  • WEKA v4.0 documentation
  • WEKA System Overview
    • About the WEKA system
    • SSD capacity management
    • Filesystems, object stores, and filesystem groups
    • Weka networking
    • Data lifecycle management
    • Weka client and mount modes
    • Weka containers architecture overview
    • Glossary
  • Getting Started with Weka
    • Quick installation guide
    • Manage the system using the Weka CLI
    • Manage the system using the Weka GUI
    • Run first IOs with WekaFS
    • Getting started with Weka REST API
  • Planning & Installation
    • Prerequisites for installation
    • Weka installation on bare metal
      • Planning a Weka System Installation
      • Prepare the system for Weka installation
        • SR-IOV enablement
      • Obtain the Weka software installation package
      • Weka cluster installation
      • WEKA legacy system installation process
      • Add clients
    • Weka installation on AWS
      • Self-service portal
      • CloudFormation template generator
      • Deployment types
      • AWS outposts deployment
      • Supported EC2 instance types
      • Add clients
      • Auto scaling group
      • Troubleshooting
  • Performance
    • Weka performance tests
      • Test environment details
  • WekaFS Filesystems & Object Stores
    • Manage object stores
      • Manage object stores using the GUI
      • Manage object stores using the CLI
    • Manage filesystem groups
      • Manage filesystem groups using the GUI
      • Manage filesystem groups using the CLI
    • Manage filesystems
      • Manage filesystems using the GUI
      • Manage filesystems using the CLI
    • Attach or detach object store buckets
      • Attach or detach object store bucket using the GUI
      • Attach or detach object store buckets using the CLI
    • Advanced data lifecycle management
      • Advanced time-based policies for data storage location
      • Data management in tiered filesystems
      • Transition between tiered and SSD-only filesystems
      • Manual fetch and release of data
    • Mount filesystems
    • Snapshots
      • Manage snapshots using the GUI
      • Manage snapshots using the CLI
    • Snap-To-Object
      • Manage Snap-To-Object using the GUI
      • Manage Snap-To-Object using the CLI
    • Quota management
  • Additional Protocols
    • NFS
      • Manage NFS networking using the GUI
      • Manage NFS networking using the CLI
    • SMB
      • Manage SMB using the GUI
      • Manage SMB using the CLI
    • S3
      • S3 cluster management
        • Manage the S3 service using the GUI
        • Manage the S3 service using the CLI
      • S3 buckets management
        • Manage S3 buckets using the GUI
        • Manage S3 buckets using the CLI
      • S3 users and authentication
        • Manage S3 users and authentication using the CLI
        • Manage S3 service accounts using the CLI
      • S3 rules information lifecycle management (ILM)
        • Manage S3 rules using the CLI
      • Audit S3 APIs
        • Configure audit webhook using the GUI
        • Configure audit webhook using the CLI
        • Example: How to use Splunk to audit S3
      • S3 supported APIs and limitations
      • S3 examples using boto3
  • Operation Guide
    • Alerts
      • Manage alerts using the GUI
      • Manage alerts using the CLI
      • List of alerts and corrective actions
    • Events
      • Manage events using the GUI
      • Manage events using the CLI
      • List of events
    • Statistics
      • Manage statistics using the GUI
      • Manage statistics using the CLI
      • List of statistics
    • System congestion
    • Security management
      • Obtain authentication tokens
      • KMS management
        • Manage KMS using the GUI
        • Manage KMS using the CLI
      • TLS certificate management
        • Manage the TLS certificate using the GUI
        • Manage the TLS certificate using the CLI
      • CA certificate management
        • Manage the CA certificate using the GUI
        • Manage the CA certificate using the CLI
      • Account lockout threshold policy management
        • Manage the account lockout threshold policy using GUI
        • Manage the account lockout threshold policy using CLI
      • Manage the login banner
        • Manage the login banner using the GUI
        • Manage the login banner using the CLI
    • User management
      • Manage users using the GUI
      • Manage users using the CLI
    • Organizations management
      • Manage organizations using the GUI
      • Manage organizations using the CLI
      • Mount authentication for organization filesystems
    • Expand and shrink cluster resources
      • Expand and shrink overview
      • Workflow: Add a backend host
      • Expansion of specific resources
      • Shrink a Cluster
    • Background tasks
    • Upgrade Weka versions
  • Billing & Licensing
    • License overview
    • Classic license
    • Pay-As-You-Go license
  • Support
    • Prerequisites and compatibility
    • Get support for your Weka system
    • Diagnostics management
      • Traces management
        • Manage traces using the GUI
        • Manage traces using the CLI
      • Protocols debug level management
        • Manage protocols debug level using the GUI
        • Manage protocols debug level using the CLI
      • Collect and upload diagnostics data
    • Weka Home - The Weka support cloud
      • Local Weka Home overview
      • Local Weka Home deployment
      • Set the Local Weka Home to send alerts or events
      • Download the Usage Report or Analytics
  • Appendix
    • Weka CSI Plugin
    • Set up the Weka-mon external monitoring
    • Set up the SnapTool external snapshots manager
  • REST API Reference Guide
Powered by GitBook
On this page
  • Upload a snapshot
  • Create a filesystem from an uploaded snapshot
  • Manage incremental snapshots
  • Download an incremental snapshot
  • Recover from a remote snapshot
  1. WekaFS Filesystems & Object Stores
  2. Snap-To-Object

Manage Snap-To-Object using the CLI

This page describes the Snap-To-Object feature, which enables the committing of all the data of a specific snapshot to an object store.

PreviousManage Snap-To-Object using the GUINextQuota management

Last updated 2 years ago

Using the CLI, you can:

Upload a snapshot

Command: weka fs snapshot upload

Use the following command line to upload an existing snapshot:

weka fs snapshot upload <file-system> <snapshot> [--site site]

Parameters

Name

Type

Value

Limitations

Mandatory

Default

file-system

String

Name of the filesystem

Yes

snapshot

String

Name of the snapshot to upload

Must be a snapshot of the <file-system> filesystem

Yes

site

String

Location for the snapshot upload

local or remote

Only if both local and remote buckets are attached

Auto selected if only one bucket for upload is attached

Create a filesystem from an uploaded snapshot

Command: weka fs download

Use the following command line to create a filesystem from an existing snapshot:

weka fs download <name> <group-name> <total-capacity> <ssd-capacity> <obs-bucket> <locator> [--additional-obs additional-obs] [--snapshot-name snapshot-name] [--access-point access-point]

Parameters

Name

Type

Value

Limitations

Mandatory

Default

name

String

Name of the filesystem to be created

Yes

group-name

String

Name of the filesystem group in which the new filesystem will be placed

Yes

total-capacity

Capacity

The total capacity of the downloaded filesystem

Yes

ssd-capacity

Capacity

SSD capacity of the downloaded filesystem

Yes

obs-bucket

String

Object store name for tiering

Yes

locator

String

Object store locator obtained from a previously successful snapshot upload

Yes

additional-obs

String

An additional object-store name. In case the data to recover resides in two object stores (a second object-store attached to the filesystem, and the filesystem has not undergone full migration). This object-store will be attached in a read-only mode.

The snapshot locator must reside in the primary object-store supplied in the obs parameter

No

snapshot-name

String

The downloaded snapshot name.

No

The uploaded snapshot name

access-point

String

The downloaded snapshot access point.

No

The uploaded access point.

The locator can be a locator saved previously for disaster scenarios, or you can obtain the locator using the weka fs snapshot command on a system with a live filesystem with snapshots.

Manage incremental snapshots

The workflow to manage the incremental snapshots includes:

  1. Download the incremental snapshot (described below).

Download an incremental snapshot

Command: weka fs snapshot download

Use the following command line to download an incremental snapshot. This command is only relevant for snapshots uploaded from a system of version 4.0 and higher:

weka fs snapshot download <file-system> <locator>

Make sure to download incremental snapshots in chronological order. Non-chronological snapshots are inefficient and are not incremental.

If you need to download a snapshot that is earlier than the latest downloaded one, for example, when you need one of the daily incremental snapshots after the weekly incremental snapshot was downloaded, add the --allow-non-chronological flag to download it anyway.

Parameters

Name

Type

Value

Limitations

Mandatory

Default

file-system

String

Name of the filesystem

Yes

locator

String

Object store locator obtained from a previously successful snapshot upload

Yes

Related topics

Recover from a remote snapshot

When recovering a snapshot residing on a remote object store, it is required to define the object store bucket containing the snapshot as a local bucket.

To recover a snapshot residing on a remote object store, create a new filesystem from this snapshot as follows:

  1. Add a new local object-store, using weka fs tier obs add CLI command.

  2. Add a local object-store bucket, referring to the bucket containing the snapshot to recover, using weka fs tier s3 add.

  3. Download the filesystem, using weka fs download.

  4. If the recovered filesystem should also be tiered, add a local object store bucket for tiering using weka fs tier s3 add.

  5. Detach the initial object store bucket from the filesystem.

  6. Assuming you want a remote backup to this filesystem, attach a remote bucket to the filesystem.

  7. Remove the local object store bucket and local object store created for this procedure.

Note: Due to the bandwidth characteristics and potential costs when interacting with remote object stores it is not allowed to download a filesystem from a remote object-store bucket. If a snapshot on a local object-store bucket exists, it is advisable to use that one. Otherwise, follow the procedure in .

Note: For encrypted filesystem, when downloading, you must use the same KMS master key to decrypt the snapshot data. For more information, see the section.

Upload snapshots using, for example, the snapshots scheduler. See .

Restore a specific snapshot to a filesystem. See .

A remote object store has restrictions over the download, and we want to use a different local object store due to the QoS reasons explained in .

Snapshot management
Upload a snapshot
Create a filesystem from an uploaded snapshot
Manage incremental snapshots
Recover from a remote snapshot
Restore a snapshot to a filesystem or another snapshot
Incremental snapshots
Manage object stores
Recover from a remote snapshot
KMS Management