mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2026-06-19 15:42:37 +02:00
feat: slapd via slapcat backup
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR=/home/sheppy/slapd_backup/
|
||||
BACKUP_NAME=backup_$(date +%Y%m%d).ldif
|
||||
mkdir -p $DIR
|
||||
|
||||
slapcat > ${DIR}${BACKUP_NAME}
|
||||
chown -R sheppy:sheppy $DIR
|
||||
Reference in New Issue
Block a user