Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Dec 30, 2007 3:30 pm 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
Hello Everyone,

I am running Linode Debian 4.0

Would it be possible to "map" to my VPS through Microsoft Windows or a Linux workstation? I would imagine this could be done by creating a VPN to my VPS.

If so, what steps would I have to take to accomplish this and what risks would I be taking?

Please keep in mind I am by no means a Linux expert.


Top
   
 Post subject:
PostPosted: Sun Dec 30, 2007 3:37 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
if you were using a linux desktop, you could use SSHFS, which is part of the Fuse project <http://fuse.sourceforge.net/sshfs.html>, and wouldn't require anything extra on your linode (it would require fuse and sshfs on your desktop).


Top
   
 Post subject: Cool
PostPosted: Sun Dec 30, 2007 3:42 pm 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
Very interesting. I'll set that up on my Linux workstation immediately. Anyone else know how to do something like this on XP for my M$ workstations?


Top
   
 Post subject:
PostPosted: Sun Dec 30, 2007 9:34 pm 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
SFTPDrive: http://www.sftpdrive.com/


Top
   
 Post subject:
PostPosted: Sun Dec 30, 2007 9:44 pm 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
OverlordQ,

Now that is what I am talking about. Great resource, thanks!


Top
   
 Post subject:
PostPosted: Mon Dec 31, 2007 7:26 pm 
Offline
Senior Member
User avatar

Joined: Sat Mar 24, 2007 6:09 pm
Posts: 59
Location: South Africa
Or just use WinSCP: http://www.winscp.org

--deckert


Top
   
 Post subject:
PostPosted: Tue Jan 01, 2008 9:17 am 
Offline
Junior Member

Joined: Sat Apr 14, 2007 11:38 am
Posts: 29
OverlordQ wrote:
Anyone know of a free alternative to this? I use WinSCP at the moment, but it doesn't map drives (so it's an extra couple of clicks and a different kind of window).


Top
   
PostPosted: Tue Jan 01, 2008 2:14 pm 
Offline
Junior Member

Joined: Tue Sep 25, 2007 9:00 am
Posts: 26
This may not address your particular needs but it might be worth considering.

I have been using Mercurial (a distributed revision control system) to:

1. backup user-entered data on my linode to my home PC

2. allow for revision control on system configuration files on the linode

3. allow for revision control on various programs I am developing on my linode and allow for simultaneous development and merging with versions of these that I am working with on my PC at home.

what I do is to place a directory tree under mercurial for revision control on the linode and add the files into revision control that I want to track with commands like:

hg init dirname
cd dirname
hg add filenames
hg commit -m "some message"

then on my PC I can clone the data from the linode with a command like:

hg clone ssh://username@linode.ip.address//full/dir/path/dirname

You only need to do the clone once to get the initial copy happening. Once the clone is done you can modify, add, delete files on either your PC or your linode and then on the PC you can:

hg pull

to "pull" changes that have been commited on the linode into the PC's copy, and:

hg push

to "push" changes that have been made and committed on the PC back to the linode.

All of the communications happen over SSH (on the PC mercurial will use putty to do the actual SSH stuff). And if you make changes to the same files in both places mercurial (i.e. hg) will provide you with a merge tool to help sort out any conflicts.

If you only make changes at one end (such as user entry of data into a web site on your linode) then you will never hit a change conflict and you can just keep "hg pull" ing the data back to your PC to back it up.

In theory, if you ever need to blow away your linode and reinstall it, the process of restoring all this data should be pretty straight forward, just do a set of "hg clone" commands on your PC (where the backups are) and set the target as being the directory on your linode you want to recreate.

See http://www.selenic.com/mercurial/wiki/ for more information on Mercurial, to get this installed on your debian linode its just:

apt-get install mercurial

The installation of mercurial on the PC is pretty easy too.


Regards,

Stephen


Top
   
 Post subject:
PostPosted: Tue Jan 01, 2008 2:17 pm 
Offline
Junior Member

Joined: Sun Dec 30, 2007 3:11 pm
Posts: 30
Website: http://www.triptoy.net
Interesting method.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group