TurnKey Linux Virtual Appliance Library

TKLBAM S3 question

Hi Guys ,

congratulations for your excellent work, I have a question about backing up to S3, I already have an account S3 and would like to use that as a test without creating a new S3 storage , is it possible?

Thanks
Reggiani Mattia

Alon Swartz's picture

TKLBAM FAQ on S3 storage

Not really. TKLBAM uses isolated S3 storage from your regular S3 account. For more information see the TKLBAM FAQ on S3 storage. That being said, it is possible, but you will have to jump through quite a few hoops to get it to work, and the end result will still require either manual actions to be performed for each backup/restore, unless you script it.

I honestly don't think it's worth the trouble...

Liraz Siri's picture

I'm curious regarding the motivation...

It can't be a matter of convenience. Isolated S3 storage for TKLBAM is set up automatically when you sign up. You don't have to do anything. What advantage would you get from getting TKLBAM to use generic S3 buckets?
Jeremy's picture

S3 isn't free but it might as well be...

Unless of course you have copious amounts of data. Cost is pretty low, generally around $0.14/GB (per month if you are using it as backup, if you just want to use it to migrate you could make it a one off by deleting the data from S3). Check it all out on the pricing page in the TKLBAM docs. TKLBAM does support backup to alternate locations (rather than S3 - but you still need an Amazon account) but you'll need to configure that via CLI (see the docs - link above).

TKLBAM is the only "suppported/offical" way to upgrade but the beauty of open source is your freedom to do whatever you like. :) As TKL v2009.x is based on Ubuntu 8.04 & v11.x on Ubuntu 10.04 you could certainly find a tutorial online that will help you through that.

But it won't be fully TKL anymore, it would be more a hybrid with standard Ubuntu 10.04. For some appliances that may be good enough, but for many you will still need to manually upgrade further components to get closer back to the equivalent v11 TKL appliance. Even then I'm sure there would be numerous refinements that TKL devs have put over a standard 10.04 that you couldn't get without a clean install of v11. Bottom line there are other ways, but unless you want to learn more about it all by resolving the issues you'll most likely encounter, why not do it the easy TKLBAM way?

How to upgrade without costing too much

How to upgrade my tkl appliance without costing too much, because I have a 500gb hard drive, and I was wondering if there anyway I can upgrade without costing too much to the new core version?

Liraz Siri's picture

The real question is how much data you have

The size of your hard drive doesn't matter so much as the amount of data you have. TKLBAM only backs up changes from the original installation. I suggest you do a simulation run (e.g., --simulate) which will tell you how much data you have to backup. You can try adding a negative override to remove especially heavy directories (e.g., /home/user/movies) from the backup and move those files using a more conventional method (e.g., cp, mv or rsync).

Another option would be to add a harddisk to the local machine and then use TKLBAM in manual mode (see the TKLBAM Usage FAQ > how do I backup to local storage) to store your backup to the external harddisk.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)