Hello, 

The amazing TurnKey Linux Backup and Migration tool is installable on Debian & Ubuntu according to the TKLBAM documentation.

Strictly following the instructions, I installed TKLBAM with success on Debian 8 but NOT on Ubuntu 16.04... 

There might be a problem with the TKLBAM repository / the last Ubuntu Xenial release...

Thanks in advance for your help.

root@clouder-odoo:~# wget -O - -q \
raw.github . com / turnkeylinux / tklbam / master / contrib / ez-apt-install.sh \
| PACKAGE=tklbam / bin / bash
[...]
Reading package lists... Done
W: The repository 'archive . turnkeylinux . org / debian stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch archive.turnkeylinux . org / debian / dists / stretch / main / binary-amd64 / Packages  404  Not Found
E: Failed to fetch archive.turnkeylinux . org / debian / dists / stretch / main / binary-i386 / Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
+ tty
+ apt-get install tklbam
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tklbam
root@clouder-odoo:~# apt-get update
[...]
Reading package lists... Done
W: The repository 'archive . turnkeylinux . org / debian stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch archive . turnkeylinux . org / debian / dists / stretch / main / binary-amd64 / Packages  404  Not Found
E: Failed to fetch archive . turnkeylinux . org / debian / dists / stretch / main / binary-i386 / Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@clouder-odoo:~#
Forum: 

Any tips to install TKLBAM on Debian stretch and Ubuntu xenial?

teos@clouder-odoo:~$ cat /etc/debian_version
stretch/sid

Thanks.

Jeremy Davis's picture

Sorry on delayed response. We currently only "officially" provide TKLBAM for Debain stable and our support for Ubuntu is pretty dated (Lucid).

Having said that if you add the Jessie TurnKey repo then I imagine that it should work. Although we should update it at least for Debian testing. It'd also be nice to update it for Ubuntu too.

Please give it a try and let us know how it goes...

Hi, Here are the results:

# nano /etc/apt/sources.list.d/archive.turnkeylinux.org.list

deb http://archive.turnkeylinux.org/debian jessie main

# apt-get install tklbam

OK

# tklbam-init --force-profile=empty

OK

# tklbam-backup

Traceback (most recent call last):
  File "/usr/bin/tklbam-backup", line 510, in <module>
    main()
  File "/usr/bin/tklbam-backup", line 374, in main
    get_server_id())
  File "/usr/lib/tklbam/hub.py", line 270, in new_backup_record
    response = self._api('POST', 'record/create/', attrs)
  File "/usr/lib/tklbam/hub.py", line 226, 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: Backup plan record limit reached

Will test with a new Hub account...

Jeremy Davis's picture

As you may be aware, the free plan only supports backups for one machine. It appears that you already have one machine linked to your Hub account which is why you are getting the "Backup plan record limit reached".

If you upgrade to the "standard" plan ($10/mth) then you can backup unlimited machines. If you think this is a mistake and/or you no longer want to use the old machine for backups, then please log into the Hub and ping me via Support.

Add new comment