The 3-2-1 backup rule
The 3-2-1 rule says to keep 3 copies of your data, on 2 different types of storage, with 1 copy away from your server or office. That way, if the disk breaks, the server gets hacked or the building burns, there’s always a copy to recover from.
Published · ganyant
Why isn’t a backup on the same server enough?
Because it goes down with it. If the disk fails, ransomware encrypts everything or the machine is deleted by mistake, the backup is lost along with the data. The copy has to live somewhere else.
How often should I back up?
Based on how much data you can afford to lose. If losing a day of orders is serious, back up every few hours. For a database that changes little, once a day is enough. And keep several days back: sometimes the problem is found late.
Why encrypt backups?
A backup holds all your data in one place: customers, passwords, invoices. If someone steals it from storage, without encryption they read all of it. Ideally it’s encrypted before it leaves your server, with a key only you have.
How do I know it works?
By restoring it. A backup you never tested isn’t a backup. Run a test restore somewhere else from time to time and check the file is complete and not corrupted.
How does ganyant do it?
With the ganyant agent you schedule backups of PostgreSQL, MySQL, MongoDB, SQLite or folders. They’re compressed and encrypted on your server with XChaCha20-Poly1305 and a key derived from your passphrase with Argon2id, before going to external storage: nobody can read them without your passphrase, us included. On restore, the agent checks the file’s fingerprint. It’s available from Starter, and on Agency you can use your own S3.