Subject: Backup Failed: Filesize less than 1kb

Posted on: 27/06/08 04:08pm
By: Anonymous

My configuration is Geeklog 1.5.0 on Windows XP Pro SP3, Apache 2.2.4, PHP 5.2.4 & MySQL 5.0.45. As with a number of prior threads, I'm having trouble with the Geeklog DB Backup functionality. The result clicking "Create New" on the Backup page is the creation of a filename like -> geeklog_db_backup_2008_06_27_15_30_55.sql with a size of 0 bytes. I've checked the logfile -> logs/error.log and it contains an entry like this -> 06/27/08 15:04:46 - Command used for mysqldump: C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqldump.exe -hlocalhost -uxxxx -pxxxxxxx -Q gl > "c:/gl-sys/backups/geeklog_db_backup_2008_06_27_15_30_55.sql" I can execute this same command from the Windows XP command prompt and the result is the creation of a backup file of size 76KB. So the command string is correct, it's just not working from with Geeklog. Any clues?

Re: Backup Failed: Filesize less than 1kb (OWNER of POST)

Posted on: 27/06/08 04:12pm
By: Anonymous

I posted the question as anonymous by mistake. It was my posting for those who may reply...

Re: Backup Failed: Filesize less than 1kb

Posted on: 27/06/08 10:56pm
By: jmucchiello

Quote by: MDM

I can execute this same command from the Windows XP command prompt and the result is the creation of a backup file of size 76KB. So the command string is correct, it's just not working from with Geeklog.

Any clues?

Verify that the user under which apache is running has write access to that directory. Check the task manager to find out what user apache (process is called httpd) is running as.

Re: Backup Failed: Filesize less than 1kb

Posted on: 05/02/09 08:25am
By: guganbl

I also have the same error, but my gl is 1.51 and it was auto installed by my hosting - godaddy.
Any ideas what to do about this error?

Re: Backup Failed: Filesize less than 1kb

Posted on: 13/11/11 08:12am
By: seajayare

I have the same problem with similar setup. Apache running as "Local System" can anybody tell me how I check and change permissions ?

MySQL 5.5/XP/GL 1.8.1

Thanks in advance

Re: Backup Failed: Filesize less than 1kb

Posted on: 13/11/11 08:43am
By: ::Ben

You can try or (see new version in comments of this second page).

Ben

Re: Backup Failed: Filesize less than 1kb

Posted on: 13/11/11 10:16am
By: ::Ben

Please note those 2 updates:
Dbman plugin 0.6.1
PHP Dump Geeklog Backup Plugin 1.2

Thanks,

Ben

Re: Backup Failed: Filesize less than 1kb

Posted on: 24/11/11 11:19am
By: wismith

Quote by: ::Ben

You can try or (see new version in comments of this second page).

Ben


U-hu . This workaround works just fine Big Grin

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=83474