Forum archive
Install TKLBAM on rescue system
Hi,
I have installed TKLBAM on a docker host which is itself not a TKL appliance. Now I have a problem with this machine and can access it only via a rescue system which can mount the drives but doesn't let me run the TKLBAM binaries directly. In order to restore data, I need to install it on the rescue system, which is a Debian 9 (Stretch) OS.
I used the instructions here: /faq/which-turnkey-appliances-are-supported
but this resulted in error messages:
root@rescue / # wget -O - -q \ > https://raw.github.com/turnkeylinux/tklbam/master/contrib/ez-apt-install.sh \ > | PACKAGE=tklbam /bin/bash + apt-key adv --keyserver pgpkeys.mit.edu --recv-keys A16EB94D Executing: /tmp/apt-key-gpghome.E3h1eF1kmP/gpg.1.sh --keyserver pgpkeys.mit.edu --recv-keys A16EB94D gpg: keyserver receive failed: No data Added http://archive.turnkeylinux.org/debian package source to /etc/apt/sources.list.d/archive.turnkeylinux.org.list + apt-get update E: Malformed entry 1 in list file /etc/apt/sources.list.d/archive.turnkeylinux.org.list (Component) E: The list of sources could not be read. + tty + apt-get install tklbam E: Malformed entry 1 in list file /etc/apt/sources.list.d/archive.turnkeylinux.org.list (Component)
After correcting the sources.list entry to
deb http://archive.turnkeylinux.org/debian stretch main
I got this:
dpkg: error processing archive /tmp/apt-dpkg-install-sazaNO/08-tklbam-duplicity_0.6.18-2turnkey+28+g6495c80_amd64.deb (--unpack): trying to overwrite '/usr/bin/duplicity', which is also in package duplicity 0.7.11-1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Selecting previously unselected package tklbam-python-boto. Preparing to unpack .../09-tklbam-python-boto_2.3.0-2turnkey+13+g29b88e1_all.deb ... Unpacking tklbam-python-boto (2.3.0-2turnkey+13+g29b88e1) ... Selecting previously unselected package tklbam. Preparing to unpack .../10-tklbam_1.4.1+37+g8117cd6_all.deb ... Unpacking tklbam (1.4.1+37+g8117cd6) ... Errors were encountered while processing: /tmp/apt-dpkg-install-sazaNO/08-tklbam-duplicity_0.6.18-2turnkey+28+g6495c80_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
and this
W: GPG error: http://archive.turnkeylinux.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 85C25E95A16EB94D W: The repository 'http://archive.turnkeylinux.org/debian stretch Release' is not signed. 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. N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://archive.turnkeylinux.org/debian stretch InRelease' doesn't support architecture 'i386'
Is there a newer version of the install file that works with Debian 9 and doesn't raise these errors?
Thanks.
Got it to work with
I can now download the latest backup with
But since I am in the rescue system, the paths don't match. Is there a way I can restore a particular source path to a given target path, i.e. "/etc" to "mnt/etc"?