SLV Migrate Linux - Quickstart
🚚 SLV Migrate Linux
Migrate your entire Linux disk to a new server over SSH using rsync. This is a full-disk migration — everything from the source server is copied to the destination, including user data, configurations, installed packages, and SLV node setup.
Note: This is different fromslv v switch(validator identity migration).slv migrate linuxcopies the entire filesystem, whileslv v switchswaps validator identity between two already-running nodes.
Prerequisites
- SLV CLI installed on the source node
sudo/ root access on both source and destination- SSH access from source to destination (password or key-based)
- Destination server should be a fresh install (SLV will warn if it detects existing data)
Basic Usage
Run on the source server:
bash
Options
Custom SSH Port
If the destination uses a non-standard SSH port:
bash
Customize Excludes
View what will be excluded:
bash
Exclude additional paths (e.g., skip ledger data for faster migration):
bash
Non-Interactive Mode
For scripting:
bash
How It Works
- Pre-flight checks — Verifies SSH connectivity, warns if destination has existing data
- rsync — Copies entire filesystem (excluding system pseudo-filesystems) over SSH
- Post-migration — Automatically reboots the destination server (unless
--skip-reboot)
The migration uses rsync with
--archive --hard-links --acls --xattrs to preserve all file attributes, permissions, and special files.⚠️ Important Notes
- Run as root (or with
sudo). Non-root migration will miss system files. - The destination should be a fresh server. Existing data will be overwritten.
- rsync exit codes 23/24 (partial transfer) are treated as warnings, not errors. Some files (like active logs) may not transfer perfectly.
- After migration, verify the node is working correctly before decommissioning the source.
- For validator identity migration (zero-downtime swap between two running validators), use
slv v switchinstead. See Mainnet Validator Migration.






