FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 05-09-2011, 10:27 PM
David Baird
 
Default db2bak creates ldif file not database backup

Hi All,

I wonder if anyone else has seen this? On our recently implemented 389 server
(1.2.8.1) /usr/lib64/dirsrv/slapd-xxx/db2bak produces an ldif as output rather
than a backup of the databases. I've switched to using db2bak.pl, but is this
something that anyone has encountered before?

[root@server ~]/var/lib64/dirsrv/slapd-xxx/db2bak
Back up directory: /var/lib/dirsrv/slapd-xxx/bak/xxx-2011_05_10_09_46_43
[10/May/2011:09:46:43 +1200] 389-Directory/1.2.8.1 - debug level: backend (524288)
[root@server ~]# ls -al /var/lib/dirsrv/slapd-xxx/bak
total 152
drwxrwx--- 2 ldap ldap 4096 May 10 09:46 .
drwxrwx--- 6 ldap ldap 4096 Apr 21 08:30 ..
-rw------- 1 ldap ldap 67292 May 10 09:46 xxx-2011_05_10_094641.ldif


Additionally, if you provide a backup directory to the db2bak command (db2bak
/var/lib/dirsrv/slapd-xxx/bak/daily) it produces no output.

[root@server ~]# /usr/lib64/dirsrv/slapd-xxx/db2bak
/var/lib/dirsrv/slapd-xxx/bak/daily
Back up directory: /var/lib/dirsrv/slapd-xxx/bak/daily
[10/May/2011:10:06:52 +1200] 389-Directory/1.2.8.1 - debug level: backend (524288)
[root@server ~]# ls /var/lib/dirsrv/slapd-xxx/bak
xxx-2011_05_10_094641.ldif


Should I file a bug report?

David.

------------------------------------------------------------------------------
David Baird BSc.
Programmer/Analyst
Faculty of Computing & Mathematical Sciences email: dbaird@scms.waikato.ac.nz
University of Waikato Phone: +64 7 838 4549
Private Bag 3105 Fax: +64 7 838 4155
Hamilton, New Zealand
------------------------------------------------------------------------------

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 05-09-2011, 10:31 PM
Rich Megginson
 
Default db2bak creates ldif file not database backup

On 05/09/2011 04:27 PM, David Baird wrote:
> Hi All,
>
> I wonder if anyone else has seen this? On our recently implemented 389 server
> (1.2.8.1) /usr/lib64/dirsrv/slapd-xxx/db2bak produces an ldif as output rather
> than a backup of the databases. I've switched to using db2bak.pl, but is this
> something that anyone has encountered before?
>
> [root@server ~]/var/lib64/dirsrv/slapd-xxx/db2bak
> Back up directory: /var/lib/dirsrv/slapd-xxx/bak/xxx-2011_05_10_09_46_43
> [10/May/2011:09:46:43 +1200] 389-Directory/1.2.8.1 - debug level: backend (524288)
> [root@server ~]# ls -al /var/lib/dirsrv/slapd-xxx/bak
> total 152
> drwxrwx--- 2 ldap ldap 4096 May 10 09:46 .
> drwxrwx--- 6 ldap ldap 4096 Apr 21 08:30 ..
> -rw------- 1 ldap ldap 67292 May 10 09:46 xxx-2011_05_10_094641.ldif
>
>
> Additionally, if you provide a backup directory to the db2bak command (db2bak
> /var/lib/dirsrv/slapd-xxx/bak/daily) it produces no output.
>
> [root@server ~]# /usr/lib64/dirsrv/slapd-xxx/db2bak
> /var/lib/dirsrv/slapd-xxx/bak/daily
> Back up directory: /var/lib/dirsrv/slapd-xxx/bak/daily
> [10/May/2011:10:06:52 +1200] 389-Directory/1.2.8.1 - debug level: backend (524288)
> [root@server ~]# ls /var/lib/dirsrv/slapd-xxx/bak
> xxx-2011_05_10_094641.ldif
>
>
> Should I file a bug report?
Yes.
> David.
>
> ------------------------------------------------------------------------------
> David Baird BSc.
> Programmer/Analyst
> Faculty of Computing& Mathematical Sciences email: dbaird@scms.waikato.ac.nz
> University of Waikato Phone: +64 7 838 4549
> Private Bag 3105 Fax: +64 7 838 4155
> Hamilton, New Zealand
> ------------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 

Thread Tools




All times are GMT. The time now is 10:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org