Over the weekend I was working on a WooCommerce website. I was using an import/export plugin for products, and I notice there were duplicates appearing in the media library. These were not actually duplicates, but them importer using a 1:1 relationship between image and product, to learn more check out this article https://www.webtoffee.com/image-thumbnail-regeneration-duplicate-media-library-entry/. So, it was great that storage space was not being used up, but at the same time the media library was completely cluttered.
Cloning or migrating a WordPress website can sometimes be a hassle. However, it is a necessary skill to have, because you might need it to move from a staging to production or to test new out new features. Back when I was a WordPress technician, we used a plugin called All-in-One WP Migration. It worked great on our cPanel servers to create staging environments for our customers.
Backing up your website is one of the most important things you can do. If you ever need to revert back from a bad update, hacked site, or changes made that did not go as planned. While some web hosts do automatic backups, it cannot be assumed that all do. The website owner should always take ownership of backing up their site.
For those who like to use the command line interface will be happy to know there is a tool with WordPress that you can use called WP-CLI. With WP-CLI you can control your WordPress site through the command line interface with ease. Some of the commands are extremely useful and improve your WordPress experience. With more and more hosting companies having WP-CLI installed by default now is the best time to learn how to use it!