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?
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).
Thanks for the suggestion. I ran that and rebooted it and it was still using the same BackupID
Any other suggestions?
It shows i don't have an actual /var/lib/hubclient/ directory.
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
Perfect! Thanks again!
# = command prompt of root
“So... I explain”
FAST VPS BACKUP OR TRANSFER BETWEEN SERVERS:
“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
# tar cvpzf /var/localbackups/turnkeybackup.tgz --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/sys --exclude=/var/localbackups /
RESTORE IN NEW SERVER/TARGET SERVER:
“As a base standard VPS start, install the Ubuntu VPS image: Ubuntu 11.04 x86”
“In new/target server:”
“Fetch the file via sftp or (not secure, but quick http)...”
# wget http://188.8.131.52/turnkeybackup.tgz
“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
“Reapply API key: ABCDYOURKEYDCBA"
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,
Sounds like all is going well for you. :)
Although perhaps next time it would be better to start a new thread.
More information about formatting options