This plugin is discontinued. To the best of my knowledge it is stable and works fine, but since it's release I have decided it is
no longer advisable to store Amazon credentials in PHP files.
Creates an immediate backup of your media to Amazon S3 as soon as you upload it. Vital for when you never want to risk losing your files.
Can also be useful for off-loading your uploads externally to free up disk space on your main site (additional CDN plugin required to make use of it in this fashion)
Set the Amazon S3 access key, secret key and your chosen bucket name in your wp-config.php file (or anywhere which executes prior to 'init'). You will need to obtain this information from Amazon directly.
define( 'AWS_ACCESS_KEY', 'JKEFSLDGNSJKGBSDGJ');
define( 'AWS_SECRET_KEY', 'LKafk+kalfskaKDSDGQWRLZVXMLKEOInsdgsd' );
define( 'AWS_BUCKET_NAME', 'ryans-personal-bucket' );
Now, when you upload an image via the WordPress media uploader, the files will be automatically backed up to Amazon S3 :)
For more information, visit the
Photocopy plugin page.
Note: This plugin requires Curl to be installed on your server. This is due to the S3 PHP class by Donovan Schönknecht which is used in this plugin. Technically, the WordPress http API could be used instead of directly performing http requests via Curl, but I didn't want to mess with the original class which seems to work very well, and so running Curl on your server is a requirement for use with this plugin.