...
File backup uses a similar convention to folder backups. However, with file backups we find it more useful to sort by the file name first then the date,
Code Block |
---|
file.2011-01-20.version.user.comment.bck.extension |
For example the backup file for welcome.jsp would be named,
Code Block |
---|
welcome.jsp.2011-01-20.v0.0.bhitch.before_custom_java_set.bck.jsp |
Note |
---|
It is important Sometimes we want to retain the original file extension to prevent security breaches. For example, renaming a .jsp to .bck would allow attackers to view the source code of the backup file. However, in some cases you want to ensure that the file is never used. In that case, use *.jsp.bck. The key is to have the bck so searches and filters can easily find backup files. |