Log inSign up

Destroying a server you no longer need

Open the server, press the red trash icon (Destroy) at the top right of the server panel and confirm in the dialog. The server and its disk are erased at once, its IP addresses go with it and the prepaid term ends with the server. Copy off your data, configuration and DNS details first, because nothing on the disk can be brought back afterwards.

Topic: Your server and account · Tested on: Ubuntu 24.04 and 22.04, Debian 12 and 13, Rocky Linux 9, AlmaLinux 9 · Updated 2026-12-03

How do you destroy a server?

Destroy is the last button on the server page. Open Instances, press Manage on the server, and find the red trash icon at the end of the action buttons on the right of the header. Pressing it opens a dialog titled Destroy followed by the server label, with the text that the server and its disk are erased now and that the prepaid term ends with it. Press Confirm to go ahead or Cancel to back out.

The button is available while the server is Running or Stopped. A server that is still Installing cannot be destroyed yet, and a Paused server (term ended unpaid) is removed by itself 14 days after its term ended, so there is nothing to press there.

What exactly is erased?

Everything that belongs to that machine:

  • The whole disk: operating system, applications, databases, uploads, logs and home directories.
  • The root password stored for it and the host keys on the system.
  • The IPv4 and IPv6 addresses. They return to the pool and can be given to another customer later, so do not count on getting the same address again.
  • The server entry in Instances, together with its Overview, Usage graphs, Settings and Backups tabs.

There is no recycle bin and no undo. If there is any doubt, stop the server instead (see power actions) and destroy it later, once you are sure nothing depends on it.

What happens to the prepaid term and the invoices?

The prepaid term ends with the server; remaining months do not move to another server. If a renewal invoice for this server is still open, Destroy cancels it, so you will not be asked to pay for a machine that no longer exists.

Invoices themselves stay. The Billing page keeps every invoice of the account, paid or not, with its code, description, amount and status, so your records for the destroyed server are still there for bookkeeping. Open any of them to see the plan, city, term and the coin it was paid with.

Because the term cannot be carried over, it often pays to time a destroy near the end of a term. If you are moving to a bigger plan, run both servers side by side until the move is done, then destroy the old one; moving to a larger plan walks through that.

What about automatic backups?

Treat backups as gone together with the server. The daily backups of the add-on belong to that server and are listed on its Backups tab, which disappears with it; restores are done by support through a ticket while the server exists. If you need a restore, ask for it before you destroy, not after.

Your own off-server copies are not affected, of course. If you used restic, Borg or rsync to send data to another machine, those archives are still yours. The daily backups tutorial shows how to keep such a copy, and it is worth one last run before the server goes.

What should you save first?

Work through a short list before you press the button:

  • Application data: databases, uploaded files, mail, Git repositories, game worlds.
  • Configuration: /etc (web server, firewall, cron, systemd units), plus app settings such as .env files.
  • TLS material: certificates are easy to request again, but private keys you bought or generated by hand are not.
  • Crontabs and scripts: crontab -l for each user and anything under /usr/local/bin or /opt.
  • Keys and wallets: SSH keys you created on the server, VPN client configs, and any wallet files or seed backups for nodes. Losing these can be permanent.
  • DNS: write down which records point at this IP so you can change or remove them.

How do you copy everything off quickly?

A database dump plus a tar archive covers most servers. For MySQL or MariaDB and PostgreSQL:

sudo mysqldump --all-databases --single-transaction > all-mysql.sql
sudo -u postgres pg_dumpall > all-postgres.sql

Then pack configuration, web roots and home directories:

sudo tar -czf /root/final-backup.tar.gz /etc /var/www /home /root/all-*.sql
ls -lh /root/final-backup.tar.gz

Download it to your own computer with scp from your machine, not from the server:

scp root@198.51.100.24:/root/final-backup.tar.gz .
sha256sum final-backup.tar.gz

Run sha256sum /root/final-backup.tar.gz on the server too and compare the two lines, then open the archive locally with tar -tzf to make sure it is readable. Only then destroy.

What should you do in DNS and other services afterwards?

Remove or repoint every record that used the old addresses. An A or AAAA record left pointing at a released IP can later send your visitors to a stranger once the address is reused. Check the zone for the root domain, www, subdomains, MX records if the server handled mail, and any SPF entry that lists the IP. The DNS records tutorial covers where these live.

Also clean up outside the server: remove the old host from your known_hosts with ssh-keygen -R 198.51.100.24, delete its saved PuTTY session, revoke API keys or webhooks that were tied to its address, and update monitoring so it stops alerting about a machine that is gone.

Is reinstalling a better choice than destroying?

Sometimes. If you want a clean system but plan to keep using the server, Reinstall on the Settings tab erases the disk and installs a fresh image while keeping the server, its IP addresses and its prepaid term. It also generates a new root password, shown on the Overview tab. That is the right tool after a test, a compromise or a change of distribution; the reinstall tutorial has the steps.

Destroy fits when you are finished with the server: a project ended, you moved to another plan or city, or you are cutting down the number of machines.

Questions about Destroy a server you no longer need

Can a destroyed server be restored?

No. The disk is erased at once and there is no undo. Save what you need and ask for any backup restore before you destroy.

Do I get the unused part of the term back?

The prepaid term ends with the server and does not move to another one. To get the most out of it, destroy near the end of the term.

Will my invoices disappear?

No. Every invoice stays in Billing with its amount and status, including those of destroyed servers.

Can I keep the IP address for a new server?

No. The addresses are released with the server and a new server gets new ones. Plan a DNS change when you move.

Why is there no Destroy button on my server?

Destroy appears while the server is Running or Stopped. An Installing server has no actions yet, and a Paused server is removed by itself 14 days after its term ended.

Is stopping the server enough if I might need it again?

Yes. A stopped server keeps its disk and addresses until the term ends, so Stop is the safe choice while you decide. See power actions.