The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
.::Backup DB on Server (Selective Tables) ::.
Problem:
The database of my forums is well over 900MB in size after saving it to my server. This is mainly because of my search index which is basically useless to save since it can be rebuilt. In fact, due to this gigantic DB, I can't even backup anymore because the backup script takes so long that it times out. Solution: I noticed that it is possible to backup without certain tables of choise, however I need to keep the backups on the server. I was hoping somebody could make a hack that allows me to backup the database on the server and be able to deselect the tables I don't want to include. I think this would benefit many sites with large traffic and databases. Thanks |
#2
|
||||
|
||||
the backupfeature of vb can do that as i know...
|
#3
|
||||
|
||||
no, i don't think you read this properly. You can select what tables to include and not include, but thats only if you are downloading the backup. i want to be able to select what tables to include and not include when saving the backup directly on the server.
|
#4
|
||||
|
||||
yes sorry was my fault...
hmm, i think you can try this: open admin/backup.php find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#5
|
||||
|
||||
i'll try this...i hope it worx...thanks!
|
#6
|
||||
|
||||
hmm...
i get this when i access the backup file Parse error: parse error in /usr/local/psa/home/vhosts/411hype.com/httpdocs/forums/admin/backup.php on line 279 |
#7
|
||||
|
||||
what is line 279 would help
also i've added a } to my post above, seems i have forgotten it |
#8
|
||||
|
||||
this is really weird...line 256 is the blank line between these codes
PHP Code:
|
#9
|
||||
|
||||
wait...after that little bracket, it seems to be workin...
|
#10
|
||||
|
||||
okay...now i can get on the backup page, but after entering the path to where i want to save it, and then press "Save File", i get these two errors:
Warning: 6 is not a valid File-Handle resource in /usr/local/psa/home/vhosts/411hype.com/httpdocs/forums/admin/backup.php on line 88 Warning: 6 is not a valid File-Handle resource in /usr/local/psa/home/vhosts/411hype.com/httpdocs/forums/admin/backup.php on line 119 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|