Title: ERROR: Error while writing file!
Last modified: January 5, 2022

---

# ERROR: Error while writing file!

 *  [EM3DESIGN](https://wordpress.org/support/users/em3designit/)
 * (@em3designit)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-error-while-writing-file/)
 * Hello,
    in several websites the DB backup generates ERROR: Error while writing
   file! Backing up the ends is no problem. Until a few days ago it has always worked.
   What may have happened? Greetings and thanks`
 * [INFO] BackWPup 3.10.0; A project of Inpsyde GmbH
    [INFO] WordPress 5.8.2 on 
   [https://rfmicrotech.com/](https://rfmicrotech.com/) [INFO] Log Level: Normal[
   INFO] BackWPup job: DB [INFO] Logfile is: backwpup_log_221003_2022-01-05_18-50-
   18.html [INFO] Backup file is: backwpup_ZGXVNY2X02_2022-01-05_18-50-18.zip [05-
   Jan-2022 18:50:18] 1. Try to backup database … [05-Jan-2022 18:50:18] Connected
   to database emit_rfmicrotech.comV2 on localhost [05-Jan-2022 18:50:22] ERROR:
   Error while writing file! [05-Jan-2022 18:50:22] 2. Try to backup database … [
   05-Jan-2022 18:50:22] Connected to database emit_rfmicrotech.comV2 on localhost[
   05-Jan-2022 18:50:23] ERROR: Error while writing file! [05-Jan-2022 18:50:23]
   3. Try to backup database … [05-Jan-2022 18:50:23] Connected to database emit_rfmicrotech.
   comV2 on localhost [05-Jan-2022 18:50:23] ERROR: Error while writing file! [05-
   Jan-2022 18:50:23] ERROR: Step aborted: too many attempts! [05-Jan-2022 18:50:
   23] 1. Trying to generate a manifest file … [05-Jan-2022 18:50:23] Added manifest.
   json file with 5.26 KB to backup file list. [05-Jan-2022 18:50:23] 1. Trying 
   to create backup archive … [05-Jan-2022 18:50:23] Compressing files as ZipArchive.
   Please be patient, this may take a moment. [05-Jan-2022 18:50:23] Backup archive
   created. [05-Jan-2022 18:50:23] Archive size is 1.45 KB. [05-Jan-2022 18:50:23]
   2 Files with 5.48 KB in Archive. [05-Jan-2022 18:50:23] 1. Try to send backup
   file to Dropbox … [05-Jan-2022 18:50:24] Authenticated with Dropbox of user: 
   Backup rfmicrotech.com [05-Jan-2022 18:50:24] Uploading to Dropbox … [05-Jan-
   2022 18:50:25] Backup transferred to /BACKUP/DB/backwpup_ZGXVNY2X02_2022-01-05_18-
   50-18.zip [05-Jan-2022 18:50:26] One file deleted from Dropbox [05-Jan-2022 18:
   50:26] ERROR: Job has ended with errors in 8 seconds. You must resolve the errors
   for correct execution.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-error-while-writing-file/#post-15228188)
 * Hello [@em3designit](https://wordpress.org/support/users/em3designit/)
    could
   you please help me check the backup archive first just to make sure if it works?
   TY
 *  Thread Starter [EM3DESIGN](https://wordpress.org/support/users/em3designit/)
 * (@em3designit)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-error-while-writing-file/#post-15231797)
 * What should I check?
    Backups of (only) files works. DB backup does not work (
   save only 2 files backwpup_readme.txt and manifest.json).
    -  This reply was modified 4 years, 2 months ago by [EM3DESIGN](https://wordpress.org/support/users/em3designit/).
 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-error-while-writing-file/#post-15235804)
 * [@em3designit](https://wordpress.org/support/users/em3designit/)
    sorry I mean
   change to Tar instead of Zip then try again ^^ TY
 *  [barback](https://wordpress.org/support/users/barback/)
 * (@barback)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-error-while-writing-file/#post-15281800)
 * I have just discovered that my db backups on at least one site stopped working
   between 12/28/21 (successful backup) and 1/4/21 ERROR: Error while writing file!
 * I successfully used phpadmin to download a database backup, but I need to see
   this issue addressed.
 * Here’s the debug info:
 *     ```
       WordPress version: 5.8.3
       BackWPup version: 3.10.0
       PHP version: 7.3.33  (64bit)
       MySQL version: 5.7.37
       cURL version: 7.79.1
       cURL SSL version: OpenSSL/1.1.1m
       WP-Cron url: https://blackislemusic.com/wp-cron.php
       Server self connect: Not expected HTTP response:
       Status-Code: 200
       Date: Sun, 23 Jan 2022 19:43:51 GMT
       Server: Apache
       Expires: Wed, 11 Jan 1984 05:00:00 GMT
       Cache-control: no-cache, must-revalidate, max-age=0
       Content-length: 0
       Content-type: text/html; charset=UTF-8
   
       Document root: /home/blackisl/public_html
       Temp folder: /home/blackisl/public_html/wp-content/uploads/backwpup-193f7e-temp/
       Log folder: /home/blackisl/public_html/wp-content/uploads/backwpup-4b43e4-logs/
       Server: Apache
       Operating System: Linux
       PHP SAPI: fpm-fcgi
       Current PHP user: blackisl
       Maximum execution time: 30 seconds
       BackWPup maximum script execution time: 30 seconds
       Alternative WP Cron: Off
       Disabled WP Cron: Off
       CHMOD Dir: 0755
       Server Time: 19:43
       Blog Time: 14:43
       Blog Timezone: America/New_York
       Blog Time offset: -5 hours
       Blog language: en-US
       MySQL Client encoding: utf8
       PHP Memory limit: 512M
       WP memory limit: 40M
       WP maximum memory limit: 512M
       Memory in use: 99.00 MB
       Disabled PHP Functions:: exec, passthru, shell_exec, system
       Loaded PHP Extensions:: Core, PDO, Phar, Reflection, SPL, SimpleXML, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, i360, iconv, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_sqlite, posix, session, soap, sockets, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ERROR: Error while writing file!’ is closed to new replies.

 * ![](https://ps.w.org/backwpup/assets/icon-256x256.png?rev=3236141)
 * [BackWPup – WordPress Backup & Restore Plugin](https://wordpress.org/plugins/backwpup/)
 * [Support Threads](https://wordpress.org/support/plugin/backwpup/)
 * [Active Topics](https://wordpress.org/support/plugin/backwpup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backwpup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backwpup/reviews/)

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [writing](https://wordpress.org/support/topic-tag/writing/)

 * 4 replies
 * 3 participants
 * Last reply from: [barback](https://wordpress.org/support/users/barback/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/error-error-while-writing-file/#post-15281800)
 * Status: not resolved