Automatic backups is an optional, paid add-on for every CoAI Host plan. When it's on, you can see your server's daily backups in the client area and restore the server, download single files or download a complete disk image (when the service page offers it). We keep one restore point per day for 7 days.
Price
The add-on costs the same for every plan: $3.00 per month, $9.00 per quarter or $30.00 per year. Prices are in USD and exclude taxes. The add-on is billed together with the server, for the same billing cycle.
Switch automatic backups on or off
- When you order: under Automatic backups on the order form, choose Daily, keep 7 days. The default is Off.
- Later: open your server's service page. The Automatic backups box shows whether backups are on. Click Change, select Daily, keep 7 days or Off, and complete the order. Only the Automatic backups and Extra SSD options can be changed there; to change the operating system, use Reinstall.
- Switching on: you pay the prorated add-on price for the rest of the current billing period. Backups switch on as soon as that invoice is paid, and the first backup starts within a few minutes. The daily backups of your server from the last 7 days that still exist appear on the Backups page too. Later renewals include the add-on.
- Switching off: the unused part of the period is credited to your account balance. Your backups are no longer available to you 24 hours later: they disappear from the Backups page and you can no longer restore or download them. The service page shows the exact time; switch backups on again before then to keep using them. Your server then stays covered only by our disaster-recovery copies, which you can't use.
- Switching on or off doesn't restart your server.
- Occasionally switching on can be unavailable for a while ("the backup storage is being expanded"). Please try again later or contact support.
When backups are made
The daily backup run starts at 17:15 JST (08:15 UTC), which is 03:15 in Dallas, Texas during daylight saving time (CDT) and 02:15 in winter (CST). Servers are backed up one after another, so yours can be backed up somewhat later. The service page shows the last successful backup and the next scheduled run.
Your server keeps running during a backup. If the QEMU guest agent is running inside the server (it's preinstalled on our images: qemu-guest-agent on Linux, the QEMU Guest Agent service on Windows), file systems are paused for a moment, or a VSS snapshot is taken on Windows, so that files are consistent. Databases should still have their own regular dumps, for example with mysqldump or pg_dump.
How many backups are kept
- One restore point per day for the last 7 days. Older backups are deleted automatically.
- You can also make a backup yourself: on the Backups page, click Create Backup, for example before a risky change. Keep the mode Snapshot so that the server keeps running (Suspend and Stop pause or stop it during the backup). Only the newest backup of each day (Japan time, JST) is kept as that day's restore point: a backup that you create after the day's 17:15 run replaces that day's automatic backup, and one that you create earlier on the same day is replaced by the automatic backup.
- At most 8 backups can exist at the same time. While 8 exist, you can't create another one until the next daily run has removed the oldest.
- The size shown in the Backups list is your server's virtual disk size (for example 25 GB on CoAI NAT-S1), not the space the backup actually uses.
Restore the whole server
- Open the service page and click Backups.
- Find the backup by its date, click Restore and confirm.
- A restore replaces everything on the server's disks with the backup: the operating system, your files, and the passwords and SSH keys that were valid at that time. It can't be undone, so if you're unsure, first download what you need or create a backup of the current state.
- The IP address, hostname and plan stay the same. After the restore we automatically re-apply the vCPU, memory, disk size and limits of your current plan, which can restart the server once more a few minutes later.
- A backup made before a reinstall to another operating system brings that operating system back.
- If the backup was made before a plan change, the server's SSH host keys can differ from the current ones, so your SSH client may warn
REMOTE HOST IDENTIFICATION HAS CHANGED. Remove the old entry withssh-keygen -R '[<your server IP>]:<your SSH port>'and connect again. - Bigger disk than in the backup (for example a backup from before an upgrade): the disk is grown to your plan's size after the restore. On Linux, the root file system grows automatically at the next boot; restart the server once if it hasn't. On Windows, extend C: yourself: open Disk Management (
diskmgmt.msc), choose Action > Rescan Disks, then right-click C: and choose Extend Volume. Or run this in an elevated PowerShell:Update-HostStorageCache Resize-Partition -DriveLetter C -Size (Get-PartitionSupportedSize -DriveLetter C).SizeMax
Download single files
- On the Backups page, click Browse Files next to the backup and open the folder that contains the file.
- Click Download next to the file, choose the format under Download as and confirm.
- We prepare the file and email you a link when it's ready. The link works for 24 hours, and only while you're logged in to the client area with your account.
- Single files of up to 2 GB (2 GiB) can be downloaded. Folders can't be downloaded; to get many files, request a disk image instead (see below).
- Up to 2 downloads per server can be prepared at the same time. If you see "Too many downloads are being prepared right now", wait for the email about your earlier download.
- Browsing works for ext4, XFS (also on LVM) and NTFS file systems.
- Files can't be restored straight into the server. Download the file and copy it back yourself, for example with
scpor over Remote Desktop.
Download a complete disk image
You can request a complete image of your server's disk from one of its backups, as one compressed file in qcow2 format, for example to move your server to another provider or to keep an archive copy. You can use it with QEMU/KVM or Proxmox VE, or convert it with qemu-img.
- Open your server's service page. In the Full disk image (qcow2) section, click Prepare full disk image (qcow2) next to the backup you want.
- We prepare the image in the background (usually within an hour; large disks take longer) and email you when it's ready. For your security, the email doesn't contain the download link.
- Open the service page again and click Download in the same section. The section shows the size, the SHA-256 checksum and until when the image is available: 24 hours after it's ready. After that the link stops working and the image is deleted.
- One request per server at a time, and at most 2 disk images per server in any 24 hours.
- Disk images are available only while the service is active and Automatic backups is on. If the service is suspended or canceled, open requests are canceled and prepared images are deleted.
- The download comes from
https://dl.coaiwork.com:8443, so your network must allow outgoing connections to port 8443. The download speed is limited (currently about 12 MiB/s), so a large image can take an hour or more. - Disk space that has never been used isn't stored in the image, so the file is usually much smaller than the disk. Compare the SHA-256 checksum after the download, for example with
sha256sum server.qcow2. - Keep the link private. The link that the Download button opens works without logging in until it expires, and the image contains everything on your server, including passwords and keys.
- To use the image elsewhere, convert it with
qemu-imgif needed, for example:qemu-img convert -p -O raw server.qcow2 server.raw qemu-img convert -p -O vhdx server.qcow2 server.vhdx qemu-img convert -p -O vmdk server.qcow2 server.vmdk
Plan changes, reinstalls, suspension and cancellation
- Plan change: Automatic backups stays on when you change to another plan, your existing backups are kept, and the add-on price stays the same (see Upgrade your plan). Only if the add-on is explicitly switched off as part of a plan change do your existing backups stay available to you for 7 days, and we email you; switch it on again before then to keep using them.
- Reinstall: your backups are kept, and new backups continue with the reinstalled system. You can restore a backup from before the reinstall.
- Suspension (for example because of an unpaid invoice): no new backups are made and the Backups page is unavailable; existing backups are kept. If you switched backups off shortly before, they still stop being available to you at the time shown on the service page.
- Cancellation or termination: all backups of the server, including our disaster-recovery copies, are deleted immediately, together with the server, and can't be recovered. Download what you need first.
Where backups are stored
Backups are stored on our backup storage in Dallas, Texas, with an encrypted copy in Germany that we use only for our own disaster recovery. The backup storage may be in the same data centre or on the same hardware as your server. Our Privacy Policy explains how long copies are kept, and our Terms of Service describe the add-on and the disaster-recovery copies in full.
Troubleshooting
- "Last successful backup: none yet" right after switching on: the first backup starts within a few minutes, or for a brand-new server as soon as it's fully set up.
- "Backups of this service are temporarily unavailable": please try again later, and contact support if it persists.
- "Only single files of up to 2 GB can be downloaded": the file is larger than 2 GB; request a disk image instead (when the service page offers it).
- If the last successful backup is more than a day old, please open a support ticket.