Server backups sfrftime fails if there's an "@"

Webmin: 1.973, Virtualmin 6.16, Centos 7.9.2009

Virtualmin >> Backup Servers.

If I use, for example, this:

%Y-%m-%d@%-I.%M%P

in the destination path, I get this

%Y-%m-%d@9.08am

in the result.

The bug (and I already created a bug report which has vanished) is in
backups-lib.pl (3788) where it’s actually looking for an “@” symbol and splitting the string, even though server backups do not use the user@ format for SSH backups.

Perhaps this function was originally written for another backup format and then re-used? (I haven’t investigated) At any rate, it needs to be re-written for virtual server backups.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.