I have method to backup my work on localhost based on week basis. I use multipe dos command and save in on a bat file. I use command such as copy and xcopy and save my localhost to another place.
After my server grow larger, I think it take too much space. So tehre is a way to solve this problem? Maybe a software that can track changes on our php code or another method to preserve your code when thing go bad?
EDIT: I use Windows XP sp2, on XAMPP Apache PHP 5. 2. 1
The localhost refer to my laptop. I install the localhost server here.