Project

General

Profile

Actions

User story #1543

closed

We should backup the slapd database before updating in rudder-inventory-ldap

Added by Matthieu CERDA over 13 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
5 (lowest)
Assignee:
-
Category:
Packaging
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We should probably use this :

if [ -x /var/rudder/openldap-data ]                                                                              
then
        TMP_BACKUP=`mktemp -d -t slapd.backup.XXXXXXXXXX -q`
        cp -a /var/rudder/openldap-data $TMP_BACKUP/
fi
Actions

Also available in: Atom PDF