The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Site Backup (easily backup your forum files) Details »» | |||||||||||||||||||||||||||
Site Backup (easily backup your forum files)
Developer Last Online: Jul 2023
What is this?
This is a script that will let you easily back up your website files, with some nifty features. Why? We all know backups are important, but they're also tricky. If you are on shared hosting with no shell access then you have to backup via FTP which is time consuming and a bit messy. Even if you have shell access you still have to manually type in the command to tar it all up, then download it, then delete the tar. This script does it all for you. Okay, talk me through it It's pretty simple really. Once you've uploaded and configured the script (read the install.txt), run it and you'll be presented with a list of folders and files in your forum root. You can choose the ones you want, click Backup! and it will put them into a tarball (which can be optionally gzipped). You can then download that tarball and delete it for security reasons, all from this script. The advantage of being able to pick and choose the files you grab is that you don't have to keep downloading the files that never change. So say you have the images dir which never changes, and you have an uploads dir which does. It makes no sense wasting bandwidth continually grabbing the images dir. Simply put: Your site is put into one file which is a lot easier to download than hundreds of seperate ones. It can be optionally gzipped to reduce the download size a bit more, and it's jus all round convenient. Important I cannot gaurentee this will work. It requires the tar executable to be in place and I believe that's only present in linux operating systems. It also requires you to be able to execute it. Safe mode may stop you doing so. Please don't ask me for support on this, I don't know the answers. I just know it works on my host so I thought I'd share. Because I'm no expert I cannot be liable for any theft or problems occuring from this script. Run at your own risk! Less important, but still important When you do a backup, make sure you have enough space to actually fit the tar file. So if your admincp is 2mb, you'll need 2mb free on your hosting plan, or slightly less using gzip. Questions Is it secure? Yes. As much as I know how to make it: - You choose the backup filename. Even though it will be deleted as soon as you've downloaded it, this helps prevent anyone else from guessing the filename and downloading it at the same time - It's restricted to superadministrators only, as defined in config.php. What's to stop people browsing to the backup directory and seeing my backup? There should be no backup except during download, however during download times there is a blank index file in the backup directory. If your web server is set up properly then it's extremely difficult to guess the filename you chose. Even I wouldn't be able to get hold of it without FTP details. Why not just use cpanel's backup? The only real advantage over cpanel's backup is you can choose the files you want, whereas cpanel dumps the entire public_html folder, and databases, and .... into it. I don't think cpanel provides a gzip option either. Is a database backup included? At this time, no. Maybe in the future if I can figure out how to do it. Can this script wipe my files? No. The only single thing it's capable of deleting is the backup file which you create and name. The title says "forum files", what about CMS? Truthfully I don't know because I don't have CMS. The way the admincp global works is it seems to put the forum root as the current working directory. I don't know if that means site root in the case of CMS, or just forum root. Best way to find out is run it and see which directories are listed. If there is no CMS, I may look into including that or full website backup, if the demand is high enough. Why doesn't it have anything in the vB options? Security. Read the first few lines of the script itself for more details. Can this be put on cronjob/scheduled task? Nope. It's not designed as that at the moment although it wouldn't be too unsafe to do so. Maybe in the future when I know the commands and directory bits work properly. What about sending the backup to another server, via ftp? In future possibly, depends on demand. Restoration option? Not at present, depends on demand. What is a tarball (.tar) anyway? I'm not sure of the origins or if it's a *nix "standard" but it seems to be. Basically it's just a form of archiving files, sort of like zip or rar. You can also gzip the files on top, making a zipped tarball (.tgz) WinRar will handle the file. If you want a free alternative try www.nonags.com (freeware - no nags) Can you help me with... As I said in the important part, this isn't an area of expertise to me. If you have a feature suggestion or have found a bug I'll do my best to fix it, but if it just plain doesn't work then I might be able to help, I might not. Show Your Support
|
Comments |
#32
|
||||
|
||||
Quote:
|
#33
|
|||
|
|||
In general yes I use phpmyadmin.
Don't understand what you're asking here... |
#34
|
|||
|
|||
nice tool.. can you add option to put current date at the end of the filename ur backing up into? Also.. can there be option to dump and chose which tables to get from sql database as part of backup?
|
#35
|
|||
|
|||
I get
Backup in progress... Please wait. Backup Complete. Click here to download it. After the download has finished, click here to attempt to delete the file. but it ends in like 2secs then when i click download now i get Not Found The requested URL /admincp/sitebackup/*********.tgz was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.53 (Fedora) Server at forum.**********.com Port 80 |
#36
|
|||
|
|||
uppin ???
|
#37
|
|||
|
|||
NiTRoN: Date, I could but since the system is really designed to have backups done then moved off quickly, it's not top of the list. However it would provide a hard to guess (though easy to attack-crack) so it's not a bad idea... Database dump: Not planned to be honest. There is another hack that does it and I hear that has it's own issues.
Krumbz: Yes that's a "bug" I recently found. On a server I just switched to it think it's finished before it really has. Not really sure how to address that. If it really was "2 secs" then check the admincp/sitebackup folder is chmod'd to 0777. All who are waiting for an update: Sorry, just got a new temp job and will be getting a new permanent job soon, lots of personal stuff so basically, an update could be a while if ever. If anyone wants to improve on it and release please do. |
#38
|
|||
|
|||
Does this work with 3.6.3??
I am just working on changing hosts, I allready have my site on the other host. But I will tranfer the data on Wednesday once I put the site to sleep for the time it takes the DNS tranfer to take place. Then I could just install backed up info.. RON |
#39
|
|||
|
|||
Quote:
If it doesn't work it's very easy to remove so you have nothing to lose by trying it |
#40
|
|||
|
|||
Bairy the folder is already CHMODED...same thing, can you please tell me how to make it work from here, I really am VERY interested in your mod.
|
#41
|
|||
|
|||
If it doesn't write the file then I can't help because I don't know much about web servers/linux etc. (as I stated in the first post).
If it does write the file but just notifies you too early then again, I don't know why so I can't help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|