Closed (duplicate)
Project:
Backup and Migrate
Version:
6.x-2.4
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2010 at 10:26 UTC
Updated:
21 Sep 2015 at 20:48 UTC
Jump to comment: Most recent
Comments
Comment #1
giorgio79 commentedAlso, the file is quite small around 3-400 kb
Comment #2
HAg commentedSame issue
# FTP Error: Couldn't write to ./Mysitename-30-01-2011_05-58-23.mysql.zip.aes when trying to save file on the ftp server.
# Could not run backup because the file could not be saved to the destination.
Seems, this is happening, when the ftp account is not the main account.
Comment #3
xaris.tsimpouris commentedSame here!
File is created with zero size.
Also, it is created as *.mysql while I have set for gzip compression.
List files, doesn't work either. I have manually uploaded backup files but they are not shown when I click "List Files".
Comment #4
xaris.tsimpouris commentedAfter changing in \sites\all\modules\backup_migrate\includes\destinations.ftp.inc on line 221 from
$put_file = @ftp_put($ftp->__conn, $complete_filename, $source, FTP_BINARY);
to
$put_file = ftp_put($ftp->__conn, $complete_filename, $source, FTP_BINARY);
Also, this is shown to be more spesific!
warning: ftp_put() [function.ftp-put]: Unable to build data connection: Connection timed out in F:\htdocs\projectm\sites\all\modules\backup_migrate\includes\destinations.ftp.inc on line 221.
Comment #5
aireworth commentedI don't know if this the same problem but this patch http://drupal.org/node/970120 got rid of this error for me
Colin
Comment #6
beauz commentedI was having this issue too, patch mentioned in #5 solves the problem by enabling PASV mode.
Can we have this added as a permanent feature?
Comment #7
Gabriel R. commentedHaving the same issue over SFTP.
It occurs after an upgrade to PHP 5.3, but I am not 100% sure it's related.
I haven't tried yet the patch from #5.
Comment #8
SchwebDesign commentedsubscribing, same issue here, i tried patch from #5 but problem persists exactly as described above
Comment #9
sachbearbeiter commentedsachbearbeiter
Comment #10
HAg commentedI was wrong. When the path is set to /myfolder, where myfolder is an existing folder on my ftp account, it works. When the path is set to / I get the error.
Comment #11
HAg commentedThis is weird
Today I was trying to make a backup to a ftp account. No matter what i did, I got the error above and an empty file was created.
Every time I edited the destination the Destination name was changed to my user name in the form. So every time I was forced to changed it back, before saving.
At last I let the site have its way and let the Destination name be my user name. Now everything works fine.
What am I missing here?
Comment #12
HAg commentedAfter the above, I attended another site running on the same code base. This time my user name didn't work and I did have to use another.
???
Comment #13
HAg commentedLater on, running them as scheduled backup, non of them worked.
Comment #14
HAg commentedAfter trying this patch, everything is working fine
Comment #15
HAg commentedI am referring to the patch mentioned in #5
Comment #16
nicholas.alipaz commentedDuplicate of #967546: # FTP Error: Couldn't write to Mysitename-2010-11-10T10-20-47.mysql.gz when trying to save file on the ftp server., he just doesn't mention the info that is described here.
Comment #17
HAg commented#967546 is a duplicate of #967546??? Bullshit!
Comment #18
ronan commentedI believe the duplicate link was simply a mis-paste of: #970120: Add a PASV option for FTP transfers
Comment #19
IamOnStage commentedCan I re-open this issue as I am experiencing the same problem but in the latest version of Backup and Migrate 3.1
Drupal 7.35