Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a CENTOS 6.3 Rackspace VPS, running the latest version of dropbox and using the dropbox.py command like tools. It is a webserver running WHM/cPanel

My problem is that my sever is only 512MB, and indexing all 80K+ files on my entire dropbox account is causing my server to crash.

I have gotten 2 emails from Rackspace which read:

Our monitoring systems have detected significant swapping on your Cloud Server. This server was experiencing out of memory errors and using the swap space partition for a significant period of time. As this escalated to a point that it was affecting other customers on your residing host server, we were forced to perform a hard reboot on your cloud server instance.

I am a web developer, and this is my test server. I also host a few client's sites on it, so keeping a backup of all of their sites/DBs is very important.

Currently, the way it backs up is by having an Alias to an external volume from my root's home directory. Then I RSync my public_html directory to the external volume.

I know that I can selectively sync using the dropbox.py tools, but I can only do this once dropbox has successfully indexed my machine. This, however, is problematic because my server crashes before this is done and it causes a problem for everyone else in my hosting block.

What I would like to do is to somehow sync only one folder to Dropbox, as it is only a few GBs. Does anyone know how I may do this, or a better alternative?

share|improve this question
    
Is Dropbox the only way you'd like to do backups? Have you tried version control (git) for your code and static assets? –  Kyle Kelley Feb 6 at 22:49
    
I use git on a project basis, but I need something on a full server basis –  Dan Green Feb 7 at 13:09
    
I feel bad for asking about that one there. Wanted to see what your development workflow was like and how you were using dropbox. It's hard for me not to ask "What's holding you back from hosting your clients on separate or bigger VMs?" –  Kyle Kelley Feb 8 at 3:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.