The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Auto database backup
Any chance of a hack to auto dump my database to a protected directory on my server?
Thanks, T |
#2
|
|||
|
|||
Run a cron job that does it. That's what I do and it works fine.
|
#3
|
|||
|
|||
Could you explain a little more please?
Kinda new to this. |
#4
|
|||
|
|||
1. Create a file like this in notepad (don't give it any extension):
Code:
#! echo Dumping database to file... mysqldump --opt -uusername-ppassword dbname > ~/dump.sql echo Dump complete! Code:
chmod +x ~/filename |
#5
|
|||
|
|||
Right, thanks alot mate.
|
#6
|
||||
|
||||
Quote:
Thanks! |
#7
|
|||
|
|||
No, it's not chmod 777. I don't know how to rename the file like that. chmod +x makes it executable.
|
#8
|
||||
|
||||
Yes 0777 and 777 are the same (at least, i think) -- How often do you backup your database if you don't mind me asking pls?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|