Mobile app version of vmapp.org
Login or Join
Yeniel560

: Auto backup a file with a customizable extension name Are there any tools we can use to automatically create a backup of file like (php file,css file,asp file) and have an extension name of

@Yeniel560

Posted in: #Application

Are there any tools we can use to automatically create a backup of file like (php file,css file,asp file) and have an extension name of "index.php.(timestamp)".?This is a common problem for developers or if not common I guess they will like it.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Yeniel560

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ogunnowo487

I would probably not recommend using that approach, at all. Mainly because it can be fragile, confusing, inconsistent, among other things.

Why not use source control? That way you have a centralized and easy way to compare and rollback to previous versions of a page/script/style sheet/whatever.

Other benefits include integration with tools for things like deployment, project management, analytics, etc.

There are free and open source SCC options out there like:


SVN (probably the simplest to learn)
Git
Mercurial


If you're scared of the command line, the above options all have a "Tortoise" GUI that you can use:


TortoiseSVN
TortoiseGit
TortoiseHg


There are sites that offer free hosting as well:


Bitbucket (free, with limitations)
Github (free for public repos)


If you absolutely positively can't use source control and still want to make backup files like you originally asked, certain editors will automatically do this for you as you edit/save a file. I know that jEdit does this, and you can specify the number of backup files to make and where to put them (same directory, or standalone directory).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme