Submitted by arjones85 on Sun, 05/29/2011 - 09:58
.. 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
Submitted by arjones85 on Sun, 05/29/2011 - 10:36 Comment #1
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);
Submitted by JamieCameron on Sun, 05/29/2011 - 21:12 Comment #2
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
Submitted by Issues on Mon, 06/13/2011 - 07:50 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.