This plugin captures all file uploads (images and attachments) and stores files in DigitalOcean Spaces container. Files are deleted from Wordpress upload directory to save disk space. File locations are changed accordingly to point to DigitalOcean Spaces container. When deleting files from media library, they will be removed from Spaces bucket as well.
This plugin has a basic support to move existing media library items to Spaces. Please be careful, making backups from existing library is highly recommended before trying this!
- Upload the plugin files to the
/wp-content/plugins/dosync
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the
Plugins
screen in WordPress. - Use the
Settings -> DOSync
page to configure the plugin (Digital Ocean API key required).
- @bitkidd - Original version of this plugin (https://github.com/bitkidd/DigitalOcean-Spaces-Sync)