You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: trunk/readme.txt
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,35 @@ This feature helps you:
142
142
- Maintain a history of all backup operations
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.
0 commit comments