Hi All,
A question of curiosity: i've set up a small ldap server (no slaves or multimaster stuff) with about 50 users. I made a backup of the server7 directory (/var/opt/netscape/server7) before I changed anything and started hacking away. now, a couple of months later everything is working very well and i'm asked to migrate the server. I just made a new backup of the server7 directory and to my amazement it is 10x as big. It started out at 139m, and it is now 1.2g!
So the question is: What is taking up so much space when there are only 50 posixAccounts and 2 posixGroups?
For the record, I know this is not the way to backup a rhds server, I'm reading about how to do a backup or dump "the right way" as we speak ;-)
Grtz,
Rubin.
Rubin, You may want to check for old error and access logs, as these tend to grow pretty quickly. You can also run du -h to get an idea of what dirs are taking up the space.
Aaron
Rubin wrote:
Hi All,
A question of curiosity: i've set up a small ldap server (no slaves or multimaster stuff) with about 50 users. I made a backup of the server7 directory (/var/opt/netscape/server7) before I changed anything and started hacking away. now, a couple of months later everything is working very well and i'm asked to migrate the server. I just made a new backup of the server7 directory and to my amazement it is 10x as big. It started out at 139m, and it is now 1.2g!
So the question is: What is taking up so much space when there are only 50 posixAccounts and 2 posixGroups?
For the record, I know this is not the way to backup a rhds server, I'm reading about how to do a backup or dump "the right way" as we speak ;-)
Grtz,
Rubin.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Indeed, its logs:
[root@foo ~]# du -sk /var/opt/netscape/server7/slapd-foo/logs 996296 /var/opt/netscape/server7/slapd-foo/logs
It keeps about 10 days of logs, each about 100m in size. Thanks for the pointer (I should've looked a little closer ;-).
Greets,
Rubin
Rubin, You may want to check for old error and access logs, as these tend to grow pretty quickly. You can also run du -h to get an idea of what dirs are taking up the space.
Aaron
Rubin wrote:
Hi All,
A question of curiosity: i've set up a small ldap server (no slaves or multimaster stuff) with about 50 users. I made a backup of the server7 directory (/var/opt/netscape/server7) before I changed anything and started hacking away. now, a couple of months later everything is working very well and i'm asked to migrate the server. I just made a new backup of the server7 directory and to my amazement it is 10x as big. It started out at 139m, and it is now 1.2g!
So the question is: What is taking up so much space when there are only 50 posixAccounts and 2 posixGroups?
For the record, I know this is not the way to backup a rhds server, I'm reading about how to do a backup or dump "the right way" as we speak ;-)
Grtz,
Rubin.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
-- Aaron Bliss Systems Administrator Suny Brockport 585-395-2417
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
389-users@lists.fedoraproject.org