At a glance
- Nightly backups. Only the latest backup is kept.
- Encrypted with your SSH key. Keep your private key safe; without it, the backup can’t be opened.
- Turned on at deploy. You can’t add backup to a running VM.
- Pay for what you store. Storage is charged daily from your IO Credits balance.
- Deleted when you terminate the VM. Restore anything you need first.
Turn on VM Backup
You can only turn on backup when you deploy a VM. You can’t add it to a running VM, or turn it off while the VM runs.
- In Configure & Deploy, under SSH Keys, select an ed25519 key or an RSA key of 2048 bits or larger. Your backup is locked with these keys.
- In the VM Backup section, select Enable nightly backup.
- Review the backup price on the payment confirmation and click Pay & Deploy.
- Check the VM Backup panel on the VM’s details page.
What is backed up
Every night, VM Backup saves the files in/home/ionet.
Installed software, system settings and files in other locations aren’t backed up. A restore gives you your files, not a copy of the whole VM.
Folders that can be rebuilt are skipped: .cache, __pycache__, .venv, venv, node_modules, .next, build, dist, target, .gradle, .cargo and .terraform, as well as .pyc files. Don’t keep data you need in folders with these names.
When backups run
Backups start at a random time between 03:00 and 04:00 UTC, whatever your VM’s time zone. Each new backup replaces the previous one, so you can restore last night’s copy, but not older ones.Pricing
VM Backup is charged per GB-month for the size of your stored backup, on top of the VM’s compute cost.- Billing starts with the first backup.
- Storage is charged once a day, just after 00:00 UTC, from your IO Credits balance. Each charge is for the backup you have stored at that time. For example, a backup made between 03:00 and 04:00 UTC on Monday is charged just after 00:00 UTC on Tuesday.
- The minimum charge is $0.01 per day while a backup is stored.
Estimate your cost
For the size, use the size of your files in/home/ionet. Your stored backup is usually smaller.
Keep your balance funded
Backups need your IO Credits balance to cover the day’s backup charge plus 24 hours of your VM’s compute.- Before each backup: if your balance is too low, that night’s backup is skipped and you are notified. Your previous backup is kept. This check estimates your backup size on the high side, so keep some room in your balance.
- At the daily charge: if your balance is too low, backups are paused. If you have a stored backup, you are notified to top up before 22:30 UTC that day. If you don’t, the stored backup is deleted that night.
Leave the backup service running
io.net installs and manages a backup service on your VM. You don’t need to start or schedule anything.- Don’t stop, change or remove the backup service, and keep outbound internet access (HTTPS) open.
- Don’t copy or share the files in
/etc/io-vm-backup. Anyone who has them can access this VM’s backup.
Backup status
The VM Backup panel on the VM’s details page shows the status, the time of the last backup, the stored size and the charges.When the VM ends
- You terminate the VM: the backup is deleted at once and can’t be restored. Restore anything you need before you terminate.
- The VM expires, is lost because of a provider problem, or ends because your balance ran out: the backup is kept for 7 days and billed daily, then deleted. Contact io.net support to restore it during that time. If your balance doesn’t cover a day’s charge, you are notified to top up before 22:30 UTC, or the backup is deleted that night.
When a backup can be lost
- You terminate the VM.
- Your balance doesn’t cover the daily charge by 22:30 UTC.
- 7 days pass after the VM ends, or you ask support to delete the backup sooner.
- You lose every SSH private key the backup was locked with.
- The backup service is stopped or removed, or the VM can’t reach the internet. Only the last backup made before that can be restored.
- Changes made after the last backup aren’t in it.
- Only the latest backup is kept. If a file is deleted or damaged and a backup runs before you restore it, the earlier version is gone.
- Until the first backup completes, there is nothing to restore.
- Files outside the backed-up folders, and files in skipped folders, are never backed up.
Restore your data
You can restore your files in two ways:- With a restore bundle from io.net support. Use this when the VM has ended, or to restore your files to another machine.
- On the running VM. Use this to get back last night’s copy of a file.
Restore with a bundle from io.net support
You need:- The SSH private key that matches a key you selected when you deployed the VM.
- A computer or VM running Ubuntu 22.04 or 24.04 (x86-64 or ARM64), with internet access and enough free disk space for your files.
1
Request a restore bundle from io.net support
Contact io.net support from the email address of your io.net account, and include your VM ID, shown on the VM’s details page.Support sends you a restore bundle, a file named
bundle.json. It works for 12 hours, so request it when you’re ready to restore. The bundle can’t open your backup on its own: only your private key can.Save the bundle in your home directory on the machine you are restoring to.2
Install the restore tool
Skip this step if you are restoring on a VM that was deployed with VM Backup turned on, because the tool is already installed there.
3
Restore your files
Run this command, replacing Your files are restored under
~/.ssh/id_ed25519 with the path to your private key:~/restored with their original paths. For example, /home/ionet/project/model.pt is restored to ~/restored/home/ionet/project/model.pt. Some files are owned by root, so use sudo to copy them.If the restore stops, or the bundle expires before it finishes, run the same command again. Ask support for a new bundle first if the old one has expired. The restore continues where it stopped.If the VM is still running, don’t restore while its nightly backup runs. Backups start between 03:00 and 04:00 UTC. If a nightly backup ran since your first attempt, restore into a new, empty folder instead.4
Delete the bundle
When the restore is done, delete the bundle:
~/restored with a tool such as rsync or scp. Don’t copy the restored .ssh folder over the new VM’s own, or you replace the SSH keys you deployed it with.
The restore says the bundle has expired
The restore says the bundle has expired
A bundle works for 12 hours. Ask support for a new one, save it as
~/bundle.json, and run the same command again.The restore says the backup can't be opened with your key
The restore says the backup can't be opened with your key
The key isn’t one the backup was locked with. Try another ed25519 or RSA key that you selected when you deployed the VM.
Restore on the running VM
While the VM is running, you can restore last night’s backup on the VM itself:/io-vm-backup-restore with their original paths. The folder is created if it doesn’t exist. Copy back the files you need.