TurnKey Linux Virtual Appliance Library

Why isn't /var/log included in TKLBAM profiles?

jeremiah.snapp's picture

I know I could just add /var/log to the TKLBAM config but I'm just wondering what the rationale is for not including it by default.  I guess my perspective is the log history is an important part of the server being backed up.

Thanks,
Jeremiah

Jeremy Davis's picture

Not sure on the core dev's rationale, but here's my thoughts...

I would assume that similar to the TKL appliances themselves, TKLBAM default config is meant as a starting point, rather than the ideal for all. I think of TKL products as a generic, suitable for use by anyone. They should be useful straight off the shelf with minimal config. For more advanced users they are more of just a starting point.

I understand your point, but I think that for the average newb TKL user including logs would be worthless and just take up space (and often a considerable amount of space). For a more advanced user, who has a use for the logs, then adding them into a backup is an easy step (as you suggest).

Another thought on the topic is that TKLBAM is meant for migration as well as backup and in that usage scenario most logs would have no real relevance or use.

Jeremiah's picture

Good points ...

Good points however if I was truly migrating (moving) a machine from one place to another then I'd always want to keep the logs. But if I was cloning (copying) a machine then I wouldn't want the logs. Well, it's easy to change the TKLBAM config either way so it's no big deal.  Just wondering.  Thanks.

Jeremy Davis's picture

I meant migrating versions

So in the sense that some of the logs from v2009.x (based on Ubuntu 8.04) would not be relevant or useful if migrated to v11.x (based on Ubuntu 10.04) but I get your point that they may be relevant when migrating (the same or similar version) from one location to another.

And as I said this is only my opinion. We'll have to wait for the core devs to comment on their rationale.

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)