[389-users] Backup Directory Server by db2bak.pl script

Grzegorz Dwornicki gd1100 at gmail.com
Fri Aug 17 10:49:59 UTC 2012


https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Directory_Server/9.0/html/Configuration_Command_and_File_Reference/Perl_Scripts.html#Perl_Scripts-db2bak.pl_Create_backup_of_database

This describes this script in human readable format. Best souce of DS
knowledge im my opinion is red hat docs.

If you provide information on what you need to backup, then I'm sure
someone will provide syntax for your case.

Greg.

Send from htc desire z
17-08-2012 12:39, "Fosiul Alam" <fosiul at gmail.com> napisaƂ(a):

> Hi
>
>  I know you can take a backup of full directory server by using
>     db2bak.pl
>     but dont understand what will be syntax
>     i checked the helped file but no luck
>     So when i do this
>     /var/lib/dirsrv/slapd-ldap-2/bak/ldap-2-2012_8_3_10_13_5
>     ldapmodify: started Fri Aug  3 10:13:05 2012
>     ldap_init( ldap-2.fosiul.lan, 389 )
>     add objectclass:
>         top
>         extensibleObject
>     add cn:
>         backup_2012_8_3_10_13_5
>     add nsArchiveDir:
>         /var/lib/dirsrv/slapd-ldap-2/bak/ldap-2-2012_8_3_10_13_5
>     add nsDatabaseType:
>         ldbm database
>     adding new entry cn=backup_2012_8_3_10_13_5, cn=backup, cn=tasks,
> cn=config
>
> - Ignored:
>     modify complete
>
>
>     it does not look like its doing anything!!
>
>     can any one please help me .
>
> Fosiul
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20120817/d1a50ed5/attachment.html>


More information about the 389-users mailing list