Restore Fails 'Could not create directory)
-
Hi,
I’ve been testing UpdraftPlus on a local WP installation running under Bitnami WAMP stack. The backups run fine without any error. However, when I try to restore them, I get an error when it gets to the ‘Other’ entities. I’m using the latest version of both WP and UpdraftPlus (as of a few minutes ago). The log file shows:
0000.144 () Opened log file at time: Fri, 13 Dec 2013 17:54:31 +0000 0000.144 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.8.2 WP: 3.8 PHP: 5.4.22 (Windows NT AFLAPTOP 6.1 build 7601 (Windows 7 Business Edition Service Pack 1) i586) MySQL: 5.5.32 Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 12.4M | 12.5M) multisite: N mcrypt: Y ZipArchive::addFile: Y 0000.145 () Free space on disk containing Updraft's temporary directory: 154335.9 Mb 0000.145 () Restore job started. Entities to restore: 0000.193 () Will not delete any archives after unpacking them, because there was no cloud storage for this backup 0000.193 () Entity: db 0000.193 () Unpacking backup... 0000.195 () Decrypting database (can take a while)... 0000.246 () Database successfully decrypted. 0000.252 () Restoring the database (on a large site this can take a long time - if it times out (which can happen if your web hosting company has configured your hosting to limit resources) then you should use a different method, such as phpMyAdmin)... 0000.264 () Tried to raise max_allowed_packet from 16 Mb to 32 Mb, but failed (Access denied; you need (at least one of) the SUPER privilege(s) for this operation, b:0;) 0000.265 () Max packet size: 16 Mb 0000.265 () <strong>Backup of:</strong> https://localhost/wordpresslucid 0000.266 () Content URL: https://localhost/wordpresslucid/wp-content 0000.266 () Old table prefix: wp_ 0000.266 () Site information: multisite=0 0000.269 () New table prefix: wp_ 0000.340 () Restoring table (InnoDB): wp_options 0000.669 () Restoring table (InnoDB): wp_users 0000.886 () Restoring table (InnoDB): wp_usermeta 0001.046 () Restoring table (InnoDB): wp_commentmeta 0001.162 () Restoring table (InnoDB): wp_comments 0001.335 () Restoring table (InnoDB): wp_links 0001.442 () Restoring table (InnoDB): wp_postmeta 0001.623 () Restoring table (InnoDB): wp_posts 0001.812 () Restoring table (InnoDB): wp_term_relationships 0001.993 () Restoring table (InnoDB): wp_term_taxonomy 0002.346 () Restoring table (InnoDB): wp_terms 0002.603 () Finished: lines processed: 39 in 2.34 seconds 0002.604 () Cleaning up rubbish... 0002.610 () Entity: others 0002.610 () Unpacking backup... 0004.614 () PHP event: code E_WARNING: copy(): The first argument to copy() function cannot be a directory (line 217, C:\Program Files\BitNami WAMP Stack\apps\wordpresslucid\htdocs\wp-admin\includes\class-wp-filesystem-direct.php) 0004.615 () Cleaning up rubbish... 0004.615 () Error: updraftplus 0004.676 () Entity: plugins 0004.677 () Unpacking backup... 0005.694 () Error message: Could not create directory. 0005.694 () Error data: plugins/updraftplus/opencloud/rackspace/php-opencloud/lib/OpenCloud/CloudMonitoring/Exception 0005.694 () Restore failed... 0005.695 () Error message: Could not create directory. 0005.695 () Error data: plugins/updraftplus/opencloud/rackspace/php-opencloud/lib/OpenCloud/CloudMonitoring/Exception 0005.695 () Restore failed
The error data in the plugins….. directory stated in the last but one line above contains the following php files:
AgentException.php
AlarmException.php
CheckException.php
CloudMonitoringException.php
EntityException.php
MetricException.php
NotificationHistoryException.php
NotificationPlanException.php
ServiceException.php
TestException.php
ZoneException.phpI can see they are php scripts but not sure what to do with them.
Any ideas what’s going on?
Regards
Keith
- The topic ‘Restore Fails 'Could not create directory)’ is closed to new replies.