Changeset 3386232
- Timestamp:
- 10/29/2025 07:29:35 AM (4 months ago)
- File:
-
- 1 edited
-
hejbit-decentralised-backup/trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hejbit-decentralised-backup/trunk/readme.txt
r3375223 r3386232 3 3 Contributors: joaosraposo, app.hejbit.com , metaprovide.org 4 4 Tested up to: 6.8 5 Stable tag: 1.0. 75 Stable tag: 1.0.8 6 6 Requires PHP: 7.3 7 7 License: AGPLv3 … … 143 143 - Ensure your backups are completing successfully 144 144 145 == Server Configuration for Large Backups == 146 To 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`):** 149 Consider increasing limits related to file size and execution time. 150 Here’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:** 159 Nginx uses the client_max_body_size directive to control the maximum allowed size of an upload. 160 For 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):** 165 You may also want to review Nextcloud’s upload-related settings. 166 Here’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 171 Note: 172 These settings are essential for handling large backup files and preventing timeouts or upload failures. 173 If you are on shared hosting, you may need to contact your hosting provider to increase these limits. 145 174 146 175 = Process Duration =
Note: See TracChangeset
for help on using the changeset viewer.