J
J
Juggler2011-10-27 09:04:50
linux
Juggler, 2011-10-27 09:04:50

Site backup

Dear Khabravchan.

Please recommend a solution to this problem. There is an online store site on Debian/VPS. A daily local backup and a weekly offsite backup to FTP are configured using regular ISP Manager tools. Unfortunately, full backups and archiving (even at night) almost block the work due to high load.

I'm considering an incremental backup, preferably on FTP. Or site replication to a remote FTP.

What can you recommend as tools?

Thanks in advance for your recommendations.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
S
stg34, 2011-10-27
@Juggler

Had the same problem. I did it very simply on my dedicated server:
1. once a day, a database dump is created on the server and dumped into the directory that will be backed up in the next step
2. on the local machine, it runs once a day

rsync /usr/bin/rsync -av --delete [email protected]:/direcroy/to/backup /var/backups/sitename/

3. In order not to be asked for a password, password-free authentication is configured ( something like this ).
The first execution of the script will lead to a complete dragging of data, all subsequent ones will only change data. As a result, the load is quite small.
This is all on the assumption that the server has ssh (it should be on the VPS) and there is a local machine where to get data

S
sergeyvolobuev, 2011-10-27
@sergeyvolobuev

apt-get install duplicity
man duplicity

and you can read more here . Good luck!

V
Vlad Zhivotnev, 2011-10-27
@inkvizitor68sl

Run with this VPS…

H
homm, 2011-10-27
@homm

rsnapshot is very good. But no ftp, of course.

E
Evgeny Mikhalev, 2011-10-27
@neznae4ko

I would transfer the system to lvm and make snapshots twice a day (and delete the old ones after some time), I even saw a script for this on the net

E
Eddy_Em, 2011-10-27
@Eddy_Em

And if to use VCS? For example, mercurial is quite simple, and by cron do hg commit && hg push

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question