Backup Whole Filesystem
The simplest solution is to make whole filesystem dump and store it using one big tar file. This solution has few drawbacks:
- Making backup is slow and consumes huge amount of server resources
- Transferring this backup off-site consumes your bandwitch (you pay for it), so you cannot do it very often
- Restoring backup is slow (you have to transfer back the dump)
How can we do frequent backups without above problems? There’s an answer:
Incremental Backup
What is an incremental backup? It’s method of creating archive that collects only changed files since last backup. During typical operating system usage only small percent of files changes (database files, logs, cache etc.), so we can backup only those files.