Submitted by maznos on Sun, 05/10/2015 - 08:25
Hello,
I have setup a remote ftp space for offsite backup, I noticed that the backup is done OK on both locations but locally there is no .info and .dom files which is generated after backup is finished.
when I browse the remote ftp I found them there.
I think this is a bug.
regards
Maz
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sun, 05/10/2015 - 17:45 Comment #1
Do you mean that .dom and .info files are only created when doing a remote FTP backup, but not when backing up locally?
Submitted by maznos on Sun, 05/10/2015 - 18:40 Comment #2
Hello Jamie,
No, what I mean is the every domain backed up should have 3 files (xxxx.tar.gz xxxx.info xxxx.dom), however, when I made the backup do an upload to a remote sftp space I own it upload the files but the local copy (on the server) is missing 2 files (xxxx.info xxxx.dom) and only the gzipped file (xxxx.tar.gz) in the local backup dir.
If the backup is done only on local drive, all the files are there.
I hope it is clear :)
regards
Maz
Submitted by JamieCameron on Sun, 05/10/2015 - 18:59 Comment #3
So you have a single backup setup in Virtualmin to write to two destinations?
Submitted by maznos on Sun, 05/10/2015 - 19:00 Comment #4
Yes
Submitted by JamieCameron on Sun, 05/10/2015 - 20:22 Comment #5
I wasn't able to re-produce this in tests unfortunately...
Are you backing up to a single file, or one file per domain?
Submitted by maznos on Sun, 05/10/2015 - 20:37 Comment #6
I am using the settings in the following screenshot
http://i.imgur.com/I7HJDbs.png
Submitted by JamieCameron on Sun, 05/10/2015 - 22:48 Comment #7
Does the local directory actually have a
$
in the path?Submitted by maznos on Mon, 05/11/2015 - 04:16 Comment #8
Yes it has $ in the path
and it is backing up normally, but after setting up a remote ssh destination it just backup to the remote all files and just keep gz in the local drive
Submitted by JamieCameron on Mon, 05/11/2015 - 23:02 Comment #9
Was this backup created by root, or by a domain owner? Because different permissions apply for file creation ..
Submitted by maznos on Tue, 05/12/2015 - 04:30 Comment #10
By root
Submitted by JamieCameron on Tue, 05/12/2015 - 23:26 Comment #11
Unfortunately I'm not able to re-produce this issue on a test system, or see how it could happen by looking at the Virtualmin code :-(
Submitted by maznos on Wed, 05/13/2015 - 04:51 Comment #12
I have tested it on 3 servers with the same issue.
maybe you didn't use ssh server as remote backup, I used ssh with key (no password).
I'll try it with a server I didn't use remote backup with password and without password (key auth) and let you know
Submitted by maznos on Wed, 05/13/2015 - 06:56 Comment #13
I confirm this issue on a new server I have using ssh server as a remote backup (with password and key).
it upload all backup files while keeping only compressed files on local drive
Note: I can give you access to the server to see it yourself
Submitted by JamieCameron on Wed, 05/13/2015 - 23:29 Comment #14
Yes, remote access would be really useful. You can email me at jcameron@virtualmin.com
Submitted by maznos on Thu, 05/14/2015 - 07:09 Comment #15
ok
i'll send u email soon :)
Submitted by maznos on Thu, 05/14/2015 - 08:24 Comment #16
email sent with all the details
Submitted by JamieCameron on Fri, 05/15/2015 - 00:04 Comment #17
Thanks - taking a look now.
Submitted by JamieCameron on Fri, 05/15/2015 - 00:25 Comment #18
Ok, I see the bug that causes this now - a fix will be included in the next Virtualmin release.
Submitted by maznos on Fri, 05/15/2015 - 10:57 Comment #19
Nice
good work
thanks
Submitted by Issues on Fri, 05/29/2015 - 11:07 Comment #20
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by Issues on Fri, 05/29/2015 - 11:07 Comment #21
Automatically closed -- issue fixed for 2 weeks with no activity.