If I wanted to have a development copy so I could test changes before putting into production and let's say Sugar is installed in the CMS folder would all I have to do is copy the folder to a new name:
cp -r --preserve=all CMS CMSDEV
And if I didn't want to use the production database for development testing, I'd just copy the database and change the config tile on the dev copy to point to the other database?
Am I missing anything. Seems like I'd want to delete the cache folder before copying or better to leave intact.