UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › Uploads Not Restoring
- This topic has 5 replies, 2 voices, and was last updated 10 years, 4 months ago by udadmin.
-
AuthorPosts
-
June 29, 2014 at 9:52 pm #18090ThomasParticipant
I have tried numerous times to restore the “Uploads” but keep getting the same error:
Uploads
Unpacking backup… (backup_2014-06-29-1855_Abstracted_Pixels_3ce98e9cca1b-uploads.zip, 303.1 Mb)
Moving old data out of the way…
Moving unpacked backup into place…
Error message: The directory does not exist (/home/content/03/10535103/html/wp-content/uploads/)
Restore failed…The directory does exist so I am uncertain as to why this keeps happening. The directory name is correct for the actual site on my domain, but when the restore attempts it apparently doesn’t know that the directory is local (which would be different).
I am attempting to clone the site to my localhost for development purposes using MAMP.
Also it looks like everything is restored but could it be the file/directory mapping is messed up? I say that because I attempted to make a change for my theme’s CSS and it also couldn’t find the directory; the error message I get is: “Failed to create customization .CSS file. To improve your site performance, please check whether “…/wp-content/uploads/” folder is created, and its CHMOD is set to 777.” The folder is set 777, and again it is created.
I am at a loss as to what to do.
Cliff
June 30, 2014 at 7:13 am #18816udadminKeymasterHi Cliff,
It sounds like you have a site that used to run a very old WordPress version and has an uploads path hard-coded in the configuration. (More recent WP versions removed this setting). On the site you’re backing up, go into Settings -> Media and remove the hard-coded setting for the uploads folder location. Then take a new backup of the database and use that one instead.
Also: When UpdraftPlus restores the ‘uploads’ zip, the only thing it has to do with it is unzip it in the right place. There’s no special magic (the clever stuff is elsewhere). So, if UpdraftPlus restoring the uploads fails for any reason, then you can do it manually simply by unzipping the zip by hand into the right place.
Best wishes,
DavidJune 30, 2014 at 1:02 pm #18818ThomasParticipantThanks David, the restore is working without errors now after removing the hard-coded link you suggested.
However, the site will not start on the localhost. Normally I start the local site with this link: “https://localhost:8888/abstractedpixelslocal/” but when I do that the link changes to: “https://localhost/abstractedpixelslocal/” and just a blank white screen is displayed.
If I change the localhost link to: “https://localhost/abstractedpixelslocal/wp-admin” it redirects back to the domain site.
UPDATE: I see that the wp-config.php file did not have the localhost parameters set, they still had the same as the domain. Do we need to update the wp-config.php file each time we are cloning to localhost?
June 30, 2014 at 5:16 pm #18819udadminKeymasterHi Cliff,
I’m lacking in the specifics I’d need to answer the “UPDATE” question. Are you saying that your wp-config.php has some hard-coded over-rides in it?
For the other part, I need to see the migration log file – you can find this in wp-content/updraft – paste it somewhere like pastebin.com or in your forum reply with the “code” formatting to make it easier to read, please!
Best wishes,
DavidJune 30, 2014 at 6:46 pm #18820ThomasParticipantI am sure that I am not stating the issue right. Basically, the wp-config.php file had the database password and name the same as the domain site. When it was cloned it remained exactly with those settings, the problem is that I had a different password for the local database. I have since changed those to be identical to the localhost database. The other issue was the the DB_Host did not change to ‘localhost’ it kept the domain database name. Not sure if the restore was to change that or not, I guess that is my question, should I have to change the DB_Host in the wp-config.php file after restoring a cloned backup?
Code:0000.004 () Opened log file at time: Mon, 30 Jun 2014 12:33:31 +0000 on https://localhost:8888/abstractedpixelslocal
0000.005 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.9.15.18 WP: 3.9.1 PHP: 5.5.10 (Darwin Cliffs-iMac.local 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64) MySQL: 5.5.34 Server: Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 mod_ssl/2.2.26 OpenSSL/0.9.8y DAV/2 mod_perl/2.0.8 Perl/v5.18.0 safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 56.5M | 57.5M) multisite: N mcrypt: Y ZipArchive::addFile: Y
0000.005 () Free space on disk containing Updraft’s temporary directory: 681788.2 Mb
0000.005 () Restore job started. Entities to restore: plugins, themes, uploads, wpcore, others, db
0000.018 () Entity: db
0000.018 () restore_backup(backup_file=backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-db.gz, type=db, info=a:0:{}, last_one=)
0000.018 () Unpacking backup…
0001.483 () Database successfully unpacked
0001.484 () 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)…
0001.994 () Using direct MySQL access; value of use_mysqli is: 1
0001.994 () Max packet size: 32 Mb
0001.996 () Backup created by: 1.9.15.18
0001.996 () <strong>Backup of:</strong> https://abstractedpixels.com
0001.996 () Content URL: https://abstractedpixels.com/wp-content
0001.996 () Old table prefix: wp_
0001.996 () Site information: multisite=0
0001.998 () New table prefix: wp_
0002.002 () Restoring table (MyISAM): wp_options
0006.263 () Database queries processed: 50 in 4.27 seconds
0011.418 () Database queries processed: 100 in 9.42 seconds
0011.504 () Search and replacing table: wp_options: rows: 91565
0012.465 () Searching and replacing reached row: 5000
0014.487 () Searching and replacing reached row: 10000
0017.414 () Searching and replacing reached row: 15000
0021.320 () Searching and replacing reached row: 20000
0026.152 () Searching and replacing reached row: 25000
0031.933 () Searching and replacing reached row: 30000
0038.645 () Searching and replacing reached row: 35000
0046.255 () Searching and replacing reached row: 40000
0054.893 () Searching and replacing reached row: 45000
0063.973 () Searching and replacing reached row: 50000
0072.012 () Searching and replacing reached row: 55000
0079.111 () Searching and replacing reached row: 60000
0085.253 () Searching and replacing reached row: 65000
0090.570 () Searching and replacing reached row: 70000
0094.915 () Searching and replacing reached row: 75000
0098.316 () Searching and replacing reached row: 80000
0100.708 () Searching and replacing reached row: 85000
0102.049 () Searching and replacing reached row: 90000
0102.389 () Restoring table (MyISAM): wp_users
0102.432 () Search and replacing table: wp_users: rows: 8
0102.434 () Restoring table (MyISAM): wp_usermeta
0102.549 () Table prefix has changed: changing usermeta table field(s) accordingly
0102.552 () Usermeta table fields changed OK
0102.555 () Search and replacing table: wp_usermeta: rows: 205
0102.575 () Restoring table (MyISAM): wp_commentmeta
0102.670 () Search and replacing table: wp_commentmeta: rows: 1
0102.670 () Restoring table (MyISAM): wp_comments
0102.811 () Search and replacing table: wp_comments: rows: 1
0102.812 () Restoring table (MyISAM): wp_links
0102.921 () Search and replacing table: wp_links: rows: 0
0102.921 () Restoring table (MyISAM): wp_postmeta
0104.671 () Search and replacing table: wp_postmeta: rows: 13280
0105.138 () Searching and replacing reached row: 5000
0105.879 () Searching and replacing reached row: 10000
0106.159 () Restoring table (MyISAM): wp_posts
0106.367 () Search and replacing table: wp_posts: rows: 1119
0107.004 () Restoring table (MyISAM): wp_term_relationships
0107.178 () Skipping this table: data in this table (wp_term_relationships) should not be search/replaced
0107.178 () Restoring table (MyISAM): wp_term_taxonomy
0107.222 () Search and replacing table: wp_term_taxonomy: rows: 115
0107.236 () Restoring table (MyISAM): wp_terms
0107.342 () Search and replacing table: wp_terms: rows: 112
0107.351 () Restoring table (MyISAM): wp_woocommerce_order_itemmeta
0107.458 () Database queries processed: 150 in 105.46 seconds
0107.461 () Search and replacing table: wp_woocommerce_order_itemmeta: rows: 30
0107.464 () Restoring table (MyISAM): wp_woocommerce_termmeta
0107.633 () Search and replacing table: wp_woocommerce_termmeta: rows: 65
0107.639 () Restoring table (InnoDB): wp_layerslider
0107.755 () Search and replacing table: wp_layerslider: rows: 0
0107.755 () Restoring table (MyISAM): wp_pocketarticlescollection
0107.865 () Search and replacing table: wp_pocketarticlescollection: rows: 0
0107.865 () Restoring table (InnoDB): wp_revslider_css
0107.988 () Search and replacing table: wp_revslider_css: rows: 47
0108.002 () Restoring table (InnoDB): wp_revslider_layer_animations
0108.092 () Search and replacing table: wp_revslider_layer_animations: rows: 0
0108.092 () Restoring table (InnoDB): wp_revslider_settings
0108.218 () Search and replacing table: wp_revslider_settings: rows: 0
0108.218 () Restoring table (InnoDB): wp_revslider_sliders
0108.371 () Search and replacing table: wp_revslider_sliders: rows: 2
0108.375 () Restoring table (InnoDB): wp_revslider_slides
0108.515 () Search and replacing table: wp_revslider_slides: rows: 22
0108.542 () Restoring table (MyISAM): wp_wfBadLeechers
0108.712 () Search and replacing table: wp_wfBadLeechers: rows: 0
0108.712 () Restoring table (MyISAM): wp_wfBlocks
0108.850 () Search and replacing table: wp_wfBlocks: rows: 0
0108.850 () Restoring table (MyISAM): wp_wfBlocksAdv
0108.983 () Search and replacing table: wp_wfBlocksAdv: rows: 0
0108.983 () Restoring table (MyISAM): wp_wfConfig
0109.136 () Search and replacing table: wp_wfConfig: rows: 111
0109.145 () Restoring table (MyISAM): wp_wfCrawlers
0109.289 () Search and replacing table: wp_wfCrawlers: rows: 0
0109.289 () Restoring table (MyISAM): wp_wfFileMods
0110.766 () Database queries processed: 200 in 108.77 seconds
0110.802 () Search and replacing table: wp_wfFileMods: rows: 17911
0111.323 () Searching and replacing reached row: 5000
0112.322 () Searching and replacing reached row: 10000
0113.108 () Searching and replacing reached row: 15000
0113.407 () Restoring table (MyISAM): wp_wfHits
0113.869 () Skipping this table: data in this table (wp_wfHits) should not be search/replaced
0113.869 () Restoring table (MyISAM): wp_wfHoover
0113.930 () Search and replacing table: wp_wfHoover: rows: 0
0113.931 () Restoring table (MyISAM): wp_wfIssues
0114.049 () Search and replacing table: wp_wfIssues: rows: 0
0114.049 () Restoring table (MyISAM): wp_wfLeechers
0114.748 () Search and replacing table: wp_wfLeechers: rows: 9138
0115.105 () Searching and replacing reached row: 5000
0115.408 () Restoring table (MyISAM): wp_wfLockedOut
0115.449 () Search and replacing table: wp_wfLockedOut: rows: 0
0115.449 () Restoring table (MyISAM): wp_wfLocs
0115.603 () Search and replacing table: wp_wfLocs: rows: 0
0115.603 () Restoring table (MyISAM): wp_wfLogins
0115.745 () Search and replacing table: wp_wfLogins: rows: 257
0115.788 () Restoring table (MyISAM): wp_wfNet404s
0115.865 () Search and replacing table: wp_wfNet404s: rows: 1
0115.866 () Restoring table (MyISAM): wp_wfReverseCache
0116.009 () Search and replacing table: wp_wfReverseCache: rows: 0
0116.009 () Restoring table (MyISAM): wp_wfScanners
0116.157 () Search and replacing table: wp_wfScanners: rows: 77
0116.164 () Restoring table (MyISAM): wp_wfStatus
0116.470 () Search and replacing table: wp_wfStatus: rows: 2056
0116.642 () Restoring table (MyISAM): wp_wfThrottleLog
0116.686 () Search and replacing table: wp_wfThrottleLog: rows: 0
0116.686 () Restoring table (MyISAM): wp_wfVulnScanners
0116.851 () Search and replacing table: wp_wfVulnScanners: rows: 0
0116.851 () Restoring table (MyISAM): wp_woocommerce_attribute_taxonomies
0117.007 () Database queries processed: 250 in 115.01 seconds
0117.012 () Search and replacing table: wp_woocommerce_attribute_taxonomies: rows: 1
0117.012 () Restoring table (MyISAM): wp_woocommerce_downloadable_product_permissions
0117.173 () Search and replacing table: wp_woocommerce_downloadable_product_permissions: rows: 0
0117.173 () Restoring table (MyISAM): wp_woocommerce_order_items
0117.316 () Search and replacing table: wp_woocommerce_order_items: rows: 3
0117.316 () Restoring table (MyISAM): wp_woocommerce_tax_rate_locations
0117.455 () Search and replacing table: wp_woocommerce_tax_rate_locations: rows: 0
0117.455 () Restoring table (MyISAM): wp_woocommerce_tax_rates
0117.593 () Search and replacing table: wp_woocommerce_tax_rates: rows: 0
0117.593 () Restoring table (MyISAM): wp_wysija_campaign
0117.766 () Search and replacing table: wp_wysija_campaign: rows: 1
0117.767 () Restoring table (MyISAM): wp_wysija_campaign_list
0118.011 () Search and replacing table: wp_wysija_campaign_list: rows: 0
0118.011 () Restoring table (MyISAM): wp_wysija_email
0118.164 () Search and replacing table: wp_wysija_email: rows: 2
0118.167 () Restoring table (MyISAM): wp_wysija_email_user_stat
0118.333 () Search and replacing table: wp_wysija_email_user_stat: rows: 0
0118.333 () Restoring table (MyISAM): wp_wysija_email_user_url
0118.507 () Search and replacing table: wp_wysija_email_user_url: rows: 0
0118.507 () Restoring table (MyISAM): wp_wysija_form
0118.668 () Search and replacing table: wp_wysija_form: rows: 1
0118.668 () Restoring table (MyISAM): wp_wysija_list
0118.825 () Search and replacing table: wp_wysija_list: rows: 2
0118.826 () Restoring table (MyISAM): wp_wysija_queue
0118.967 () Search and replacing table: wp_wysija_queue: rows: 0
0118.967 () Restoring table (MyISAM): wp_wysija_url
0119.103 () Search and replacing table: wp_wysija_url: rows: 0
0119.103 () Restoring table (MyISAM): wp_wysija_url_mail
0119.232 () Search and replacing table: wp_wysija_url_mail: rows: 0
0119.232 () Restoring table (MyISAM): wp_wysija_user
0119.384 () Search and replacing table: wp_wysija_user: rows: 5
0119.386 () Restoring table (MyISAM): wp_wysija_user_field
0119.510 () Search and replacing table: wp_wysija_user_field: rows: 2
0119.511 () Restoring table (MyISAM): wp_wysija_user_history
0119.634 () Search and replacing table: wp_wysija_user_history: rows: 0
0119.634 () Restoring table (MyISAM): wp_wysija_user_list
0119.778 () Search and replacing table: wp_wysija_user_list: rows: 6
0119.779 () Finished: lines processed: 297 in 117.78 seconds
0119.779 () Cleaning up rubbish…
0119.779 () Begin search and replace (updraftplus_restored_db)
0119.780 () Database search and replace: replace https://abstractedpixels.com in backup dump with https://localhost:8888/abstractedpixelslocal
0119.781 () Search and replacing table: wp_commentmeta: already done
0119.781 () Search and replacing table: wp_comments: already done
0119.781 () Search and replacing table: wp_layerslider: already done
0119.781 () Search and replacing table: wp_links: already done
0119.781 () Search and replacing table: wp_options: already done
0119.781 () Search and replacing table: wp_pocketarticlescollection: already done
0119.781 () Search and replacing table: wp_postmeta: already done
0119.781 () Search and replacing table: wp_posts: already done
0119.781 () Search and replacing table: wp_revslider_css: already done
0119.781 () Search and replacing table: wp_revslider_layer_animations: already done
0119.782 () Search and replacing table: wp_revslider_settings: already done
0119.782 () Search and replacing table: wp_revslider_sliders: already done
0119.782 () Search and replacing table: wp_revslider_slides: already done
0119.782 () Search and replacing table: wp_term_relationships: already done
0119.782 () Search and replacing table: wp_term_taxonomy: already done
0119.782 () Search and replacing table: wp_terms: already done
0119.782 () Search and replacing table: wp_usermeta: already done
0119.782 () Search and replacing table: wp_users: already done
0119.782 () Search and replacing table: wp_wfBadLeechers: already done
0119.782 () Search and replacing table: wp_wfBlocks: already done
0119.782 () Search and replacing table: wp_wfBlocksAdv: already done
0119.782 () Search and replacing table: wp_wfConfig: already done
0119.782 () Search and replacing table: wp_wfCrawlers: already done
0119.782 () Search and replacing table: wp_wfFileMods: already done
0119.782 () Search and replacing table: wp_wfHits: already done
0119.782 () Search and replacing table: wp_wfHoover: already done
0119.782 () Search and replacing table: wp_wfIssues: already done
0119.782 () Search and replacing table: wp_wfLeechers: already done
0119.782 () Search and replacing table: wp_wfLockedOut: already done
0119.782 () Search and replacing table: wp_wfLocs: already done
0119.783 () Search and replacing table: wp_wfLogins: already done
0119.783 () Search and replacing table: wp_wfNet404s: already done
0119.783 () Search and replacing table: wp_wfReverseCache: already done
0119.783 () Search and replacing table: wp_wfScanners: already done
0119.783 () Search and replacing table: wp_wfStatus: already done
0119.783 () Search and replacing table: wp_wfThrottleLog: already done
0119.783 () Search and replacing table: wp_wfVulnScanners: already done
0119.783 () Search and replacing table: wp_woocommerce_attribute_taxonomies: already done
0119.783 () Search and replacing table: wp_woocommerce_downloadable_product_permissions: already done
0119.783 () Search and replacing table: wp_woocommerce_order_itemmeta: already done
0119.783 () Search and replacing table: wp_woocommerce_order_items: already done
0119.783 () Search and replacing table: wp_woocommerce_tax_rate_locations: already done
0119.783 () Search and replacing table: wp_woocommerce_tax_rates: already done
0119.783 () Search and replacing table: wp_woocommerce_termmeta: already done
0119.783 () Search and replacing table: wp_wysija_campaign: already done
0119.783 () Search and replacing table: wp_wysija_campaign_list: already done
0119.783 () Search and replacing table: wp_wysija_email: already done
0119.783 () Search and replacing table: wp_wysija_email_user_stat: already done
0119.783 () Search and replacing table: wp_wysija_email_user_url: already done
0119.783 () Search and replacing table: wp_wysija_form: already done
0119.783 () Search and replacing table: wp_wysija_list: already done
0119.784 () Search and replacing table: wp_wysija_queue: already done
0119.784 () Search and replacing table: wp_wysija_url: already done
0119.784 () Search and replacing table: wp_wysija_url_mail: already done
0119.784 () Search and replacing table: wp_wysija_user: already done
0119.784 () Search and replacing table: wp_wysija_user_field: already done
0119.784 () Search and replacing table: wp_wysija_user_history: already done
0119.784 () Search and replacing table: wp_wysija_user_list: already done
0119.788 () Search and replacing table: wp_duplicator: rows: 1
0119.791 () Search and replacing table: wp_duplicator_packages: rows: 0
0119.793 () Entity: plugins
0119.793 () restore_backup(backup_file=backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-plugins.zip, type=plugins, info=a:2:{s:4:”path”;s:66:”/Applications/MAMP/htdocs/abstractedpixelslocal/wp-content/plugins”;s:11:”description”;s:7:”Plugins”;}, last_one=)
0119.794 () Unpacking backup… (backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-plugins.zip, 34.7 Mb)
0126.642 () Moving old data: filesystem method / updraft_dir is potentially possible
0126.642 () Moving old data: can potentially use wp_filesystem method / -old
0126.642 () Moving old data out of the way…
0128.693 () Moving unpacked backup into place…
0130.826 () Cleaning up rubbish…
0130.827 () Entity: themes
0130.827 () restore_backup(backup_file=backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-themes.zip, type=themes, info=a:2:{s:4:”path”;s:65:”/Applications/MAMP/htdocs/abstractedpixelslocal/wp-content/themes”;s:11:”description”;s:6:”Themes”;}, last_one=)
0130.827 () Unpacking backup… (backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-themes.zip, 20.7 Mb)
0133.703 () Moving old data: filesystem method / updraft_dir is potentially possible
0133.704 () Moving old data: can potentially use wp_filesystem method / -old
0133.704 () Moving old data out of the way…
0134.684 () Moving unpacked backup into place…
0135.771 () Cleaning up rubbish…
0135.771 () Entity: uploads
0135.771 () restore_backup(backup_file=backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-uploads.zip, type=uploads, info=a:2:{s:4:”path”;s:66:”/Applications/MAMP/htdocs/abstractedpixelslocal/wp-content/uploads”;s:11:”description”;s:7:”Uploads”;}, last_one=)
0135.773 () Unpacking backup… (backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-uploads.zip, 303.1 Mb)
0142.879 () Moving old data: filesystem method / updraft_dir is potentially possible
0142.879 () Moving old data: can potentially use wp_filesystem method / -old
0142.879 () Moving old data out of the way…
0142.899 () Moving unpacked backup into place…
0143.867 () Cleaning up rubbish…
0143.868 () Entity: others
0143.868 () restore_backup(backup_file=backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-others.zip, type=others, info=a:2:{s:4:”path”;s:58:”/Applications/MAMP/htdocs/abstractedpixelslocal/wp-content”;s:11:”description”;s:6:”Others”;}, last_one=)
0143.868 () Unpacking backup… (backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-others.zip, 0 Mb)
0143.887 () Cleaning up rubbish…
0143.887 () Entity: wpcore
0143.887 () restore_backup(backup_file=backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-wpcore.zip, type=wpcore, info=a:3:{s:4:”path”;s:47:”/Applications/MAMP/htdocs/abstractedpixelslocal”;s:11:”description”;s:73:”WordPress core (including any additions to your WordPress root directory)”;s:9:”htmltitle”;s:86:”WordPress root directory server path: /Applications/MAMP/htdocs/abstractedpixelslocal/”;}, last_one=1)
0143.887 () Unpacking backup… (backup_2014-06-30-1126_Abstracted_Pixels_37fb232ef8a5-wpcore.zip, 6.8 Mb)
0146.371 () wp-config.php from backup: restoring (as per user’s request)
0146.757 () Cleaning up rubbish…
0146.763 () Restore successful!
0146.763 () Restore successfulJune 30, 2014 at 8:42 pm #18821udadminKeymasterHi Cliff,
I think I understand.
Quote:0146.371 () wp-config.php from backup: restoring (as per user’s request)The option that you ticked for this links to this article, with a link that says something about the article being important: https://updraftplus.com/faqs/when-i-restore-wordpress-core-should-i-include-wp-config-php-in-the-restoration/
The article explains that ticking the option is almost always the wrong thing to do if you are migrating a site (i.e. copying it at a new URL), rather than restoring it, and is the cause of the issues you are having… the best thing to do is just start a new migration and not tick the box this time.
Best wishes,
David -
AuthorPosts
- The topic ‘Uploads Not Restoring’ is closed to new replies.