Skip to content

Removal

Thai Phan edited this page Mar 21, 2017 · 3 revisions

These are instructions on how to remove this extension.

Note: Please make sure to back up your media files before you run these instructions! You never know what might happen!

Step 1: Download all images from your S3 bucket back onto the local filesystem

You need to run the s3_import.php shell script in order to re-download all your images uploaded to S3 back onto your local filesystem. This might take a while.

cd /path/to/magento/shell

php s3_import.php

You can also perform a dry run if you want to preview the results of this operation.

php s3_import.php --dry-run

Step 2: Re-enable your local filesystem to use for your Magento instance's file backend storage

Once you have successfully downloaded all your images from S3, you switch back to using the local filesystem. Enjoy!

cd /path/to/magento/shell

php s3_disable.php --yes