[Freeipa-users] db2bak.pl and db2ldif utils
Rich Megginson
rmeggins at redhat.com
Thu Jan 10 22:50:55 UTC 2013
On 01/10/2013 03:45 PM, Orion Poplawski wrote:
> On 01/10/2013 03:29 PM, Orion Poplawski wrote:
>> On 01/10/2013 03:22 PM, Rich Megginson wrote:
>>> On 01/10/2013 02:59 PM, Orion Poplawski wrote:
>>>> With our current 389ds installs we are making use of the db2bak.pl and
>>>> db2ldif utilities to backup the ds database. Looking at my ipa 2.2.0
>>>> install these scripts were create for the PKI-IPA ds server in
>>>> /usr/lib64/dirsrv/slapd-PKI-IPA but not for the domain ds instance.
>>>
>>> They are in /var/lib/dirsrv/scripts-INSTANCE
>>
>> Hah, that's funny. I just didn't check after seeing the
>> /usr/lib64/dirsrv/slapd-PKI-IPA directory. Thanks!
>>
>>
>
> FWIW -
>
> Here's my current backup script (in /etc/cron.daily/dirsrv-backup).
> Did this:
>
> mv /usr/lib64/dirsrv/slapd-PKI-IPA /var/lib/dirsrv/scripts-PKI-IPA
> ln -s /var/lib/dirsrv/scripts-PKI-IPA /usr/lib64/dirsrv/slapd-PKI-IPA
>
> To make the two installs similar.
>
I don't recommend doing that as it may break upgrades and/or cause
problems with selinux. But YMMV.
More information about the Freeipa-users
mailing list