LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-17-2009, 11:12 AM   #1
Franko25
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Totally newbie Question on backing up a server


Hi there and apologies in advance for the newbie questions.

I pay a webhosting company for the use of a dedicated server for my website (due the reasonably high level of traffic and the need for a fairly quick hosting system).

I have asked the webhost if they can provide a daily back up of the server and they say that it would cost £75 to set up and then a further monthly fee for the use of a remote backup drive.

I am new to Linux and servers so have a steep learning curve but I believe that there is a way (using a program on the server called "Webmin" that I have apparently) to schedule regular back ups and for these perhaps to be emailed or downloaded to my personal PC machine?

Please would someone take pitty on me and offer some guidance on what I should do.Essentially all I want to achieve is a secure daily backup to protect me in the event of a disaster with the server or website.

Many thanks in advance and apologies again for the "newbie" question.

Paul
 
Old 01-17-2009, 01:16 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
I presume with a dedicated server, you have admin access? If you do, you should look into a program called rsync. rsync will make one initial copy of any data you want to backup, then periodically backup the changes in individual files.

Take a look here:http://en.wikipedia.org/wiki/Rsync and here:http://samba.anu.edu.au/rsync/
 
Old 01-17-2009, 04:53 PM   #3
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
mondo is a good backup utility. it can back up to SAN/NAS, USB, Optical, Tape etc...
 
Old 01-17-2009, 05:11 PM   #4
Franko25
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Question

Thanks for the help so far.

How can I use rsync or mondo to backup the dedicated server (which is hot situated where I am)?

In other words how can I have the backup either emailed or downloaded to my personal machine?

Sorry if I have missed something here? I understand that these can backup the server sufficiently but I guess my question (becuase of the remote nnature of the dedicated server that my host provides) is to where and how?

I hope that makes sense!

Thanks again.

Paul
 
Old 01-17-2009, 05:54 PM   #5
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
rsync really means "remote sync" and it's designed primarily to keep two machines in sync with each other over any kind of connection. However, essentially all you are doing is syncing two folders, one local and one remote. rsync doesn't care whether thats on the LAN, or across multiple networks, or the internet. If you have a read of the links I sent you, it will make more sense.
 
Old 01-19-2009, 06:04 AM   #6
Joydeep Bakshi
Member
 
Registered: May 2007
Distribution: debian
Posts: 62

Rep: Reputation: 15
Hello,

I have never used mondo but I maintain some remote dedicated Linux servers and taking backups is one of my responsibilities. Based on my own tendency to make own applications here is what I have been doing.

1> create public/private SSH key pair to log into the server to be backed up with out any password from your client linux box ( backup PC). at the server put the IP of your client so that it deny all the password-less SSH access request other that your client

2> Decide what files/folders you need to backup from server.

3> At client PC, design a shell script which access the remote server through password-less SSH and run rsync to take the backup. at the very first time it will eat the bandwidth according to your selection on files/folder but after that it would only be *Incremental*

4> run the script with cronjob at your backup PC daily basis. you are done

Hope this help
 
  


Reply

Tags
backup, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pcbsd server processes question / server optimization (newbie question) leicaphotos Linux - Server 1 12-10-2008 06:40 AM
Totally newbie question tristeve MEPIS 7 06-16-2005 01:02 AM
Totally newbie, please help me! albin156 Linux - Newbie 3 11-19-2004 04:40 AM
Totally newbie question... Fe98 Linux - General 1 10-22-2003 01:55 PM
totally a newbie newada LinuxQuestions.org Member Intro 2 05-22-2003 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration