Forum archive
TKLBAM restore works to Cloud (Linode and Hub) installs, but not to OVA Virtual Box Install
So I just tested with the same Odoo image as well as the same Backup set.
I can restore to a ISO created Linode server.
I just installed Virtual Box however (and also did an update to current)
When I install the current OVA install, everything installs but when I go to run a restore I get:
Any thoughts as to why? Is it something to do with Virtualbox being behind NAT or something similar? I suppose I could install from ISO but was hoping to save some time with the OVA install.
thank you.
Linked TKLBAM to your Hub account.
Downloaded turnkey-odoo-16.1-buster-amd64 profile
root@odoo ~# tklbam restore 162
Executing Duplicity to download s3://s3.amazonaws.com/tklbam-us-east-1-deletednumber
y to /tmp/tklbam-7syZVk
===========================================================================================================
========================
// started squid: caching downloaded backup archives to /var/cache/tklbam/restore
# duplicity --archive-dir=/var/cache/duplicity --s3-unencrypted-connection s3://s3.amazonaws.com/tklbam-us-
east-1-deletednumber/deletedhas/tmp/tklbam-something
Last full backup date: none
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1405, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1398, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1332, in main
restore(col_stats)
File "/usr/bin/duplicity", line 637, in restore
restore_get_patched_rop_iter(col_stats)):
File "/usr/bin/duplicity", line 659, in restore_get_patched_rop_iter
backup_chain = col_stats.get_backup_chain_at_time(time)
File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 947, in get_backup_chain_at_time
raise CollectionsError("No backup chains found")
CollectionsError: No backup chains found
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 502, in main
backup_extract_path = get_backup_extract()
File "/usr/lib/tklbam/cmd_restore.py", line 474, in get_backup_extract
ignore_err=opt_ignore_err)
File "/usr/lib/tklbam/duplicity.py", line 182, in __call__
command.run(target.secret, target.credentials, debug=debug)
File "/usr/lib/tklbam/duplicity.py", line 114, in run
raise Error("non-zero exitcode (%d) from backup command: %s" % (exitcode, str(self)))
duplicity.Error: non-zero exitcode (30) from backup command: duplicity --archive-dir=/var/cache/duplicity -
-s3-unencrypted-connection s3://s3.amazonaws.com/tklbam-us-east-deletedID/deletedhas/tm
p/tklbam-something

expecting you will ask.
I have to install the Init via either Webshell or Webmin as I can't paste the keycode in to Virtualbox for some reason...
Anyway, I did this to 2 different VM installs. Same result.