Active Topics

 


Reply
Thread Tools
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1
Hi all, I recently purchased some dirt cheap space on a linux based virtual private server provider called 123systems.net. The reason for this is to build a few web sites mainly for the experience, one of which will be to basically track all my (limited) linux knowledge.

Anyway I have put a bare bones wordpress site up which I will be adding to using the nice n900 and its wordpress client. what I want to do is the following...

1) use the vps itself as an svn repo to store all the python and bash code I am learning on my n900.

2) in turn have the relevant config files as well as posts/pages of the sites I will build get backed up to the same svn repo on the vps. I would assume this could be done through some sort of cron job?

3) finally have all the information saved off of the vps in a secure place periodically. If this would be some type of mirroring of svn repos or just a periodic dump of all these files to some credible space (ubuntu one, drop box, whatever) I have no idea..

Thanks for listening, I know this is a bit open ended but I figure with all the serious developers here (not the "I got this device to learn how to go beyond hello world" crowd like me) I could at least be given a shove in the right direction on how to do this.

thanks again.
 
Posts: 30 | Thanked: 42 times | Joined on Oct 2010 @ Russia
#2
1. You can use svn over ssh, that is a very common usage pattern.
IMHO git or mercurial are better. If you code on n900, you will be able to use these VCSs' to view and do commits, view diffs, etc. without network access.

2. Write a simple bash script using mysqldump and rdiff-backup. You will get nice incremental backups of both database and code. Call it periodically from cron.

3. Rsync / scp / winscp to copy files from VPS over ssh protocol.
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:25.