ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Deployments
    • Cloud
    • Server
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
    • Supported Driver Versions
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Install
Ask AI
ScyllaDB Docs Scylla Manager Backup Setup Local Storage

Setup Local Storage¶

  • Prerequisites

  • Create a bucket

  • Configure the agent

  • Troubleshoot connectivity

  • NFS setup example

    • Server side

    • Client side

Local storage allows you to store backups on a network-mounted filesystem path accessible by the ScyllaDB Manager Agent. Each backup location’s bucket name becomes a subdirectory under the configured root path.

Warning

Native backup and native restore are not available with the local storage provider. Only rclone-based backup and restore are supported.

Prerequisites¶

All nodes within the same datacenter must have access to the same shared filesystem.

A common way to achieve this is by using NFS (Network File System). The NFS setup example describes a simple NFS setup.

Create a bucket¶

With local storage, a bucket is simply a subdirectory under the configured root path. You need to create it before backing up data, the same as you would create a bucket with any other storage provider.

For example, if shared filesystem path is /mnt/nfs and the desired bucket name is manager:

sudo mkdir /mnt/nfs/manager

Make sure the directory is writable by the ScyllaDB Manager Agent.

Configure the agent¶

This procedure needs to be repeated for each ScyllaDB node.

Procedure

Edit the /etc/scylla-manager-agent/scylla-manager-agent.yaml

  1. Uncomment the localstorage: line, for parameters note the two spaces in front, it’s a yaml file.

  2. Uncomment and set path to the absolute path of the shared filesystem mount point (e.g. /mnt/nfs).

    localstorage:
      path: /mnt/nfs
    
  3. Validate that the agent has access to the backup location. If there is no response, the location is accessible. If not, you will see an error.

    scylla-manager-agent check-location --location localstorage:<bucket>
    
  4. Restart ScyllaDB Manager Agent service.

    sudo systemctl restart scylla-manager-agent
    

Troubleshoot connectivity¶

To troubleshoot ScyllaDB node to local storage connectivity issues you can run:

scylla-manager-agent check-location --debug --location localstorage:<bucket>

NFS setup example¶

Server side¶

  1. Install the NFS server package.

    sudo apt install nfs-kernel-server
    
  2. Prepare a shared directory. Format and mount a dedicated block device:

    sudo mkfs -t ext4 /dev/<device>
    sudo mkdir -p /mnt/nfs
    sudo mount /dev/<device> /mnt/nfs
    

    Replace <device> with the name of your block device (e.g. sdb, nvme1n1).

  3. Export the shared directory by adding the following line to /etc/exports:

    /mnt/nfs NFS_CLIENT_SUBNET(rw,sync,all_squash,no_subtree_check)
    

    Replace NFS_CLIENT_SUBNET with the subnet of your ScyllaDB nodes (e.g., 172.31.0.0/16).

  4. Apply the export configuration and restart the NFS server.

    sudo exportfs -ra
    sudo systemctl restart nfs-kernel-server
    

Note

The all_squash option maps all client UIDs/GIDs to the anonymous user, which is a simple way of ensuring that all agents have read/write access to backup data from all nodes within the same datacenter. Evaluate whether this option fits your security requirements before using it in production.

Client side¶

This procedure needs to be repeated for each ScyllaDB node.

  1. Install the NFS client package.

    sudo apt install nfs-common
    
  2. Create a mount point and mount the NFS share.

    sudo mkdir -p /mnt/nfs
    sudo mount NFS_SERVER_IP_ADDRESS:/mnt/nfs /mnt/nfs
    

    Replace NFS_SERVER_IP_ADDRESS with the IP address of your NFS server.

  3. To make the mount persistent across reboots, add the following line to /etc/fstab:

    NFS_SERVER_IP_ADDRESS:/mnt/nfs  /mnt/nfs  nfs  defaults,nofail  0  0
    

Was this page helpful?

PREVIOUS
Setup Azure Blob Storage
NEXT
Native Backup
  • Create an issue
  • Edit this page

On this page

  • Setup Local Storage
    • Prerequisites
    • Create a bucket
    • Configure the agent
    • Troubleshoot connectivity
    • NFS setup example
      • Server side
      • Client side
Scylla Manager
  • 3.10
    • master
    • 3.9
    • 3.8
    • 3.10
  • Docker
  • Install ScyllaDB Manager
  • Install ScyllaDB Manager Agent
  • ScyllaDB Manager Upgrade
  • Compatibility Matrix
  • Add a Cluster
  • Backup
    • Setup Amazon S3
    • Setup S3 compatible storage
    • Setup Google Cloud Storage
    • Setup Azure Blob Storage
    • Setup Local Storage
    • Native Backup
    • Examples
    • Specification
  • Restore
    • Restore tables
    • Native Restore
    • Restore schema for ScyllaDB 6.0/2024.2 or newer
    • Restore schema for ScyllaDB 5.4/2024.1 or older
    • Examples
  • Repair
    • Repair faster
    • Repair slower
    • Examples
  • Health Check
  • CLI sctool
    • Environment variables
    • Completion
    • Download files
    • Backup
    • Restore
    • Cluster
    • Info
    • Progress
    • Repair
    • Start
    • Status
    • Stop
    • Suspend & Resume
    • Tasks
    • Version
  • Configuration Files
    • ScyllaDB Manager Config
    • ScyllaDB Manager Agent Config
  • Swagger File
  • ScyllaDB Monitoring
  • Troubleshooting
  • Slack
Docs Tutorials University Contact Us About Us
© 2026, ScyllaDB. All rights reserved. | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 10 April 2026.
Powered by Sphinx 9.1.0 & ScyllaDB Theme 1.9.1
Ask AI