We have the SKS in a old computer that we dont use to backup, so I figure
it should be safe to do it once in a while. As its local and for few hundred
 users, its easier than ask everyone to resend their pks.

Thanks for the help.


2013/5/28 John Clizbe <jpcli...@gingerbear.net>

> Rafael wrote:
> > We have here a local SKS only for local users, how can I backup and
> restore
> > all public keys from my server??
>
> When I first read the subject I thought, "Why, unless it's for local use
> only?"
>
> Backup --> sks dump
>
> Restore/Creation --> sks build, followed by sks clean and sks pbuild.
>
> 'man sks' and 'sks help' should be enough guidance for 'sks dump'
>
> If it is not too large of a database, you might find it easier to just tar
> up
> the two DB directories after a bit of cleanup:
>
>     cd /var/sks
>     for DB in KDB PTree
>       do
>         db_recover    -h  $DB
>         db_checkpoint -1h $DB
>         db_archive    -dh $DB
>     done
>     tar cf sks-dbs.tar KDB PTree
>
> My inner-sysadmin would do both for backup and prefer the tar ball for
> restore.
>
> One other question as a SKS developer, other than for disaster recovery,
> why
> do you think you need to backup/restore? It's not needed for upgrades of
> SKS
> or Berkeley DB, so... why do it?
>
> [Note: Please read the UPGRADING file in the source[0] (it should also be
> in
> any distro pkg) BEFORE upgrading SKS and/or BDB. At the very least, you'll
> save yourself some unneeded work.]
>
> -John
>
> [0]
> https://bitbucket.org/skskeyserver/sks-keyserver/src/3785eed0cdbf/UPGRADING
> --
> John P. Clizbe                      Inet: John (a) Gingerbear DAWT net
> SKS/Enigmail/PGP-EKP                  or: John ( @ ) Enigmail DAWT net
> FSF Assoc #995 / FSFE Fellow #1797  hkp://keyserver.gingerbear.net  or
>      mailto:pgp-public-k...@gingerbear.net?subject=HELP
>
> Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
> A:"An odd melody / island voices on the winds / surplus of vowels"
>
>
>
_______________________________________________
Sks-devel mailing list
Sks-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/sks-devel

Reply via email to