Mobile app version of vmapp.org
Login or Join
Welton855

: How to backup a dev & QA folder website structure? A site I just became in charge of uses a really simple two folder structure to host the dev site and the QA site. The sites are hosted

@Welton855

Posted in: #Backups

A site I just became in charge of uses a really simple two folder structure to host the dev site and the QA site. The sites are hosted on the company servers so I just have the sites' folders mapped on my desktop.

I would like to run some kind of backup scheme, but I am finding it hard to think of a way to do this effectively.

The problem is that we aren't using any revision control software, and since the servers aren't controlled by me, I don't think I will be able to implement anything like that. Or could I?

The entire site is static too, so no DB's or anything besides html, images, PDFs, etc.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

2 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

Are they running Linux servers? You can do rsync remotely over SSH to your computer and setup a cron job to backup all the files on a schedule

10% popularity Vote Up Vote Down


 

@Goswami781

I would implement revision control if I were in you. You might have to change a couple of things since it's all html, maybe making some dynamic code for paths or similar problems that might occur. The production server should not have the revision software's directories in its tree, so it could be done even if you do not control the servers (although it might be more problematic/slow to deploy code). If you could access the servers, I would keep dev and QA folders under version control, then a deployment script from QA to production. In case you couldnt, you could just run deployment scripts from your local machines to your live server (so deploy local.dev to live.dev, local.qa to live.qa, and probably live.QA to production). Doing so you would need to backup only the version control folder (that can be on any server you'd like).

If it's sounds too overkill and you can run unix utils on your server, you might have a look at rsync to backup incrementally (this utility would also help deployment speed)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme