Re: [Freeipa-users] Export data

2014-02-19 Thread Rob Crittenden
ards, Suhail. DevOps BSkyB. From: Martin Kosek [mko...@redhat.com] Sent: 22 January 2014 13:30 To: Choudhury, Suhail; freeipa-users@redhat.com Subject: Re: [Freeipa-users] Export data On 01/22/2014 01:48 PM, Choudhury, Suhail wrote: Hi guys, I trying to get a dump of all users, hosts and DNS

Re: [Freeipa-users] Export data

2014-02-19 Thread Martin Kosek
[mko...@redhat.com] > Sent: 22 January 2014 13:30 > To: Choudhury, Suhail; freeipa-users@redhat.com > Subject: Re: [Freeipa-users] Export data > > On 01/22/2014 01:48 PM, Choudhury, Suhail wrote: >> Hi guys, >> >> I trying to get a dump of all users, hosts and

Re: [Freeipa-users] Export data

2014-02-19 Thread Choudhury, Suhail
Subject: Re: [Freeipa-users] Export data On 01/22/2014 01:48 PM, Choudhury, Suhail wrote: > Hi guys, > > I trying to get a dump of all users, hosts and DNS entries from IPA so > we can run scripts/Puppet against them. > > Tried searching for it but cannot find anything, so was ho

Re: [Freeipa-users] Export data

2014-01-24 Thread Martin Kosek
Dimitar, this is actually a very good question. Our team have been discussing the best way to back and restore a FreeIPA infrastructure for some time. In FreeIPA 3.2, we introduced ipa-backup and ipa-restore scripts which we are evaluating, but we still think that the best way to backup and restore

Re: [Freeipa-users] Export data

2014-01-23 Thread Dimitar Georgievski
In my case DNS is not an issue, FreeIPA is integrated with existing DNS servers. The above procedure would work for migrating the user's data to a new IPA server that has a new host name. What if I would like to restore the original IPA server ? Could I repeat the above steps with the exception of

Re: [Freeipa-users] Export data

2014-01-22 Thread Martin Kosek
On 01/22/2014 06:57 PM, Petr Viktorin wrote: > On 01/22/2014 06:26 PM, Dimitar Georgievski wrote: >> Would you use ldapmodify -f file-name-with-exported-data to import the >> data back to a new copy of FreeIPA? > > No, that generally won't work. There's more to IPA than the data in LDAP. > Instead

Re: [Freeipa-users] Export data

2014-01-22 Thread Petr Viktorin
On 01/22/2014 06:26 PM, Dimitar Georgievski wrote: Would you use ldapmodify -f file-name-with-exported-data to import the data back to a new copy of FreeIPA? No, that generally won't work. There's more to IPA than the data in LDAP. Instead of copying data you should install the new server as a

Re: [Freeipa-users] Export data

2014-01-22 Thread Dimitar Georgievski
Would you use ldapmodify -f file-name-with-exported-data to import the data back to a new copy of FreeIPA? Thanks Dimitar On Wed, Jan 22, 2014 at 8:52 AM, Petr Spacek wrote: > On 22.1.2014 14:40, Rob Crittenden wrote: > >> Martin Kosek wrote: >> >>> On 01/22/2014 01:48 PM, Choudhury, Suhail w

Re: [Freeipa-users] Export data

2014-01-22 Thread Petr Spacek
On 22.1.2014 14:40, Rob Crittenden wrote: Martin Kosek wrote: On 01/22/2014 01:48 PM, Choudhury, Suhail wrote: Hi guys, I trying to get a dump of all users, hosts and DNS entries from IPA so we can run scripts/Puppet against them. Tried searching for it but cannot find anything, so was hoping

Re: [Freeipa-users] Export data

2014-01-22 Thread Rob Crittenden
Martin Kosek wrote: On 01/22/2014 01:48 PM, Choudhury, Suhail wrote: Hi guys, I trying to get a dump of all users, hosts and DNS entries from IPA so we can run scripts/Puppet against them. Tried searching for it but cannot find anything, so was hoping someone can give some hints on how best to

Re: [Freeipa-users] Export data

2014-01-22 Thread Martin Kosek
On 01/22/2014 01:48 PM, Choudhury, Suhail wrote: > Hi guys, > > I trying to get a dump of all users, hosts and DNS entries from IPA so > we can run scripts/Puppet against them. > > Tried searching for it but cannot find anything, so was hoping someone > can give some hints on how best to do this