I created a clone of the current container, installed tklbam there and tried a restore. this is what happened:
root@container2:~# tklbam restore 25
Executing Duplicity to download s3://s3-eu-west-1.amazonaws.com/tklbam-adsafdsaas to /tmp/tklbam-b4PY04
==============================================================================================================
// started squid: caching downloaded backup archives to /var/cache/tklbam/restore
Traceback (most recent call last):
File "/usr/bin/tklbam", line 46, in <module>
CliWrapper.main()
File "/usr/lib/tklbam/cliwrapper.py", line 88, in main
commands[command].main()
File "/usr/lib/tklbam/cmd_restore.py", line 491, in main
backup_extract_path = get_backup_extract()
File "/usr/lib/tklbam/cmd_restore.py", line 463, in get_backup_extract
downloader(raw_download_path, target, log=_print if not silent else None, debug=opt_debug, force=opt_force)
File "/usr/lib/tklbam/duplicity.py", line 166, in __call__
squid.start()
File "/usr/lib/tklbam/squid.py", line 59, in start
raise Error("%s failed to start\n" % SQUID_BIN + self.command.output)
squid.Error: /usr/lib/tklbam/deps/usr/sbin/tklbam-squid failed to start
FATAL: storeUfsDirParse: invalid size value
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
CPU Usage: 0.003 seconds = 0.002 user + 0.001 sys
Maximum Resident Size: 5536 KB
Page faults with physical i/o: 0
Aborted
Traceback (most recent call last):
File "/usr/lib/tklbam/deps/usr/sbin/tklbam-squid", line 192, in <module>
main()
File "/usr/lib/tklbam/deps/usr/sbin/tklbam-squid", line 188, in main
system("%s -f %s -z" % (squid_bin, conf_tmp.path))
File "/usr/lib/python2.7/dist-packages/executil.py", line 56, in system
raise ExecError(command, exitcode)
executil.ExecError: non-zero exitcode (134) for command: /usr/lib/tklbam/deps/usr/sbin/squid -f /tmp/tklbam-squid-conf-gWw287 -z
Houston, there is a problem
I created a clone of the current container, installed tklbam there and tried a restore. this is what happened: