The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#22
|
|||
|
|||
|
#23
|
||||
|
||||
Quote:
Only a few resources (out of many available): Mike Rubel's rsync snapshots - the original rsync script rsnapshot - based off Mike Rubel's article, my preferate Dirvish - the most feature-filled of these programs Output on rsnapshot: Code:
[root@localhost /]# rsnapshot -v daily echo 1842 > /var/run/rsnapshot.pid /bin/rm -rf /.snapshots/daily.6/ mv /.snapshots/daily.5/ /.snapshots/daily.6/ mv /.snapshots/daily.4/ /.snapshots/daily.5/ mv /.snapshots/daily.3/ /.snapshots/daily.4/ mv /.snapshots/daily.2/ /.snapshots/daily.3/ mv /.snapshots/daily.1/ /.snapshots/daily.2/ mv /.snapshots/daily.0/ /.snapshots/daily.1/ mv /.snapshots/hourly.5/ /.snapshots/daily.0/ rm -f /var/run/rsnapshot.pid [root@localhost /]# Code:
[root@localhost /]# rsnapshot du example.com/home/ 5.2G /.snapshots/hourly.0/example.com/home/ 5.4M /.snapshots/hourly.1/example.com/home/ 12M /.snapshots/hourly.2/example.com/home/ 5.3M /.snapshots/hourly.3/example.com/home/ 5.4M /.snapshots/hourly.4/example.com/home/ 4.9M /.snapshots/hourly.5/example.com/home/ 5.4M /.snapshots/daily.0/example.com/home/ 728M /.snapshots/daily.1/example.com/home/ 4.8M /.snapshots/daily.2/example.com/home/ 4.8M /.snapshots/daily.3/example.com/home/ 6.2M /.snapshots/daily.4/example.com/home/ 4.8M /.snapshots/daily.5/example.com/home/ 4.8M /.snapshots/daily.6/example.com/home/ 6.0G total Have your pick, or if you are not happy with this solution, simply use rdiff-backup. It is based on rsync and stores incremental rdiff deltas with the backup, with which it is possible to recreate any backup point. You problem is solved in 2 seconds. Compared to rdiff-backup, rsync is faster, so it is often the better choice when pure mirroring is required. Also, rdiff-backup does not have a separate server like rsyncd (instead it relies on ssh-based networking and authentication). However, rdiff-backup uses much less memory than rsync, on large directories. What amcd meant is: if you are a big board owner, you either know your terminal really well or... you have money to hire an admin as company employee. He will do the job for you. Either ways, the person will be very capable to complete the rsync job himself. |
#24
|
|||
|
|||
Actually, I have done custom work for quite a few big boarders who barely had knowledge of FTP, much less the terminal, negating both points I think.
|
#25
|
||||
|
||||
That corresponds with my above statement: "you have money to hire an admin..."
In other words, you were hired to do a backup by the big board owner. If I have money, I would never bother to learn all those "rsync thingies", I will hire you to do it for me. I will spend my time to get more clients who will advertise on my board, because I'm a business guy, not a Linux lover. |
#26
|
|||
|
|||
I wrote a script that shuts down Apache and MySQL each night, does an rsync of the DB directory to a backup directory on the server, restarts Apache & MySQL and then rsync's the backup directory to dedicated backup server. I maintain an encrypted tunnel between a server at home and the firewall of my remote network and rsync the backup directory of the backup server to a system at my home nightly. I also run a mysqldump of the DB once a week and rsync it to the backup server and home. There is no site without the data and I've been doing this long enough to fear and respect Murphy's Law. Eric
|
#27
|
||||
|
||||
There is not need to shut down your server. You are basically deny access to users during that backup time.
Use rsnapshot, it is transparent... and it does incremental backups hourly. |
#28
|
|||
|
|||
I can understand shutting down httpd/mysqld I guess, when you are backing up the database binaries, myself though, I just do an automated mysql dump and let rsync back up the dump file.
|
#29
|
|||
|
|||
Quote:
TecK, I haven't heard of rsnapshot. I'll give a look. Thanks for the tip. Eric |
#30
|
||||
|
||||
My pleasure, Eric.
link: http://www.rsnapshot.org/ screenshots: http://www.rsnapshot.org/screenshots.html |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|