Skip to content

A backup is useful when it restores

Keep a copy outside your server, then test that it can rebuild the service. A successful backup job is only half the check.

Read the guide

Decide what you can afford to lose

Ask two questions: how much recent work could be lost, and how long could the service be offline? A personal archive and a busy shop will have different answers.

If losing a day of orders would be unacceptable, one nightly copy is not enough for that database. Choose a backup schedule that fits the work being saved.

Save the parts that make the site work

Files alone may leave you with pages but no users, orders or settings. Write down the parts needed to rebuild the application.

  • Website and application files, including uploads.
  • A consistent database export or supported database backup.
  • Web server, proxy and scheduled-job configuration.
  • A private copy of required secrets, protected separately from public files.
  • The software versions and steps used to restore the service.

Keep a separate copy

A second folder on the same server can disappear with the same disk failure or compromised account. Send a backup to a separate system and protect its access.

RAID helps with certain drive failures. A snapshot can help with some rollbacks. Neither gives you the same protection as a separate copy you can still reach after losing the server.

Encrypt and retain deliberately

Encrypt backups that contain personal data or secrets. Store the decryption key where you can recover it if the server is lost. Limit who can delete old copies.

Keep more than one recovery point so a recent damaged file does not replace the only good copy. Choose a retention period based on the data and your obligations, and remove expired copies deliberately.

Test a restore away from the live service

Restore to a separate directory or temporary server. Check that the database opens, uploads exist and a user can complete the main task. Do not overwrite a working live database just to see whether a backup works.

Record the time needed, missing steps and any keys or packages you had to find. A teammate should be able to follow the same notes. Remove the temporary copy when you no longer need it.

Before cancelling or migrating

Take a final consistent copy, confirm that you can read it and keep it outside the server being cancelled. If data changes during migration, decide how to copy the final changes before directing users to the new server.

Common questions

Are mirrored drives a backup?

No. A mirror can copy an accidental deletion or damaged file immediately. Keep a separate recovery copy.

How often should I back up?

Often enough that the amount of work lost since the last copy would be acceptable. Active databases may need a more frequent schedule than static files.

Does HostAzul include a backup service with every plan?

Do not assume one is included. Check the selected plan and arrange separate backups for important data.