admin管理员组文章数量:1203400
I have an old website. I plan on not publishing it for a couple of years. I’ll need it in the future, but I don’t need it now. Therefore, I don’t need to pay for the hosting. I’m a complete beginner. Can you let me know how I can save the content somewhere and switch off the hosting, but keep my content safely? Thanks very much.
I have an old website. I plan on not publishing it for a couple of years. I’ll need it in the future, but I don’t need it now. Therefore, I don’t need to pay for the hosting. I’m a complete beginner. Can you let me know how I can save the content somewhere and switch off the hosting, but keep my content safely? Thanks very much.
Share Improve this question asked Mar 23, 2022 at 23:08 Warren MeadWarren Mead 12 Answers
Reset to default 0You can use a myriad of plugins out there, or do it manually.
Plugin: Almost never used one, from the looks of it, this should do the job: https://wordpress.org/plugins/all-in-one-wp-migration/ - you can also search for other plugins that "migrate".
Make sure that the exported *.zip (or other format) file contains the database, the code and other resources like uploads. Best would be to use this dump to re-install locally.
Manually: In order to replicate a wordpress website you would need the following:
- Database
- Code
- Other resources like uploads
The code+resources is stores on the hosting, probably FTP, SFTP. You probably have also a local copy of the code, but not nessesary the resources, so try to just download it all. If you have Staging and Production, make sure to backup each separately.
The database is probably hosted by your hosting service, but stored on a separate server, if you have access to cPanel you can search for phpmyadmin. This is a graphic interface to work with your database. There you can export the database in *.sql form.
If you cannot find a way to export the database, ask your hosting provider. If you have Staging and Production, ask them for DB dump of both.
Note: The database contains direct link to the hosting domain. Use tools like search-replace, wp cli search-replace or interconnectit
Relying on a plugin to take the backup would be a bad idea. You'll never know if that plugin will be there in 2 years. Go for a manual backup.
Take the MySQL database backup from phpMyAdmin. Every cPanel has option to access it from there.
Take the files backup from FTP (Or you can compress the whole installation folder from File Manager in cPanel).
You are done.
A quick note. A lot will change in 2 years so do WordPress. When you reinstall/restore everything after 2 years, you will be prompted to update WordPress and Plugins. I'd recommend updating WordPress first, that too manually step by step for major releases.
本文标签: hostingResting a site for a couple of years
版权声明:本文标题:hosting - Resting a site for a couple of years 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738661828a2105472.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论