directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: ApacheDS M20 Backup & Restore
Date Thu, 03 Sep 2015 00:38:19 GMT
On Thu, Sep 3, 2015 at 5:55 AM, Ezsra McDonald <ezsra.mcdonald@gmail.com>
wrote:

> Thanks Kiran,
>
> is '(user+operational)' a filter or are you saying I have to list all the
> attributes specifically? I don't like the later. What if someone starts
> using additional attributes without my knowledge. Can you give an example?
>
just use that in filter

ldapsearch -H ldap://localhost:10389 -x -D "uid=admin,ou=system" -W -b
"ou=system" -s sub -a always "(objectClass=*)" "*" "+"

>
> On Tue, Sep 1, 2015 at 6:38 PM, Kiran Ayyagari <kayyagari@apache.org>
> wrote:
>
> > On Wed, Sep 2, 2015 at 5:02 AM, Ezsra McDonald <ezsra.mcdonald@gmail.com
> >
> > wrote:
> >
> > > So how does one retain password history and other system attributes in
> > the
> > > backup using ldapsearch? If I can, how do I restore those values? Do I
> > need
> > > additional access?
> > >
> > include all (user+operational) attributes in the search request you use
> for
> > backing up data
> > you can restore them by connecting as uid=admin,ou=system user
> >
> > >
> > > On Mon, Aug 24, 2015 at 11:06 PM, Kiran Ayyagari <kayyagari@apache.org
> >
> > > wrote:
> > >
> > > > On Tue, Aug 25, 2015 at 2:40 AM, Ezsra McDonald <
> > > ezsra.mcdonald@gmail.com>
> > > > wrote:
> > > >
> > > > > So, documentation is incomplete for Backup and restore. Are there
> any
> > > new
> > > > > developments in this area?
> > > > >
> > > > > I know of the following two options:
> > > > >
> > > > > 1. Shutdown the instance and archive the partition. Not attractive
> > due
> > > to
> > > > > downtime.
> > > > >
> > > > > 2. LDIF export somehow, ldapsearch a assume. Not attractive due to
> > how
> > > > long
> > > > > it will take to export 300K entries and inconsistent backup.
> > > > >
> > > > > What is the method for ldapsearch to be able to pull all entries
> and
> > > not
> > > > > just the first thousand entries?
> > > > >
> > > > remove the -z option for unlimited size and search using
> > > > uid=admin,ou=system user
> > > >
> > > > >
> > > > > A direct export would be nice.
> > > > >
> > > > > --Ezsra
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Kiran Ayyagari
> > > > http://keydap.com
> > > >
> > >
> >
> >
> >
> > --
> > Kiran Ayyagari
> > http://keydap.com
> >
>



-- 
Kiran Ayyagari
http://keydap.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message