TurnKey Linux Virtual Appliance Library

TKLBAM (TurnKey Linux Backup and Migration)

New to TKLBAM? Take the tour first for a quick overview and screenshots.

Smart automated backup and restore

TKLBAM is GPL3 licensed free software built on top of Duplicity which provides an efficient system-level backup of changed files, users, databases and package management state. This system-level backup can be restored automatically on any installation of the same type of virtual appliance, regardless of the underlying hardware or location. The intended result is a functionally equivalent copy of the original system.

It is also designed to assist in migration of data and system configurations between different versions of the same type of virtual appliance though for some applications, additional manual steps, such as a database schema update, may be required to complete migration between versions.

Comments

a few questions on TKLBAM

I've just stumbled upon TKLBAM and been reading the docs you link to in this post but I'm left wondering what exactly is the difference between it and duplicity?

I've been using duply: http://duply.net/ to backup my servers for a few years now but recently started using proxmoxve and when researching virtualization and backup I found TKLBAM.

Is there a benefit to using TKLBAM over duply? Is there a webinterface for it? Any other thoughts?

I'm basically looking for a way to:

a) backup data from my KVMs and their configuration to S3

b) backup the entire KVMs (most probably locally)

(using proxmox to manage my virtual machines)

Jeremy's picture

TKLBAM uses Duplicity as a backend

So all the stuff it does prior to using Duplicity is above and beyond!

TKLBAM works best with TurnKey Linux servers as it is preconfigured to back up the relevant areas of the filesystem (depending on which appliance you are using). I haven't used it much on other platforms as basically I don't use other platforms much any more but it now supports Debian and Ubuntu pretty easy (from what I have read) although you'll need to configure it all so it backs up the bits you want backed up...

Also by default TKLBAM uses AWS S3 as it's default backup location, so if you have it linked to a Hub account it gives you a nice UI to see what backups exist, when they ran, whether they were full or incremental, etc.

As for front-end, it has a Webmin module available but otherwise is commandline. As I mentioned, the Hub sort of also provides some 'front end' type functionality although that only applies when you use S3 as the backup target.

more info needed

Thanks for the feedback, I foudn that type of information googleing but then later I read the news that

"TKLBAM 1.4 - codenamed "give me liberty or give me death!

Frees TKLBAM from its shackles so it can now backup files, databases and package management state without requiring TurnKey Linux, a TurnKey Hub account or even a network connection."

Found here: http://www.turnkeylinux.org/blog/turnkey-13-and-tklbam-1.4 

Which led to my question as I am looking for a backup system without being a TKL user or having any other afiliation with you guys. If there isn't any more info, I guess I'll have to give it a try...

I was pretty happy until now with duply, also command line and also backing up to S3... I was simply curious about TKLBAM and its features to figure out if it is better or easier or has an interface that's better than duply but the info was kinda sparse.

Jeremy's picture

Ah ok...

I just had a look at Duply. Sorry I was confused and just assumed that you meant Duplicity...! After having a look I think that you are right... It appears that TKLBAM and Duply are quite similar. I hadn't ever heard of it before so I can't offer any sort of comparison.

Having only ever used TKLBAM on TKL servers I don't think anything could compare in that context! But I don't know how hard it is to set up a fresh profile. I have always intended to get TKLBAM to back up my Debian desktop but never got around to it so far...

Perhaps have a look in the forums. I recall that there was at least one guy on there using it to backup a heaps of Debian/Ubuntu machines...

Sure, I'll test it and will

Sure, I'll test it and will report back if I make any progress...

Changing TKLBAM Api Key

How do I go about changing the api key to use a different TKL Hub account?

Jeremy's picture

You should be able to remove the current association with

rm -rf /var/lib/tklbam

Then just tklbam-init to link your new key.