Forum archive
Using tklbam in offline mode
Hi,
I use Redmine appliance and I want to use it in special offline mode (super secure private network with no-access to internet). I have problem with tklbam-backup. I tried tklbam-backup --dump=/tmp/myback , but this crashed because of this network error:
root@redmine ~# tklbam-backup --dump=/tmp/myback
Traceback (most recent call last):
File "/usr/bin/tklbam-backup", line 452, in <module>
main()
File "/usr/bin/tklbam-backup", line 280, in main
registry.update_profile(hb, conf.force_profile)
File "/usr/lib/tklbam/registry.py", line 193, in update_profile
new_profile = hub_backups.get_new_profile(profile_id, profile_timestamp)
File "/usr/lib/tklbam/hub.py", line 200, in get_new_profile
response = self._api('GET', 'archive/timestamp/', attrs)
File "/usr/lib/tklbam/hub.py", line 177, in _api
return self.api.request(method, self.API_URL + uri, attrs, headers)
File "/usr/lib/tklbam/hub.py", line 126, in request
raise APIError(e.code, e.name, e.description)
hub.APIError: error(6, "Couldn't resolve host 'hub.turnkeylinux.org'")
Is there a way to use tklbam without internet access?
Thanx for answer - Petr alias Kefas
Sorry I probably should have just had a look before i asked... Turns out they are indeed on GitHub... Suprisingly (sarcasm) they are in a repo called 'tklbam-profiles'.
It probably took me longer to type the question than it did to find it...!