Can't backup - admdump [message #187284] |
Tue, 09 May 2017 19:03 |
|
xupetas
Messages: 10 Registered: March 2014
Karma: 0
|
Junior Member |
|
|
Hello All,
I've installed fudforum and now i was trying to do the backup via CLI using admdump.php and it fails miserably:
... backup WWW_ROOT_DISK/images/message_icons/ (0 MB)
... backup WWW_ROOT_DISK/adm/ (0.54 MB)
... backup WWW_ROOT_DISK/adm/style/ (0.03 MB)
Backup database tables:
PHP Warning: mysqli::query(): MySQL server has gone away in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 110
Warning: mysqli::query(): MySQL server has gone away in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 110
PHP Warning: mysqli::query(): Error reading result set's header in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 110
Warning: mysqli::query(): Error reading result set's header in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 110
PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 130968 bytes) in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 54
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 130968 bytes) in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 54
What have i tried:
Changed the php.ini settings:
cat /etc/php5/cli/php.ini| grep -i memory
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 4096M
Changed the memory_limit inside adm/admdump.php:
# grep -ir memory_limit *
adm/admimport.php: @ini_set('memory_limit', '-1');
adm/admdump.php: @ini_set('memory_limit', '-1');
adm/consist.php: @ini_set('memory_limit', '128M');
adm/indexdb.php: @ini_set('memory_limit', '128M');
adm/compact.php: @ini_set('memory_limit', '128M');
adm/admgeoip.php: @ini_set('memory_limit', '256M');
What am i missing? Like i said, i run on a cli based system. Can anyone shed some light on the matter?
[Updated on: Tue, 09 May 2017 19:04] Report message to a moderator
|
|
|
|