Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.