The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Best Way to Perform Scheduled Backups?
I notice I have a backup option in the forum cpanel itself, but also have backup options via web server... what is the best way to back up the forum nightly to where I can revert back quickly if need be due to maybe installing a wacky hack (like what just happened with the vbSocial hack that made my profiles show blank).
I do NOT want to risk losing any threads or posts, or anything within the forum. I need to not feel scared to death to install hacks to where if one is wonky, I can just quickly revert to a previous back up or something. |
#2
|
|||
|
|||
phpMyAdmin.
|
#3
|
|||
|
|||
The best way to back up is NOT via a php based script like phpmyadmin.
The proper way is to use the cmd line via mysqldump or a shell based script, thats going to trigger mysqldump. |
#4
|
||||
|
||||
I am on a Mac snakes1100, how do I do the cmd and do mysqldump?
|
#5
|
||||
|
||||
From the manual:
Backing Up The Database via SSH/Telnet or Backing Up The Database via phpMyAdmin Restoring The Database via SSH/Telnet or Restoring The Database via phpMyAdmin If you don't have shell access, some people have also reported success with these scripts: MySQLDumper MySQLHotxcopy Bigdump On a Mac, use Terminal to connect to your server via SSH. |
#6
|
||||
|
||||
Ok so I was able to do it and figure it out through phpMyAdmin ... but this is something I have to manually do all the time?
|
#7
|
||||
|
||||
Unless you set up a cron job (something through your cPanel or a modification you install), then yes you will have to do is manually.
|
#8
|
||||
|
||||
I am trying to set up a cron job... I have the day/time, etc. set up... but the last thing is asks for is "command" and I have to type something in... any idea on what to type in to do the SQL Dump?
|
#9
|
|||
|
|||
To use the cmd line, you need to shell into your server via ssh or in your case a terminal on your mac, just open a terminal window.
Select the Go option from the main menu bar and select the Utilities menu, then select the Terminal Application. @ the prompt, type the following: ssh username@iptoserverhere As your on a whm/cpanel server, there is no need to manually dump the db, unless you want just the db & not your file structure. WHM & Cpanel both have automated backup systems, WHM you can setup to run itself & backup nightly to a folder yo ucan DL from. Cpanel, you have to click the backup link & generate the backup, then download it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|