Solved

Backing up remote website with Gutsy server

Posted on 2007-11-14
5
260 Views
Last Modified: 2013-11-30
Hi there.

I'm currently running Gutsy as my home server so no X on there. I've got 3 websites online. I'd like to know if there is a way I can get my server to automatically connect to these three websites via ftp and download them for backup. It would also be nice if it automatically compressed them. It would be even better if it could check for new files only and download them to prevent myself downloading the same large files over and over again.

Is there a way to do this?

Thanks!
0
Comment
Question by:Magyarke
  • 2
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
jasalguero earned 75 total points
ID: 20279740
Hi,

You just need to make a script that copies the directories in the web server of those sites and copy it where you want to keep the backup, via ftp or whatever. Then make the script run periodically with cron.

Here is a small tutorial of cron: http://www.clickmojo.com/code/cron-tutorial.html

However if the sites have databases you should make a backup of them too, and depending on the database that can be more complex.

Regards
0
 

Author Comment

by:Magyarke
ID: 20279788
Hi jasalguero.

Thanks for the link. I'll be trying it out and see how I get on. The websites in question I can connect via normal ftp so thats good. There are also 2 MySQL databases that I would like to backup but to be honest I need to check how to normally back it up first.

Also, it would be nice if it were possible to only do incremental backups as opposed to a full backup each time. I'm not sure how I'd go about doing this?
0
 
LVL 4

Assisted Solution

by:jcoombes
jcoombes earned 50 total points
ID: 20280815
You might want to check out ZManda, it has built in support for MySQL I think:

http://www.zmanda.com/


Cheers


JC
0
 
LVL 4

Expert Comment

by:jcoombes
ID: 20280824
You might want the community edition here:

http://www.zmanda.com/download-amanda.php

or there is also a commercial version available.   They just recently announced direct support for Ubuntu....
0
 

Author Comment

by:Magyarke
ID: 20281347
Thanks. I'm going to try the cron version first because I do need to use something free. I'd also eventually like to set it up so it does an incremental backup once a week while a full backup once a month. It would also be nice to get it to email me a report with the backup results when its done. Anyone do anything like this before?
0

Featured Post

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now