DBMS: Backups
– “By the way, what’s the point of making database backups? »
As its name suggests, a database is a structured collection of data. It consists of files in which the data is stored.
It is created and managed by a database management system (DBMS) which, among other things, allows data to be recorded, searched for, sorted and modified.
Data is at the heart of business activity. It is extremely valuable and its loss can be devastating when there is no copy.
This is why it is essential to make backups of the databases.
There are several types of backup:
– the “full backup”: all the files of a database are copied
– the “incremental backup”: only the blocks of files that have been modified since the last backup are copied
– the “log backup” (redo log, transaction log, wal or xlog): transaction log files are copied. These files are used to memorize all the modifications carried out on a database.
Backups can be made:
– cold: when the database is stopped
– or hot: when the database is active.
Once the backups have been made, it is then possible to recover the data if necessary.
And since trust does not exclude control, it is a good idea to check compliance with the backup policy on a daily basis across the entire database.