AA Design

Two boyz and a fancy website

Archive for August, 2006

Interesting Video

Just thought I’d post this link. I believe in the scientists work and invention. It’s long, but very interesting (at least for me).

http://jnaudin.free.fr/html/qmmv11.htm

No comments

Moving SVN repository to new server.

I had been working on a site for a client and had used a SVN repository setup on my local server. When the project was finally approved I had to move the SVN repository to the sites webserver. This makes it nicer for when I need to update the site for the client. Can revert back to any page at any time.

So this was the first time I had to move a repository to another server. Not as simple as just dragging the svn folder to the server unfortunately, but still rather simple once you know what to do. So this is what I did:

Step 1 I logged into my local server using ssh and used the ‘cd’ command to change to my repository directory:

oldserver [~]# cd svn/
Step 2 I then used the svnadmin command to dump my repository to a single file:
oldserver [~/svn]# svnadmin dump myrepository > myrepos.dump
* Dumped revision 0.
* Dumped revision 1.
* Dumped revision 2.
…
* Dumped revision 25.
* Dumped revision 26.

Step 3 Then I used Transmit, my FTP program of choice, and logged in and downloaded the dump file i created. “myrepos.dump” in this case.

Step 4 Again using Transmit I logged into the sites webserver and copied the file into the root directory.

Step 5 Next step was to login to the sites webserver again using ssh and creating the new repository:

newserver [~]# svnadmin create ~/svn/myrepository

Step 6 Now the key step is to load the data from the dump file into the newly created repository:

newserver [~]# svnadmin load ~/svn/myrepository < myrepos.dump

That was it. Looks complicated, but its really quite simple. The idea is you dump the data, copy the dump file to the new server, create the new repository, load the copied dump file in, and that’s all.

If you get stuck, either comment below or use the guide that I used found at this url: SVN Repository Migration

Over and Out.

1 comment

Old Sydney Signs

oldsydneysigns_screenshot.jpg

Old Sydney Signs was recently launched. I did all the coding (both front end and admin cp) as well as some of the design work.

www.oldsydneysigns.com.au

1 comment