[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] Keyserver dump and restore procedure
From: |
Kristian Fiskerstrand |
Subject: |
Re: [Sks-devel] Keyserver dump and restore procedure |
Date: |
Sun, 29 Jan 2012 13:18:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110923 Thunderbird/7.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Phil Benchoff wrote, On 01/28/2012 03:44 PM:
> Our keyserver has been operational for about 4 months now. I
> noticed that disk usage had almost doubled. It was about 6G when
> we started and close to 12G after 4 months. I decided to create a
> new dump and rebuild the database. That brought it back down to
> about 6G. Here's a brief outline of the procedure:
>
...
>
> I couldn't really find this all in one place, so I thought I'd post
> it here to get in the archive. Does the procedure seem
> reasonable?
Alternatively, after shutting down SKS:
cd /etc/sks/KDB
/usr/bin/db4.1_recover
/usr/bin/db4.1_archive | xargs rm
cd /etc/sks/PTree
/usr/bin/db4.1_recover
/usr/bin/db4.1_archive | xargs rm
/usr/local/bin/sks cleandb
- --
- ----------------------------
Kristian Fiskerstrand
address@hidden
http://www.sumptuouscapital.com
- ----------------------------
Uxor formosa et vinum sunt dulcia venena
Beautiful women and wine are sweet venom
- ----------------------------
This email was digitally signed using the OpenPGP
standard. If you want to read more about this, visit:
http://www.secure-my-email.com
- ----------------------------
Public PGP key 0xE3EDFAE3 at http://www.sumptuouscapital.com/pgp/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iQIcBAEBCAAGBQJPJTkgAAoJEBbgz41rC5UIOB0P/09Ak4SZtlbsNDc//0S8wXOp
OgtXNiwdHGLTWnFpG3L8n4Y4jk//wthXj58r07IAcEeaejkscYU5B6WjJkYtCayv
WPTL3YSlPisYM4mVXZgUDPR4fuaLLJ/cfgnRtoFvjBHocwuUbkGHHpUnkYjWxCoq
Ox00/kKFaMuRbDy0GtcOUvpoB+xuXMqHsaJXr+sUNCVA0VoGCClD5BgdPnh00dIP
90Bh7uq80v2c8yN7r1xDButybXQaE1stXX9+x3MeLgXAFefGttvNgOg9BNxDaceP
GPrtanZBsIvXDv8B0rU3jX0AOAutqGLb3pcDoOE5CoHu1Eg7mFfO38RYq7E+/v+A
5yW9qUvGdE9ea/KwdRxCe/vEDJyNTWuw3/BFnUng1xsrZ80boWSiKULwOwrQLdyu
klaYuYelTj2UtxpUDEiagGr6v4na9PPPC60mFFp6WBw7wLgYVFLRzcchqklPtUEy
Jnf1VrPu2ml6fgWycGlMoz/beA9ocK1Iw1h7AtQ/yeO40FP10jolTNEB3+9RhCmd
KfUIljMEBSTzCJC/1R+2YZD+lKk4vDBuzn+hTeLIDLGDOOuVtvg1LDHGqnfwtRhl
eLPE0oHOT2i0jecC8NrIi5Yy4Hi0UKXghdDcxJWcF6046MlCnKifZQok/+zanM8/
YUVAe6bFtGqsGyF+nTPW
=myV0
-----END PGP SIGNATURE-----