WordPress.org

Ready to get started?Download WordPress

Forums

Online Backup for WordPress
backup failed (10 posts)

  1. baquia
    Member
    Posted 2 years ago #

    Installed plugin correctly, created acct and signed in successfully with it from wordpress plugin controls. Attempted backup to both email and online vault resulting in failure - replaced my root directory with AAAAA for privacy:

    Backup log when attempted to send to online vault:

    A filesystem operation failed while processing ‘Filesystem//home/AAAAA/public_html/error_log’ (177209344) for backup.
    If the following error message is not clear as to the problem and the issue persists, please contact support providing the complete event log for the activity. Diagnostic information follows:

    Failed at: 1058(/home/AAAAA/public_html/wp-content/plugins/wponlinebackup/include/files.php)
    Attempt to write to file /home/AAAAA/public_html/wp-content/plugins/wponlinebackup/tmp/gzipbuffer.php only partially succeeded. Only 200657 of 1048576 bytes were written. (176160768 bytes already written.) PHP last error: No error message was logged.

    When attempting to email backup received this error:

    A filesystem operation failed while processing 'Filesystem//public_html/error_log' (177209344) for backup.
    If the following error message is not clear as to the problem and the issue persists, please contact support providing the complete event log for the activity. Diagnostic information follows:

    Failed at: 803(/home/AAAAA/public_html/wp-content/plugins/wponlinebackup/include/files.php)
    Attempt to write to file /home/AAAAA/public_html/wp-content/plugins/wponlinebackup/tmp/gzipbuffer.php only partially succeeded. Only 352209 of 1048576 bytes were written. (176160768 bytes already written.) PHP last error: No error message was logged.

    http://wordpress.org/extend/plugins/wponlinebackup/

  2. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Hi baquia,

    The error_log file can safely be excluded from the backup. It is extremely large too and this might be the issue if your host has placed some limits on the size you can use for your website.

    You could download this file through FTP and see if you need it at all. If not, you should delete it. WordPress does not need it. It may contain some errors that need fixing on your website though which why you should check it first.

    Then to make sure any future generation of this file doesn't get backed up (just an error log so not required) go to General Settings in the plugin and add to the excludes this:
    error_log

    During backup this should then report a single event saying the file was skipped and the backup should continue fine.

    Regards,

    Jason.

  3. baquia
    Member
    Posted 2 years ago #

    Thank you for your quick response Driskell.

    I entered error_log into the "Filesystem Excludes:" section under General Settings (inside the box just after it says "If backing up the WordPress parent folder, you can exclude items at that level by prefixing the entry with "../" (dot dot forward-slash) like this: ../parent/exclude")

    Clicked save settings and then I attempted to backup manually to the vault.

    It resulted in a failure.

    This time there are no details provided, it just says: "The backup failed:"

    two (2) screenshots (use side scroll buttons)

    http://min.us/mbhgFA3AQb

  4. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Hi baquia,

    Can you run the backup again.
    Could you watch the progress bar and note what kind of things it says up until the failure?

    We'll look at this in code too as it is a very strange scenario that no message appears.

    Jason.

  5. baquia
    Member
    Posted 2 years ago #

    Hi Driskell,

    below are some screenshots of error or event logs:
    http://imgur.com/a/8XyrT

    click to see larger version of images

    there is also a screenshot of mySQL file manager showing a partial list of files in backup-3915d

    using plugin version 2.2.1 with WP 3.3.1

  6. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Hi baquia,

    Can you exclude that folder? It contains a large amount of large files which most likely will be too big to be stored online. Also it won't be very efficient to backup the database with our plugin, as well as backup backups of the database.

    Regards,

    Jason.

  7. baquia
    Member
    Posted 2 years ago #

    Thank you Jason, how exactly would I exclude the folder? by adding "backup-3915d" obviously without quotes! to the "Filesystem Excludes:" section?

    do I have to detail the file path as well or just the name of the folder?

    Thank you!! appreciate your help

  8. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    If you put in:

    wp-content/backup-3915d

    That should exclude it.

  9. baquia
    Member
    Posted 2 years ago #

    Thank you! success! activity log shows a backup was made correctly

    Can you please clear up one more point for me? what does this option mean exactly within the general settings? I'm trying to determine if it applies to me. Thanks again for all your help!

    WordPress not in the root:

    By default, only the directory containing the WordPress installation is backed up. However, if you have placed your WordPress installation in its own subdirectory, and you wish to backup all files in your website root also, this option will allow you to do just that.
    If you are unsure, or have not installed WordPress into its own subdirectory, you should leave this option disabled as you may end up backing up more than expected.

    Backup the parent directory as well as the WordPress directory: /home/_____________

    "_____________" above being the same directory/folder that I blanked out in the above screenshots

  10. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Let's say you have a website and you add a blog to it.

    So you'd have /home/website/html/ where you put your website, and in here you create a folder called "blog" and put WordPress in there. So the plugin will backup /home/website/html/blog/. This is referring to WordPress being in a subdirectory and not in the root. So you go to http://www.mywebsite.com/blog to get to WordPress (not in root)

    The plugin has the option to also backup the website at http://www.mywebsite.com, as well as the WordPress area, by enabling that option. So it will backup the parent directory of wordpress which is where the website is: /home/website/html/

    Of course, if the WordPress IS in the root and you tick it, you end up backing up /home/website/ and because this is your website home directory it can sometimes have all kinds of things in it, such as access logs, error logs and ftp data which can all be quite big and too big to backup.

    Hope this elaborates a bit more.

    Jason.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic