TurnKey Linux Virtual Appliance Library

Any usable TKLBALM profile for LAPP?

 

Hi,

this is Emilio. First of all, thanks for the efforts on such a wonderful project!

 I realized too late that Postgresql based appliances are not supported by TKLBAM and then no profile is downloaded from the hub for the first backup.

My question is: is there any way to download a profile which DOES NOT include Postgresql databases? This way it would be possible to backup the appliance and using pre and post commands I would backup Postgres.  Or even freeze Postgres and do a LVM snapshot.

 But if I am correct, the backup profile is needed. Any way to get some one usable?

Thanks,

Emilio

Jeremy's picture

I'm not sure how it's done

But obviously the appliance identifies itself to the Hub so the Hub knows which profile to apply. I'm sure there would be a way to work around it but you'll probably need the info from the core devs.

In the meantime there are a couple of other options I can think of:

The best one I think is to have a play around and try to trick the Hub and make it think that the appliance is something else. Try comparing the Core appliance with the LAPP appliance.

Or you could create your own PostgreSQL appliance based on ano ther appliance (which does have a profile - Core or perhaps LAMP) and add PostgreSQL.

Obviously, either way you will still need to manually dump your PostgreSQL database so it will back up. I haven't played with it but TKLBAM has facility to run scripts before a backup runs (and after a restore completes).

Probably a good starting point would be reading the TKLBAM docs.

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)