I have website using magento installed in ubuntu ec2 server. I would like to do a backup of the whole magento website. I stumbled on an article that tells me to run this command
http://www.magentocommerce.com/wiki/groups/227/moving_magento_to_another_server
mysqldump -h DBHOST -u DBUSER -pDBPASS --single-transaction DBNAME > data.sql
Question is: In what directory do I run the above command? should I run it in home/ubuntu or in var/www/magento which is the root of the magento, or does it matter at all?
Thanks!