Re: [Dar-support] version 2.5.14 backup script failure in opensuse leap 15.3
For full, incremental, compressed and encrypted backups or archives
Brought to you by:
edrusb
|
From: Aardric <aa...@aa...> - 2021-12-15 16:12:04
|
On 2021-12-15 2:08 a.m., Graham Cobb wrote: > On 15/12/2021 04:21, Aardric via Dar-support wrote: >> Hail, >> A tried and true (over a decade) incremental back up bash script >> failed after an o/s upgrade (opensuse leap 15.3). It is an old distro >> package; dar version 2.5.14. >> The offending lines: >> -va \ >> -K aes256: >> -* 50000 \ >> -J aes256: >> >> produced error: >> Data corruption may have occurred, cannot decrypt data >> ./dar_I211214d: line 43: -*: command not found > > If the script was not previously producing the last error shown above > then ***someone*** has recently changed it. > > What you show does not appear to be an extract from a valid bash > script!! Hint: the backslash is missing from the end of the line > starting -K. Also, unless you have set noglob, you almost certainly want > to put -* in quotes. I suggest you get someone who knows bash to take a > look. I am guessing the missing continuation, causing the -* and -J > options to be ignored, is also causing the first error messsage. > >> The archive has tested OK with dar -t. >> Something obvious? > > Yes, see above. > I should clarify a couple of points. the missing backslashes cause the script to prompt me to enter a password. These scripts are usually run with the password embedded as " :some_password \" and the results are the same. I don't buy the changed script argument because I have many frozen copies to compare with. However, noglob suggestion is good. It's possible that this distro upgrade changed the shell configuration from previous. I will follow this lead. Thanks. |