[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-22 Thread William Brown
On Tue, 2017-08-22 at 09:03 +0200, Ludwig Krispenz wrote: > On 08/22/2017 01:31 AM, William Brown wrote: > >>> I have a question / concern though. I thought that we want dbscan 2 > >>> ldif for emergency recovery scenarios when all else has gone bad and > >>> assuming that id2entry is still readabl

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-22 Thread Ludwig Krispenz
On 08/22/2017 01:31 AM, William Brown wrote: I have a question / concern though. I thought that we want dbscan 2 ldif for emergency recovery scenarios when all else has gone bad and assuming that id2entry is still readable. In the approach you described we make the assumption that the parentid i

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-21 Thread William Brown
> > > > I have a question / concern though. I thought that we want dbscan 2 > > ldif for emergency recovery scenarios when all else has gone bad and > > assuming that id2entry is still readable. In the approach you > > described we make the assumption that the parentid index is readable > > as wel

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-21 Thread Mark Reynolds
On 08/21/2017 08:11 AM, Ilias Stamatis wrote: > > > 2017-08-17 12:27 GMT+03:00 Ludwig Krispenz >: > > Hi, > Ilias' proposal follows the db2ldif approach and I think it will > work, even if it might need some tweaks to handle multiple out of > order opa

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-21 Thread Ilias Stamatis
2017-08-17 12:27 GMT+03:00 Ludwig Krispenz : > Hi, > Ilias' proposal follows the db2ldif approach and I think it will work, > even if it might need some tweaks to handle multiple out of order oparents. > > An other option would be to follow the total update approach using the > parentid index and

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-21 Thread Ilias Stamatis
2017-08-17 3:55 GMT+03:00 William Brown : > On Tue, 2017-08-15 at 22:03 +0300, Ilias Stamatis wrote: > > 2017-08-15 9:56 GMT+03:00 William Brown : > > > > > On Fri, 2017-08-11 at 17:49 +0300, Ilias Stamatis wrote: > > > > Hi everybody, > > > > > > > > Following Ludwig's and Mark's suggestions on h

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-17 Thread Ludwig Krispenz
Hi, Ilias' proposal follows the db2ldif approach and I think it will work, even if it might need some tweaks to handle multiple out of order oparents. An other option would be to follow the total update approach using the parentid index and direct get from id2entry. You start with the suffix

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-16 Thread William Brown
On Tue, 2017-08-15 at 22:03 +0300, Ilias Stamatis wrote: > 2017-08-15 9:56 GMT+03:00 William Brown : > > > On Fri, 2017-08-11 at 17:49 +0300, Ilias Stamatis wrote: > > > Hi everybody, > > > > > > Following Ludwig's and Mark's suggestions on how to perform a database > > dump > > > in LDIF format f

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-15 Thread Ilias Stamatis
2017-08-15 9:56 GMT+03:00 William Brown : > On Fri, 2017-08-11 at 17:49 +0300, Ilias Stamatis wrote: > > Hi everybody, > > > > Following Ludwig's and Mark's suggestions on how to perform a database > dump > > in LDIF format from dbscan, I have come up with a strategy. I'm talking > > about ticket

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-15 Thread William Brown
On Tue, 2017-08-15 at 16:56 +1000, William Brown wrote: > On Fri, 2017-08-11 at 17:49 +0300, Ilias Stamatis wrote: > > Hi everybody, > > > > Following Ludwig's and Mark's suggestions on how to perform a database dump > > in LDIF format from dbscan, I have come up with a strategy. I'm talking > > a

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-14 Thread William Brown
On Fri, 2017-08-11 at 17:49 +0300, Ilias Stamatis wrote: > Hi everybody, > > Following Ludwig's and Mark's suggestions on how to perform a database dump > in LDIF format from dbscan, I have come up with a strategy. I'm talking > about ticket #47567: https://pagure.io/389-ds-base/issue/47567 > > I

[389-devel] Re: Strategy proposal for making DB dump in LDIF format from dbscan

2017-08-11 Thread Ilias Stamatis
I'm sorry, I'm not sure whether the code is properly formatted so I put it here as well: https://paste.fedoraproject.org/paste/vwjZFK4icUZF4YFg44EoEw Thanks, ___ 389-devel mailing list -- 389-devel@lists.fedoraproject.org To unsubscribe send an email to