Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Developing and backing up w/ .net
Name: xhermit Date: November 2, 2006 at 10:32:42 Pacific OS: XP CPU/Ram: 1.5Ghz 512 Product: Dell
Comment:
Here at work we have a shared drive where we should be using to develop on. That way if your HD crashes you won't lose anything (and it HAS crashed... only been here for 5 months). The problem is I'm developing in asp.net and its wanting to store everything in c:/inetpub/wwwroot. This is not accessible on the shared drive, so I'm kinda stuck developing locally.
Is there a way to develop locally, and have visual studio automatically back up to a shared drive? And wouldn't compiling be significantly slower on a shared drive? I'm open to different ideas.
Name: SN Date: November 5, 2006 at 13:32:02 Pacific
Reply:
The typical way to do this is via source control solutions like visual source safe, CVS, subversion, or visual studio team edition. Most have options of copying files to a particular directory (usually the dev, staging, or QA environment) when they are checked in.
You definitely wouldn't want to do it the way you've described for windows forms development, but for ASP.NET development you could probably get away with it by setting your project up as a web project. Just be prepared to have more difficulty debugging and setting stuff up...
Summary: I never use backup, PER SE, like ntbackup.exe but instead use a batch file. If you're on a network and backing up to a sever drive, you can: xcopy c:\files x:\%USERNAME%\ /s/d/r/c/y Using the variable...
Summary: I would like to create a batch file to back-up 2 database files (data1.df1,data2.df1) from a network drive (g:) to a Zip drive (e:). Could anyone clue me into the easiest way to accomplish this and/or...