I then used the "Add Schedule Task" wizard and made this run every night at 2am. This "mirrors" the D:\repos folder to the \\server\svnbackup. Robocopy /mir d:\repos \\server\svnbackup Then, I installed the Windows 2003 Resource Kit in order to get the RoboCopy tool, and I copied RoboCopy to C:\windows so it's in the path.įinally, I made a batch file that looked like this: Then I made a new Share called \\SERVER\SVNBackup and set duplicate to true. I made a folder on the D: drive (against recommendations) called D:\repos and I told Subversion that was the place to put stuff. If you have a better idea or you work for the Home Server team, let me know if this is dangerous and I'll update this part of the post. Here's the only/most wonky part of this whole thing. Always access data through shares like \\server\svnwhatever. You are NEVER supposed to put anything on the D: (Data) drive directly. Windows Home Server is a different beast as it supports a RAID-like storage system. You can test if you have open ports with this online tool. It's easy to remember and less likely that your ISP would block it outgoing from your house. I could put it anywhere, of course, but 8080 is to 80 as 8443 is to 443. It's kind of like the secondary SSL port. I installed it on the machine on port 8443. I downloaded and installed VisualSVN Server, which is the absolute easiest way that I know of to get Subversion (SVN) on Windows. I usually download software to the desktop, ignore the "holy crap don't do this" warning (although be aware) then open an administrator command prompt and run the MSI from there. From inside my house, I run "mstsc /console" or "mstsc /admin" from the Start | Run dialog, the connect to my machine called "Server." 2. If you want to install software on your Home Server (and they are headless usually - no monitor) you have to use Remote Desktop. Since I already have this lovely Windows Home Server that's saved my marriage, I figured why not host it there? 1. I don't want to use the machine I host my blog on, as I want the data in my house. I decided I'd try to host a Subversion Server. I put most of my docs in Live Mesh, and I host must of my Open Source projects at CodePlex, but I have a bunch of code and presentations that usually just float around. If your ISP calls your house and is mean to you, or if you lose all your personal data because of my tips, know that we never spoke. Disclaimer - People have been injured and emotionally scarred listening to my technical tips.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |