Right after upgrade, backups are now broken

.. upload failed! Password:
scp: /home/username/backup/full/2011-05-29: Not a directory

-rw-r--r-- 1 username username - 6643787497 May 29 08:18 2011-05-29

File on server: ~/backup/incremental/%Y-%m-%d

Do strftime substitutions: Yes
Create destination directory: Yes
Backup format: One file per server

Before the upgrade, the directory was created just fine and backups uploaded to it without an issue. It appears to now just be writing all data to a single file.

Status: 
Closed (fixed)

Comments

Also, I found the bug report from 3 days ago about this. I went to go make the change however the path for backups-lib.pl was different on my system, and line 298 in the file on my system (/usr/libexec/webmin/virtual-server/backups-lib.pl) is:

local $r = ($user ? "$user\@" : "").

That doensn't seem to be the one you would want me to change. Is it this one?

local $mkcmd = $sshcmd." mkdir -p ".quotemeta($pathdir);

Yes, the fix is to change the line :

local $mkcmd = $sshcmd." mkdir -p ".quotemeta($pathdir);

to :

local $mkcmd = $sshcmd." mkdir -p ".quotemeta($path);

And then run /etc/webmin/restart

Automatically closed -- issue fixed for 2 weeks with no activity.