The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Automated backups + Linux + rsync?
Can anyone here help me set up a cron job for doing a daily mysql dump of my forum's dbase and rsync for it at bqbackup.
I'm not too sure, if this is the forum to ask such questions at. But I'm looking forward to you folks helping me out. |
#2
|
||||
|
||||
I have this dbbackup.sh in my /root folder which contains:
Code:
fecha=`date +%Y-%m-%d` mkdir /var/.backupsql/bd-$fecha rsync -a -p -o -g /var/lib/mysql/vb/ /var/.backupsql/bd-$fecha/. Code:
0 4 * * * /root/backup.sh > /dev/null |
#3
|
||||
|
||||
I use this mod - Automatic Database Back-up and throw the backups in a /dbbackups folder which is then rsynced to bqbackup. Every couple of days I go in and move the backups to another folder on my server (and delete some old ones).
|
#4
|
|||
|
|||
I do mine like this:
http://www.vbclassified.com/showthread.php?t=241 Perhaps I should be using rsinc instead of a full copy? http://rsync.samba.org/ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|