Supporto » Funzionalità = Plugin » Non riesco a fare un backup con Duplicator (Compilazione interrotta dall’host)

  • Non riesco a fare un backup con Duplicator. Il processo arriva al 59.7% e poi si interrompe fornendomi i seguenti errori. Il plugin mi informa che il mio sito occupa 5GB mentre il DB 12MB.

    Fase 1
    Scansionando il sito
    Attendi…
    Mantieni questa finestra aperta durante il processo di scansione.
    Potrebbero servire diversi minuti.

    Fase 2
    Compilazione pacchetto 59.7%
    Attendi…
    Tieni aperta questa finestra e non chiuderla durante il processo di creazione.
    Il completamento dell’operazione potrebbe richiedere diversi minuti.

    Fase 3
    Si blocca a 59.7% per molto tempo.
    Fase 4
    Stato della compilazione
    Compilazione interrotta dall’host
    This server cannot complete the build due to host setup constraints, see the error message for more details.
    If the error details are not specific consider the options below by clicking each section.

    ********************************************************************************
    DUPLICATOR-LITE PACKAGE-LOG: 5 February 2023 22:22
    NOTICE: Do NOT post to public sites or forums 
    ********************************************************************************
    VERSION:	1.5.2.1
    WORDPRESS:	5.9.5
    PHP INFO:	5.6.40 | SAPI: cgi-fcgi
    SERVER:		Apache 
    PHP TIME LIMIT: (0) no time limit imposed 
    PHP MAX MEMORY: 4294967296 (1024M default) 
    MEMORY STACK: 81.25MB
    
    ********************************************************************************
    DATABASE:
    ********************************************************************************
    BUILD MODE:   PHP(query limit - 100)
    MYSQLTIMEOUT: 5000
    MYSQLDUMP:    Not Supported
    TABLES: total:22 | filtered:0 | create:22
    FILTERED: []
    SQL CREATED: 20230205_xxxxxxxxxxx_af3938eced030e1d8652_20230205222046_database.sql
    SQL FILE SIZE: 9.74MB (10209995)
    SQL FILE TIME: 2023-02-05 22:22:05
    SQL RUNTIME: 2.70 sec.
    
    ********************************************************************************
    ARCHIVE (ZIP):
    ********************************************************************************
    ARCHIVE DIR:  /web/htdocs/www.nomeadominio.it/home
    ARCHIVE FILE: 20230205_xxxxxxxxxxx_af3938eced030e1d8652_20230205222046_archive.zip
    FILTERS: *OFF*
    DIRS:
    	not set
    FILES:
    	not set
    EXTS:  not set
    ----------------------------------------
    COMPRESSING
    SIZE:	5.06GB
    STATS:	Dirs 2,677 | Files 29,397
    SQL ADDED: 20230205_xxxxxxxxxxx_af3938eced030e1d8652_20230205222046_database.sql
    [PHP ERR][WARN] MSG:filesize(): stat failed for /web/htdocs/www.nomeadominio.it/home/ikkanews/----.mht [CODE:2|FILE:/web/htdocs/www.nomeadominio.it/home/wp-content/plugins/duplicator/classes/package/class.pack.archive.zip.php|LINE:172]
    do_action('wp_ajax_duplicator_package_build'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, duplicator_package_build, DUP_Package->runZipBuild, DUP_Archive->build, DUP_Zip::create, filesize, DUP_Handler::error, DUP_Handler::getMessage
    [PHP ERR][WARN] MSG:filesize(): stat failed for /web/htdocs/www.nomeadominio.it/home/----.mht [CODE:2|FILE:/web/htdocs/www.nomeadominio.it/home/wp-content/plugins/duplicator/classes/package/class.pack.archive.zip.php|LINE:172]
    do_action('wp_ajax_duplicator_package_build'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, duplicator_package_build, DUP_Package->runZipBuild, DUP_Archive->build, DUP_Zip::create, filesize, DUP_Handler::error, DUP_Handler::getMessage
    
    WARNING: Unable to zip files:
    FILE: [/web/htdocs/www.nomeadominio.it/home/ikkanews/----.mht]
    FILE: [/web/htdocs/www.nomeadominio.it/home/----.mht]
    
    ZipArchive Object
    (
        [status] => 0
        [statusSys] => 0
        [numFiles] => 32072
        [filename] => /web/htdocs/www.nomeadominio.it/home/wp-content/backups-dup-lite/tmp/20230205_xxxxxxxxxxx_af3938eced030e1d8652_20230205222046_archive.zip
        [comment] => 
    )
    
    FILE ADDED TO ZIP: 32071
    COMPRESSION RESULT: '1'
    COMPRESSED SIZE: 4.25GB
    ARCHIVE RUNTIME: 436.76 sec.
    MEMORY STACK: 94.75MB
    building installer
    [PHP ERR][WARN] MSG:No valid encoded path found in value '' for ioncube.loader.encoded_paths. [CODE:2|FILE:Unknown|LINE:0]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Handler::getMessage

    Il mio hosting mi permette di editare i seguenti parametri (max_execution_time è già al massimo, memory_limit anche):

    PHP 8.1
    PHP 8.0
    PHP 7.4 (obsoleta)
    PHP 7.3 (obsoleta)
    PHP 7.2 (obsoleta)
    PHP 7.1 (obsoleta)
    PHP 7.0 (obsoleta)
    PHP 5.6 (attualmente in uso ma obsoleta)
    PHP 5.5 (obsoleta)
    PHP 5.4 (obsoleta)
    PHP 5.3 (obsoleta)
    PHP 5.2 (obsoleta)
    PHP 4.4 (obsoleta)
    Nascondi versioni obsolete
    display_errors Off
    max_input_time 60
    max_input_vars 1000
    post_max_size 25M
    zlib.output_compression Off
    allow_url_fopen Off
    opcache.jit Off
    max_execution_time 900
    memory_limit 1024M
    output_buffering 4096
    upload_max_filesize 25M
    short_open_tag Off
    mysqli.allow_local_infile Off
    ioncube Off

    Togliendo quei file ottengo questo log:

    ********************************************************************************
    DUPLICATOR-LITE PACKAGE-LOG: 5 February 2023 23:05
    NOTICE: Do NOT post to public sites or forums 
    ********************************************************************************
    VERSION:	1.5.2.1
    WORDPRESS:	5.9.5
    PHP INFO:	5.6.40 | SAPI: cgi-fcgi
    SERVER:		Apache 
    PHP TIME LIMIT: (0) no time limit imposed 
    PHP MAX MEMORY: 4294967296 (1024M default) 
    MEMORY STACK: 80.75MB
    
    ********************************************************************************
    DATABASE:
    ********************************************************************************
    BUILD MODE:   PHP(query limit - 100)
    MYSQLTIMEOUT: 5000
    MYSQLDUMP:    Not Supported
    TABLES: total:22 | filtered:0 | create:22
    FILTERED: []
    SQL CREATED: 20230205_xxxxxxxx_00bacebb0a0a153c8817_20230205230513_database.sql
    SQL FILE SIZE: 9.72MB (10189462)
    SQL FILE TIME: 2023-02-05 23:05:51
    SQL RUNTIME: 2.35 sec.
    
    ********************************************************************************
    ARCHIVE (ZIP):
    ********************************************************************************
    ARCHIVE DIR:  /web/htdocs/www.nomeadominio.it/home
    ARCHIVE FILE: 20230205_xxxxxxxx_00bacebb0a0a153c8817_20230205230513_archive.zip
    FILTERS: *OFF*
    DIRS:
    	not set
    FILES:
    	not set
    EXTS:  not set
    ----------------------------------------
    COMPRESSING
    SIZE:	5.06GB
    STATS:	Dirs 2,676 | Files 29,395
    SQL ADDED: 20230205_xxxxxxxx_00bacebb0a0a153c8817_20230205230513_database.sql
    ZipArchive Object
    (
        [status] => 0
        [statusSys] => 0
        [numFiles] => 32071
        [filename] => /web/htdocs/www.nomeadominio.it/home/wp-content/backups-dup-lite/tmp/20230205_xxxxxxxx_00bacebb0a0a153c8817_20230205230513_archive.zip
        [comment] => 
    )
    
    FILE ADDED TO ZIP: 32070
    • Questo topic è stato modificato 7 mesi, 4 settimane fa da padovano2022.
Stai visualizzando 16 risposte (di 16 totali)
  • Moderatore Cristiano Zanca

    (@cristianozanca)

    Ciao @padovano2022 ,

    confermo ciò che ha scritto @matteospi ,

    è possibile aggiungere che per spostare o copiare per un backup un sito WordPress di grandi dimensioni è possibile farlo manualmente

    Le parti coinvolte sono due:
    – la cartella wp-content
    – il database

    È possibile accedere ai file con FTP / SSH prelevando la cartella wp-content

    È possibile estrarre i dati dal database con wp-cli oppure col comando mysqldump

    Cordiali Saluti

Stai visualizzando 16 risposte (di 16 totali)
  • Il topic ‘Non riesco a fare un backup con Duplicator (Compilazione interrotta dall’host)’ è chiuso a nuove risposte.