Installing Sample Data Archive for Magento 1.0 with Revision 19700 Release
UPDATE: Please see the following articles for up-to-date instructions:
If you would like to use the sample data, you will need to install Sample Data before installing Magento.
The archive file is available in (.zip) (38 MB), .tar.gz (37 MB), and .tar.bz2 (36MB) formats to download (the files contain exactly the same content inside and are provided in different formats just for your convenience).
Each archive contains a SQL script that should be applied on a clean database with your database management tool (phpMyAdmin or whatever you use), and a ‘media’ folder with sample product images that you should copy to your Magento media folder.
You should then run the regular installation process as you would for a complete package. Please make sure that you have exactly the same version of Magento that the sample data is provided for – 1.0 with Revision 19700.
Please also backup all your data and keep separately any custom changes on the files you did, because they may not be compatible with the sample data provided.