Server snapshots
A snapshot is a point-in-time copy of a server's disk. Restore it to roll the server back, or create new servers from it. Servers run on local NVMe SSDs, so back up your data regularly.
Take a snapshot
- Open the server from Servers and click Take a snapshot.
- Keep or change the Name.
- Click Take a snapshot.
The server keeps running while its disk is captured. The snapshot shows as Capturing, then Available in Servers → Snapshots.
A snapshot holds the server's own disk. Attached volumes aren't included. Back them up with volume snapshots.
Backing up a database?
A snapshot of a running server is like its disk after a sudden power loss, and data a database still holds in memory can be missing. Power off the server before the snapshot, or flush the database and run sync right before it.
Schedule snapshots
- Open the server from Servers.
- In Scheduled snapshots, click Configure.
- Set Schedule to Daily.
- Click Save changes.
Each scheduled snapshot is taken about one interval after the previous one, not at a fixed time of day. Scheduled snapshots are billable.
To turn them off:
- In Scheduled snapshots, click Configure.
- Set Schedule to Off.
- Click Save changes.
- Check Yes, I understand the risks.
- Click Disable scheduled snapshots.
The snapshots you already have stay.
Roll a server back
Restore to origin server replaces a server's disk with one of its own snapshots. The server keeps its ID, IP addresses, firewall, networks and volumes, so you don't need to change DNS.
- Go to Servers → Snapshots
- Open the snapshot's menu and click Restore to origin server.
- Type the server's name to confirm.
- Click Restore to origin server.
The server is unreachable for a short time while its disk is rebuilt, then it's running again.
- Data written after the snapshot is lost. Take a new snapshot first if you might want it back.
- Volumes keep their current data. To roll a volume back, restore a volume snapshot.
- Users and the root password are the ones the server had when you took the snapshot. Its current SSH keys keep working.
- The SSH host key changes, so your SSH client warns about it on the next connection. Remove the old key and connect again:
Create a server from a snapshot
- Go to Servers → Snapshots
- Open the snapshot's menu and click Create server from snapshot.
- Enter a Name.
- Pick the Region and Data center.
- Click Create server.
The new server starts with the snapshot's disk, its users and root password, and the settings the original server had when you took the snapshot, such as SSH keys, firewall and metadata. What differs:
- New IP addresses. The original server's extra IP addresses aren't carried over.
- New private IPs. In the same data center, the server joins the original server's private networks with new addresses. In another data center, it joins none.
- Observability is off. It can only be turned on in the Create server form.
Manage snapshots
Servers → Snapshots lists every snapshot with its server, size, data center and creation date. Open a snapshot's menu to rename or remove it.
Snapshots stay when you remove their server, so you can still restore them. They're kept until you remove them, and they count toward your quotas.
Need help?
Please let us know at hello@betterstack.com.
We're happy to help! 🙏