Matthew Roberts's picture


I setup a TKL-Core box and cloned it and changed the networking settings etc on each of them.

The backup ID is staying the same though, how would i change the Backup ID on one of the boxes?


Thank you!

Jeremy Davis's picture

rm -f /var/lib/hubclient/server.conf

(From this post here). I think deleteing that file should do the trick!? (Hopefully it should force the Hub to create a new ServerID).

Matthew Roberts's picture


Thanks for the suggestion. I ran that and rebooted it and it was still using the same BackupID


Any other suggestions?

Matthew Roberts's picture

It shows i don't have an actual /var/lib/hubclient/ directory.

Jeremy Davis's picture

I'm not sure why you don't have /var/lib/hubclient perhaps the devs have changed it??

Anyway, another way you could go is to remove the API key and re-add it to your Hub account.

To remove the API key:

rm -rf /var/lib/tklbam

Matthew Roberts's picture

Perfect! Thanks again! 

Anton Hinxman's picture


# = command prompt of root

“So... I explain”

# <command>



“Verify/check Linux source you are backing up...”

# uname -a

Linux SomeDomain 2.6.18-pony6-3 #1 SMP Tue Mar 13 07:31:44 PDT 2012 i686 GNU/Linux

“In OLD server:”

# cd /var

# mkdir localbackup

# cd localbackup

# pwd


# tar cvpzf /var/localbackups/turnkeybackup.tgz --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/sys --exclude=/var/localbackups /




“As a base standard VPS start, install the Ubuntu VPS image: Ubuntu 11.04 x86”

“In new/target server:”

# cd /var

# mkdir localbackup

# cd localbackup

# pwd



“Fetch the file via sftp or (not secure, but quick http)...”


# wget


“When done, immediately remove any publicly exposed turnkeybackup.tgz file. “

"Would like to be without that exposure to risk!"

# tar xvpfz ./turnkeybackup.tgz -C /


# mkdir proc

# mkdir lost+found

# mkdir mnt

# mkdir sys


“Remove the turnkey API file”

# rm -rf /var/lib/tklbam



Backup and transfer server-server across the pond, with 540mb tgz file, is about 90 seconds and full server recovery after reboot is about 120 seconds on a standard VPS.

I’m looking out for conflicts in the TurnKey/Amazon server registration and any possible conflicts in DNS/ethernet VPS configurations.

So far all is looking good for a minimal TurnKey being ported to a VPS with no TurnKey install offerings :-(

May have some hidden issues so I await to see...


Thanks for the system, info and help,


Anton Hinxman

Jeremy Davis's picture

Sounds like all is going well for you. :)

Although perhaps next time it would be better to start a new thread.

Add new comment