Skip to content
Snippets Groups Projects
Commit d4f6fc5b authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update docs

parent 19babad9
No related branches found
No related tags found
1 merge request!25update docs
* Automatic backup of databases: A set of database backup scripts detects exsiting locally running database services and puts a compressed dump file per database scheme to a local backup directory.
* local encryption of all data to backup.
* no agent, no sattelite, no central backup server. We deploy the software and a config set to a server and the backup will run itself
# How does it work? #
There is scheduler, that waits for a time to start.
For backup it makes
* the dump of all found local databases and then
* transfer all files with a backup tool:
* locally encrypted files will be transferred to a mounted dir, ssh, rsync, https, (the available backaneds depend on the used backup tool) ... to a backup target system
* on the backup target each system has its own subdirectory or repository to store its data
![overview: How does it work?](./images/iml-backup-clientactions-simple.drawio.png)
# Database backup # # Database backup #
Before starting the backup of local files to a backup target there is a step to dump a local Before starting the backup of local files to a backup target there is a step to dump a local
...@@ -16,6 +34,14 @@ Limited support: ...@@ -16,6 +34,14 @@ Limited support:
* couchdb (using a config with naming convention) * couchdb (using a config with naming convention)
* ldap (without restore so far) * ldap (without restore so far)
# File backup #
It is a classic backup a set of directories. Includes and excludes can be defined (but I prefer to backup all files).
The backup target for local database backups is included automatically.
Additionally there is a flag for a local Samba: if enabled all found shares will treated as directory to backup.
# Backup tools # # Backup tools #
## Restic ## ## Restic ##
...@@ -25,6 +51,7 @@ Limited support: ...@@ -25,6 +51,7 @@ Limited support:
* deduplicates files * deduplicates files
* delete backups by rules to keep a count of hourly, daily, weekly, mothly, yearly backups * delete backups by rules to keep a count of hourly, daily, weekly, mothly, yearly backups
* several backup targets (currently supported protocols: sftp:// https:// and file://) * several backup targets (currently supported protocols: sftp:// https:// and file://)
* Single binary (written in Go)
## Duplicity ## ## Duplicity ##
...@@ -33,6 +60,7 @@ Limited support: ...@@ -33,6 +60,7 @@ Limited support:
* set size of backup volumes * set size of backup volumes
* delete old backups by a given time limit * delete old backups by a given time limit
* several backup targets (currently supported protocols: scp:// rsync:// and file://) * several backup targets (currently supported protocols: scp:// rsync:// and file://)
* Backup script (written in Python) with dependencies and possibly differend versions on different OS
# Limit simoultanous backups # # Limit simoultanous backups #
......
# IML BACKUP # # IML BACKUP #
Backup scripts using restic or duplicity. Backup scripts using restic (or duplicity).
Runs on Linux: CentOS, Debian, Manjaro, Ubuntu. Runs on Linux: CentOS, Debian, Manjaro, Ubuntu.
...@@ -16,5 +16,6 @@ for backup, monitoring and other general services. ...@@ -16,5 +16,6 @@ for backup, monitoring and other general services.
* **No central backup server**: We don't want to configure a backup set on a "central backup server" for each new node. Each new node pushes its own backup data to a given backup target.<br><br> * **No central backup server**: We don't want to configure a backup set on a "central backup server" for each new node. Each new node pushes its own backup data to a given backup target.<br><br>
* We want to **push data from a private network** to target; a central backup server would not reach some clients without sattelite systems.<br><br> * We want to **push data from a private network** to target; a central backup server would not reach some clients without sattelite systems.<br><br>
* No agent needed.<br><br>
* **Automatic backup of databases**: A set of database backup scripts detects exsiting locally running database services and puts a compressed dump file per database scheme to a local backup directory.<br><br> * **Automatic backup of databases**: A set of database backup scripts detects exsiting locally running database services and puts a compressed dump file per database scheme to a local backup directory.<br><br>
* We want to use a **local encryption** of all data to backup. * We want to use a **local encryption** of all data to backup.
{ {
"title": "IML Backup", "title": "IML Backup",
"author": "Axel Hahn", "author": "Axel Hahn",
"tagline": "Automatic decentral server backups.", "tagline": "Automatic decentral linux backups.",
"ignore": { "ignore": {
"files": ["30_PHP-client/Plugins/Checks/_skeleton.md"], "files": ["30_PHP-client/Plugins/Checks/_skeleton.md"],
"folders": ["99_Not_Ready"] "folders": ["99_Not_Ready"]
......
docs/images/iml-backup-clientactions-simple.drawio.png

113 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment