The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I have to setup a cron scrypt that backups my database and overwrites every week. I once had a mysql script line that writes every day a backup with the name of the database + day (for example myforum_monday) and therefore overwrites every week. Do you know how to do that?
|
#2
|
||||
|
||||
![]()
Here it is
Code:
mysqldump --user=xxxxxxx --password=xxxxxxxx --all-databases >/.../`date +%u`.sql |
#3
|
||||
|
||||
![]()
This will do the job for you ;
https://vborg.vbsupport.ru/showthread.php?t=126925 One of the options in the config is the date format - if you set it such that it's just Monday/Tuesday etc then it will overwrite any existing backup of the same name. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|