We’ve explained the difference between filesystem and logical backups in a Enscale backups overview and now we will provide links to documentation, tools and hints & tips regarding creating reliable logical backups on our Enscale Platform-as-a-Service.
The following types of data do not usually need additional logical backups as they can be reliably restored from Layershift managed backups in most cases:
If you are unsure if your data can be reliably backed up using filesystem backups (also commonly referred to as physical backups), please consult vendor documentation for the software you are using to identify recommended backup methods.
Additional Note: In most cases we can restore your data reliably from our free filesystem backups but in some cases you should consider whether it’s worthwhile creating your own logical backups too.
In the majority of cases, we can reliably restore MySQL / MariaDB databases from filesystem backups.
If you choose to take logical backups, be aware that most logical backup tools designed for MySQL or MariaDB can be used to backup both database servers.
In general, most data can be re-imported into any same version of MySQL / MariaDB, and in many cases can also be imported into newer versions of MySQL / MariaDB.
When PostgreSQL is running with a write journal it is usually safe to rely upon filesystem backups, without creating any additional logical backups.
If you choose to take logical backups, the most commonly used tools for PostgreSQL are pg_dump and pg_dumpall:
Sometimes it’s not possible for us to reliable restore MongoDB databases using physical backups. If you want to create reliable logical backups, you can do so by setting up replication and stopping the replicated database periodically so our filesystem backups can take a backup of it while the database is stopped, or alternatively you can create a logical backup.
The most common logical backup and restore method for MongoDB is using mongodump:
Backups of CouchDB should work just fine using our filesystem backups:
Actually, you can copy a live database file from the OS at anytime without problem. Doesn’t matter if its being updated, or even if its being compacted, the CouchDB never-overwrite storage format ensures it should just work without issue.
If you are unsure if your data can be reliably backed up using filesystem backups (also commonly referred to as physical backups), please consult vendor documentation for the software you are using.