TurnKey Linux Virtual Appliance Library

Another (hard to ask) tklbam-restore question

Don Sanderson's picture

This one is a bit tricky to ask so an example:

In the case of a tkl appliance acting as a file server how would one recover one users file without affecting others?

Say a user 'fred' deletes a file and a week later discovers that he did so in error and needs it back. (Which happens regularly.)

Say I restore from a backup prior to the date he deleted the file.

Won't restore use the base appliance as a 'template' and restore the entire system to the state it was in at that time, losing ALL changes after that date?

tklbam-backup/restore is an absolute wonder for migrating, or rebuilding a 'dead' machine, but is it practical as a true file backup/restore mechanism?

Liraz Siri's picture

TKLBAM is designed as a system-level backup

If you want just one file, it can be done, but it will be a bit awkward as TKLBAM is designed as a higher-level system backup tool, not a file level backup tool. I think the easiest way to do this with TKLBAM would to restore the desired system backup set (e.g., from a week ago) to an instance in the cloud, grab the files you want and shut down the instance.

It would work, but it isn't really a good solution if you need to do this sort of thing regularly.

OTOH, nothing is preventing you from supplementing TKLBAM with more conventional low-level backup tools (duplicity is nice), or better yet revision control. I like using Git, autocommitted daily in certain directories. That way you won't even have to reach over the network to recover those accidentally deleted files.

Don Sanderson's picture

Seeing that............

there is a 'File Server Appliance' I was trying to fit tklbam into the role of primary backup mechanism.

I see now that more conventional methods will still be required.

File by file, or folder by folder, restore is a very common occurance in a 'document intensive' office environment.

Thanks for the prompt answer.


There's a Bacula appliance comming

It may suit your needs. I think it will make it's way to the second batch of official appliances, but if not, search the forums for the tklpatch, and try it in your scenario.

Don Sanderson's picture

Thanks Adrian,

could this patch be applied to an exisiting TKL File Server Appliance or just to the core?


Jeremy's picture

It 'should' work

But only one way to find out for sure! Make sure everything is backed up (I suggest TKLBAM) and test it out.

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)