Plugin Directory

Changeset 3386232


Ignore:
Timestamp:
10/29/2025 07:29:35 AM (4 months ago)
Author:
joaosraposo
Message:

Documentation Improvements
Added: Server Configuration Guide for Large Backups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hejbit-decentralised-backup/trunk/readme.txt

    r3375223 r3386232  
    33Contributors: joaosraposo, app.hejbit.com , metaprovide.org
    44Tested up to: 6.8
    5 Stable tag: 1.0.7
     5Stable tag: 1.0.8
    66Requires PHP: 7.3
    77License: AGPLv3
     
    143143- Ensure your backups are completing successfully
    144144
     145== Server Configuration for Large Backups ==
     146To ensure successful backup uploads for websites of all sizes, especially large sites, you need adjust your server’s PHP, Nginx, and Nextcloud configuration as follows:
     147
     148**1. PHP configuration (`php.ini`):**
     149Consider increasing limits related to file size and execution time.
     150Here’s an example configuration that allowed large uploads to complete successfully:
     151- memory_limit = 5G
     152- post_max_size = 5G
     153- upload_max_filesize = 5G
     154- max_execution_time = 7200
     155- max_input_time = 7200
     156(Use values appropriate for your environment)
     157
     158**2. Nginx configuration:**
     159Nginx uses the client_max_body_size directive to control the maximum allowed size of an upload.
     160For example, to support uploads of several gigabytes, you might include a line like this in your nginx.conf (inside the http, server, or location block):
     161- client_max_body_size = 5G;
     162(Adjust the size limit to match your PHP and Nextcloud settings.)
     163
     164**3. Nextcloud configuration (config.php):**
     165You may also want to review Nextcloud’s upload-related settings.
     166Here’s an example:
     167- 'uploadtimeout' => 7200,        // maximum time (in seconds) allowed for uploads
     168- 'max_chunk_size' => 10485760,   // chunk size (in bytes); 10MB is a good balance
     169(These are reference values — feel free to adjust them as needed.)
     170
     171Note:
     172These settings are essential for handling large backup files and preventing timeouts or upload failures.
     173If you are on shared hosting, you may need to contact your hosting provider to increase these limits.
    145174
    146175= Process Duration =
Note: See TracChangeset for help on using the changeset viewer.