Tiny Core Base > TCB Q&A Forum

Use encrypted backup

<< < (3/5) > >>

Xianwen Chen:
Thanks Robert,

But filetool.sh -b sdc1 only generated a mydata.tgz, not mydata.tgz.bfe.

roberts:
Not able to reproduce. I use encrypted backup on some of my machines. Check /etc/sysconfig/bfe and showbootcodes before filetool.sh command. filetool.sh has a test for the existence of /etc/sysconfig/bfe in order to perform the encryption.

Xianwen Chen:
Thanks Robert,

/etc/sysconfig/bfe is missing when protect is specified. Can it be because UUID was specified other than sdxy, start-up script cannot generate /etc/sysconfig/bfe?

roberts:
I think the answer you seek is the comments at the beginning of the filetool.sh

--- Code: ---# Added ideas from WDef for invalid device check and removal of bfe password upon failure

--- End code ---
The failure to restore caused the removal. Not the use of UUID.

This could be improved. I wil look to do so.

roberts:
Good. UUID or LABEL should be no problem when used with "protect".

After looking at the code and the mod to remove bfe upon failure, I have determined that the failure should not happen when no initial mydata.tgz.bfe exists. The removal was suggested as a security feature. But then it overly complicates when first trying to use "protect". I am adjusting filetool.sh so that initial use will be easier to use.

Thanks for feedback.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version