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
sudoaccess (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 createsudo slv backup createtext
🗄️ 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)🗄️ 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 --uploadsudo slv backup create --uploadtext
√ Backup created: backup-mynode-20260318-120000.tar.zst (2.1 GB)
√ Got presigned URL
√ Upload complete√ Backup created: backup-mynode-20260318-120000.tar.zst (2.1 GB)
√ Got presigned URL
√ Upload completeSpecify a region for the upload:
bash
sudo slv backup create --upload --region asiasudo slv backup create --upload --region asiaSkip Confirmation
For use in scripts or cron jobs, skip the confirmation prompt:
bash
sudo slv backup create --upload --yessudo slv backup create --upload --yesCustomize Excludes
View the current exclude list:
bash
slv backup create --list-excludesslv backup create --list-excludesAdd additional exclude paths:
bash
sudo slv backup create --exclude /home/solv/ledger --exclude /home/solv/snapshotssudo slv backup create --exclude /home/solv/ledger --exclude /home/solv/snapshotsRe-include a path that is excluded by default:
bash
sudo slv backup create --include /var/logsudo slv backup create --include /var/logSet Up Automated Backups (Cron)
Schedule automatic backups:
bash
sudo slv backup create --upload --cron dailysudo slv backup create --upload --cron daily| Interval | Description |
|---|---|
daily | Run once a day |
weekly | Run once a week |
monthly | Run once a month |
off | Remove the cron job |
Retention
By default, remote backups older than 7 days are automatically cleaned up:
bash
sudo slv backup create --upload --retention 14sudo slv backup create --upload --retention 14Options Reference
| Option | Description |
|---|---|
-o, --output <path> | Output file path |
--upload | Upload 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-excludes | Show 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, --yes | Skip confirmation prompts |