Minor issue.
The backup utility looks like it is doing everything fine, and it creates files in the /files/backup_migrate directory as expected.
But when I use the module interface to download (where it gives you the option to download, delete, or restore) the files it writes to the local machine are created and named properly, but they are empty zero byte files.
I can use FTP and get the files fine, so it is not a big problem, but I wanted to share my issue
I am on an Apache server, and am running this when logged in as drupal admin with full rights to the module.
No errors are thrown, I do not have issues getting downloads on any other systems.
This occurs for both firefox and explorer.
Comments
Comment #1
dpchrist commentedI am on a shared host, the backup files are owned by nobody.nobody, and the permissions are 400, so I can't get my backups.
HELP!
David
Comment #2
dpchrist commentedCorrection -- the backup file is mode 600:
2008-01-03 21:49:33 webuser@webhost ~/public_html/sites/default/files/backup_migrate/manual
$ ll
total 116
drwxrwxr-x 2 nobody nobody 68 Jan 2 19:56 ./
drwxrwxr-x 4 nobody nobody 51 Jan 2 20:06 ../
-rw------- 1 nobody nobody 114275 Jan 2 19:56 example.com-2008-01-02T19-56-52.sql
-rw-r--r-- 1 nobody nobody 42 Jan 3 20:34 test.txt
Comment #3
dpchrist commentedMore information -- if I choose Administer -> Content Management -> Backup and Migrate -> Destination -> Download, a file is downloaded that appears to be a valid Drupal backup file. Whew! (I have being without backups.)
So, I am changing this issue Priority from critical to normal.
Comment #4
ronan commentedI have found the same behavior on one of my installs so I'll try and figure out what's going on. The files appear to be fine on the server, and I'm using the built in drupal file download code to send the file to the browser, so I suspect that it may be out of my control, but there may be an issue in the way I'm implementing the download callback.
Thanks for all the debug info.
R
Comment #5
ronan commentedI think I figured this out. Let me know if the latest dev release fixes this issue.
R
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #7
kenorb commented#263015: Backup files are empty
Comment #8
Anonymous (not verified) commentedHey ronan:
Latest 2.0-dev or will there be another 1.x-dev version soon?
Can I use 2.0-dev safely? Will the sollution be backportet to 1.x stable?