[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Moving SKS to a different host

From: Christoph Egger
Subject: Re: [Sks-devel] Moving SKS to a different host
Date: Sun, 03 Aug 2014 15:55:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Pete Stephenson <address@hidden> writes:
> On 8/3/2014 3:03 PM, Tyler Schwend wrote:
>> Building the sks database from a dump takes a very long time, a lot
>> of disk space, and a lot of CPU. Is there a way to just move the
>> whole BDB from one host to another? I am switching hosts.
> I'm not sure if it's recommended, but I've done that successfully (where
> "successfully" is defined as "it doesn't seem to have broken anything yet").
> On two Ubuntu 14.04 systems, both with SKS 1.1.4, it was pretty easy:
> 1. Stop the SKS service on the old system: "sudo service sks stop"
> 2. Install SKS on the new host, if I haven't done so already: "sudo
> apt-get install sks". Using the package automatically creates the
> "debian-sks" user. If you're compiling from source your mileage may vary.
> 3. Copy /var/lib/sks/* from the old to the new host (I did this using
> rsync, but you can use whatever you wish).
> 4. Ensure that the directory and its contents on the new host have
> proper permissions: for example, "sudo chown -R debian-sks:debian-sks
> /var/lib/sks/"
> 5. On the new host edit /etc/default/sks, set initstart=yes. Ensure that
> /etc/sks/membership and /etc/sks/sksconf are setup appropriately.
> 6. Start SKS on the new host: "sudo service sks start"

Just be carefull when your Architecture changes. As long as it's 64bit
x86 -> 64bit x86 this should work, if you do 32bit -> 64bit or the other
way 'round not so much ;-)


9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer

Attachment: pgp3SAiQNL7E5.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]