...
We use the same principle between environments but make sure to use a different base password. That distinguisher also helps to prevent accidents such as deleting files in the wrong environment.
Folder
...
Backup
In addition to version control it is often useful to backup folders. Especially since we tend to build self-contained applications.
2011-01-20.version.folder/application.user.comment.bck
The most important is the date, yyyy-mm-dd so the ls listing is sort-able.
File Backup
File backup uses a similar convention. However with file backups we find it more useful to sort by the file name first then the date,
file.2011-01-20.version.user.comment.bck
For example the backup file for setenv.sh would be named,
setenv.sh.2011-01-20.v0.0.bhitch.before_custom_java_set.bck