Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Commits
a6825caf
Commit
a6825caf
authored
2 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
add docs for check_client_backup
parent
f445add7
No related branches found
No related tags found
1 merge request
!124
Update docs
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/20_Checks/_index.md
+1
-1
1 addition, 1 deletion
docs/20_Checks/_index.md
docs/20_Checks/check_client_backup.md
+67
-0
67 additions, 0 deletions
docs/20_Checks/check_client_backup.md
with
68 additions
and
1 deletion
docs/20_Checks/_index.md
+
1
−
1
View file @
a6825caf
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
docs/20_Checks/check_client_backup.md
0 → 100644
+
67
−
0
View file @
a6825caf
# 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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment