[Freeipa-users] backing up and restoring the backend

Steven Jones Steven.Jones at vuw.ac.nz
Thu Sep 29 21:51:13 UTC 2011


Hi,

I have no problem with /var/  being used its "variable" after all.....makes the most sense....consistency is good.

regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: Rich Megginson [rmeggins at redhat.com]
Sent: Friday, 30 September 2011 10:47 a.m.
To: Steven Jones
Cc: Deon Lackey; freeipa-users at redhat.com
Subject: Re: [Freeipa-users] backing up and restoring the backend

On 09/29/2011 03:45 PM, Steven Jones wrote:
> Hi,
>
> Thanks, yum provides didnt return anything......I must of made a typo...
No, yum is correct.
These files are not provided by yum (i.e. in the package)
they are instead created when you set up your instances, by ipa
eventually calling setup-ds.pl
the reason ipa moved them from /usr to /var is that they felt it was not
proper to dynamically create files under /usr since many deployments
want /usr to be mounted read-only.
> regards
>
> Steven Jones
>
> Technical Specialist - Linux RHCE
>
> Victoria University, Wellington, NZ
>
> 0064 4 463 6272
>
> ________________________________________
> From: Rich Megginson [rmeggins at redhat.com]
> Sent: Friday, 30 September 2011 10:40 a.m.
> To: Steven Jones
> Cc: Deon Lackey; freeipa-users at redhat.com
> Subject: Re: [Freeipa-users] backing up and restoring the backend
>
> On 09/29/2011 03:35 PM, Steven Jones wrote:
>> 4.3.1.2. Backing up All Databases from the Command Line
>> "To avoid shutting down the server when running a backup, use the db2bak.pl Perl script instead of the bd2bak tool. These are both located in the /usr/lib[64]/dirsrv/slapd-example directory."
>>
>> This script doesn't seem to be available/present (I did a find on /usr and a yum provides) can it be made available/official?
> ipa has moved it to under /var/lib/dirsrv
>> regards
>>
>> Steven Jones
>>
>> Technical Specialist - Linux RHCE
>>
>> Victoria University, Wellington, NZ
>>
>> 0064 4 463 6272
>>
>> ________________________________
>> From: Deon Lackey [dlackey at redhat.com]
>> Sent: Friday, 30 September 2011 10:20 a.m.
>> To: Steven Jones
>> Cc: freeipa-users at redhat.com
>> Subject: Re: [Freeipa-users] backing up and restoring the backend
>>
>>
>> First off, I have opened a ticket to make it clear in the FreeIPA docs what you should do:
>>
>> https://fedorahosted.org/freeipa-guide/ticket/25
>>
>>
>>
>> Okay, until I get that done, here is the info on what to do for backing up and restoring the DS in general:
>>
>> http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html/Administration_Guide/Populating_Directory_Databases-Backing_Up_and_Restoring_Data.html
>>
>>
>>
>> There are a couple of different options and scripts you can use, aside from just importing and exporting data.
>>
>>
>>
>> Hope that helps!
>>
>> Deon
>>
>>
>> ________________________________
>>
>> From: "Steven Jones"<Steven.Jones at vuw.ac.nz>
>> To: freeipa-users at redhat.com
>> Sent: Thursday, September 29, 2011 3:55:35 PM
>> Subject: [Freeipa-users] backing up and restoring the backend
>>
>> Hi,
>>
>> Backing up
>>
>> I cant find anything in the documentation discussing backing up and recovering IPA/ldap?....in the past I seem to recall the FDS/389 suggested exporting the data which was then backed up.....I think there was a gui to do that....
>>
>> So even if its a case of now its easy just backup /var/lib/dirsrv and nothing more is needed, it should say so IMHO.
>>
>> Restoring
>>
>> Is there a restore process?  so with FDS/389 you would import the exported file.
>>
>> regards
>>
>> Steven Jones
>>
>> Technical Specialist - Linux RHCE
>>
>> Victoria University, Wellington, NZ
>>
>> 0064 4 463 6272
>>
>> _______________________________________________
>> Freeipa-users mailing list
>> Freeipa-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-users
>>
>>
>> _______________________________________________
>> Freeipa-users mailing list
>> Freeipa-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-users





More information about the Freeipa-users mailing list