R
R
Ruslan Banochkin2013-04-22 20:51:54
linux
Ruslan Banochkin, 2013-04-22 20:51:54

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

6 answer(s)
4
4dmonster, 2013-04-22
@4dmonster

maybe rsync will suffice?

G
Gribozavr, 2013-04-22
@gribozavr

snapshot

S
sirko_el, 2013-04-22
@sirko_el

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.

E
Eddy_Em, 2013-04-22
@Eddy_Em

And if you raise some kind of VCS, for example, mercurial, then it will be possible to save previous versions ...

I
Ilya Evseev, 2013-04-23
@IlyaEvseev

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

G
gltrinix, 2013-04-23
@gltrinix

rsnapshot, rsync.
Here is a good article with a related section (see section 5): madspace2.rajeshprakash.com/lowendvpsconfig.htm
Under windows you can use cwRsync: www.stillnetstudios.com/snapshot-backups-howto/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question