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

add docs for check_client_backup

parent f445add7
No related branches found
No related tags found
1 merge request!124Update docs
......@@ -13,7 +13,7 @@ There is one include script used by all checks:
* [check_ceph_io](check_ceph_io.md)
* [check_ceph_osd](check_ceph_osd.md)
* [check_ceph_status](check_ceph_status.md)
* check_clientbackup
* [check_clientbackup](check_clientbackup.md)
* check_couchdb-lb
* [check_cpu](check_cpu.md)
* [check_cronstatus](check_cronstatus.md)
......
# Check Client backup
## Introduction
**check_client_backup** is a plugin to show the backup status of IML Backup.
📄 Source: https://git-repo.iml.unibe.ch/iml-open-source/iml-backup/
📜 License: GNU GPL 3.0
📖 Docs: see docs folder or online https://os-docs.iml.unibe.ch/iml-backup/
## Requirements
* `IML Backup` must be installed.
## Syntax
```txt
./check_clientbackup -h
______________________________________________________________________
CHECK_CLIENTBACKUP
v1.11
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
______________________________________________________________________
Show status of IML backup.
See https://os-docs.iml.unibe.ch/iml-backup/
It returns with state UNKNOWN if no backup has been performed yet.
It switches to ERROR an error occured during backup process.
SYNTAX:
check_clientbackup [-d DIRECTORY]
OPTIONS:
-h or --help show this help.
-d or --dir set installation dir of iml backup to find its check skript
default: /opt/imlbackup/client/
EXAMPLE:
check_clientbackup -d /home/backup/imlbackup
set a custom directory und run the backup check
```
## Examples
`$ ./check_clientbackup -d ~/skripte/iml-backup/client/` returns
```txt
OK Client Backup - WITH transfer - last backup log: auto-20230622-091201.log (1 h ago) OK: backup is younger than 24 hours - OK: 10 ... Errors: 0
--- transfer:
__REPO__ OK, Backup repository already exists.
__BACKUP__ OK - DIR /var/localdumps/backup
__BACKUP__ OK - DIR /boot
__BACKUP__ OK - DIR /etc
__BACKUP__ OK - DIR /home
__LAST__backup 1 h ago
__LAST__prune 3 days ago
__LAST__verify 1 days ago
```
If you have a database service (Mysql/ MariaD, Postgres, ...) you will get a list of dumped databases.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment