TurnKey Linux Virtual Appliance Library

Backup failing even after initialized

raul.benitez's picture

I ran tklbam-backup to backup my server and it failed with the following

# tklbam-backup

Traceback (most recent call last):
  File "/usr/bin/tklbam-backup", line 266, in <module>
  File "/usr/bin/tklbam-backup", line 195, in main
    conf.profile = get_profile(hb)
  File "/usr/bin/tklbam-backup", line 122, in get_profile
    new_profile = hb.get_new_profile(turnkey_version, profile_timestamp)
  File "/usr/lib/tklbam/hub.py", line 205, in get_new_profile
    response = self._api('GET', 'archive/timestamp/', attrs)
  File "/usr/lib/tklbam/hub.py", line 183, in _api
    return API.request(method, self.API_URL + uri, attrs, headers)
  File "/usr/lib/tklbam/hub.py", line 127, in request
    raise Error(c.response_code, name, description)
hub.Error: (404, 'BackupArchive.NotFound', 'Backup profile archive not found: turnkey-lapp-11.3-lucid-x86')
So I thought it was not initialzed so I went ahead and did that but it says its already initialized.
# tklbam-init APIKEY...
error: already initialized
Did I miss a step?
RAUL BENITEZ's picture

Is it possible if failed

Is it possible it failed because my instance has a postgres server running on it?

I havent made any databases with it so i shut down the server and ran the backup script again but it failed with the same error. 

Jeremy Davis's picture

TKL LAPP not supported

'Backup profile archive not found: turnkey-lapp-11.3-lucid-x86' because it's not supported. See my post on your other thread.

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)