Hi,
I am unable to use slapcat to get whole database into a ldif file because I have a 32 bit machine which cannot write file having size more than 2 GB. So I am looking for alternate ways to get full database into ldif file. So please tell me if there are any alternate ways to do this. I am using openldap-2.4.16 with BDB-4.5
Regards, Mukim Pathan
You could always try to compress it on the fly with
| gzip -f > output.gz
This should work if the total size is less than 10GB
Laurence
mukim pathan wrote:
Hi,
I am unable to use slapcat to get whole database into a ldif file because I have a 32 bit machine which cannot write file having size more than 2 GB. So I am looking for alternate ways to get full database into ldif file. So please tell me if there are any alternate ways to do this. I am using openldap-2.4.16 with BDB-4.5
Regards, Mukim Pathan
database files are of total size 59GB. so I don't this this option will work for me.
On Thu, Aug 20, 2009 at 1:37 PM, Laurence Field Laurence.Field@cern.chwrote:
You could always try to compress it on the fly with
| gzip -f > output.gz
This should work if the total size is less than 10GB
Laurence
mukim pathan wrote:
Hi,
I am unable to use slapcat to get whole database into a ldif file because I have a 32 bit machine which cannot write file having size more than 2 GB. So I am looking for alternate ways to get full database into ldif file. So please tell me if there are any alternate ways to do this. I am using openldap-2.4.16 with BDB-4.5
Regards, Mukim Pathan
perhaps you can separate different branches into different files?
-Rex
On Aug 20, 2009, at 4:24 AM, mukim pathan wrote:
database files are of total size 59GB. so I don't this this option will work for me.
On Thu, Aug 20, 2009 at 1:37 PM, Laurence Field <Laurence.Field@cern.ch
wrote:
You could always try to compress it on the fly with
| gzip -f > output.gz
This should work if the total size is less than 10GB
Laurence
mukim pathan wrote: Hi,
I am unable to use slapcat to get whole database into a ldif file because I have a 32 bit machine which cannot write file having size more than 2 GB. So I am looking for alternate ways to get full database into ldif file. So please tell me if there are any alternate ways to do this. I am using openldap-2.4.16 with BDB-4.5
Regards, Mukim Pathan
mukim pathan wrote:
Hi,
I am unable to use slapcat to get whole database into a ldif file because I have a 32 bit machine which cannot write file having size more than 2 GB. So I am looking for alternate ways to get full database into ldif file. So please tell me if there are any alternate ways to do this. I am using openldap-2.4.16 with BDB-4.5
Recompile OpenLDAP with -D_FILE_OFFSET_BITS=64.
http://www.suse.de/~aj/linux_lfs.html
openldap-technical@openldap.org