Answer the question
In order to leave comments, you need to log in
Automatic backup from server to home PC
Recently, I thought about the security of my sites. I've been looking for a solution for days, but I can't find anything. :(
The bottom line is this. There is a home server on Ubuntu in the pantry. I would like to make it so that backup sites are regularly downloaded from two different servers, and not only files, but also mysql.
On one server, access is only via ssh, on the other and ssh, and ftp.
What is the best thing to do? What utilities can I use?
Everything is complicated by the fact that only new and changed files are downloaded. For if all sites are downloaded every day, I will eat up all the traffic. :) Well, it will take too long .
Can you advise something?
Answer the question
In order to leave comments, you need to log in
Rsync is great. In addition, I recommend backing up the databases on the server using the crown, compressing them and using the same rsync to pull them to your server.
And if you raise some kind of VCS, for example, mercurial, then it will be possible to save previous versions ...
BackupPC - for the file system.
Works through rsync, rsync can work over SSH.
MySQL databases are pre-dumped:
wiki.centos.org/HowTos/BackupPC#head-74c3e92a83cb8346bb58b6f4a76179c8089465ea
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question