SLV Backup - Quickstart

🗄️ SLV Backup

SLV Backup creates a compressed full-disk archive of your node using zstd (multi-threaded compression). Optionally upload directly to ERPC Global Storage.

Prerequisites

  • SLV CLI installed on the target node
  • sudo access (required for full-disk backup)
  • For --upload: logged in (slv login) with an active storage subscription

Create a Backup

Create a local backup:
bash
sudo slv backup create
text
🗄️ SLV Backup

  Output:      backup-mynode-20260318-120000.tar.zst
  Compression: zstd (multi-threaded)

📋 Current exclude list:
  • /dev/*
  • /proc/*
  • /sys/*
  • /tmp/*
  • /run/*
  • /mnt/*
  • /media/*
  • /lost+found
  • /swapfile
  • /snap/*
  • /var/log/*

? Create backup? › Yes
√ Backup created: backup-mynode-20260318-120000.tar.zst (2.1 GB)

Create and Upload

Create a backup and upload it to ERPC Global Storage in one step:
bash
sudo slv backup create --upload
text
√ Backup created: backup-mynode-20260318-120000.tar.zst (2.1 GB)
√ Got presigned URL
√ Upload complete
Specify a region for the upload:
bash
sudo slv backup create --upload --region asia

Skip Confirmation

For use in scripts or cron jobs, skip the confirmation prompt:
bash
sudo slv backup create --upload --yes

Customize Excludes

View the current exclude list:
bash
slv backup create --list-excludes
Add additional exclude paths:
bash
sudo slv backup create --exclude /home/solv/ledger --exclude /home/solv/snapshots
Re-include a path that is excluded by default:
bash
sudo slv backup create --include /var/log

Set Up Automated Backups (Cron)

Schedule automatic backups:
bash
sudo slv backup create --upload --cron daily
IntervalDescription
dailyRun once a day
weeklyRun once a week
monthlyRun once a month
offRemove the cron job

Retention

By default, remote backups older than 7 days are automatically cleaned up:
bash
sudo slv backup create --upload --retention 14

Options Reference

OptionDescription
-o, --output <path>Output file path
--uploadUpload to ERPC Global Storage after creation
-r, --region <region>Storage region for upload (default: eu)
--exclude <path>Additional paths to exclude (repeatable)
--include <path>Remove from default excludes (repeatable)
--list-excludesShow current exclude list and exit
--retention <days>Delete remote backups older than N days (default: 7)
--cron <interval>Set up cron job (daily/weekly/monthly/off)
-y, --yesSkip confirmation prompts