Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Cloud Backup Manager Details »»
Cloud Backup Manager
Version: 1.3.1, by CvP CvP is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.x Rating:
Released: 02-07-2015 Last Update: 04-21-2015 Installs: 28
Uses Plugins
Additional Files Translations  
No support by the author.

This add-on enhances the vBulletin Cron Based DB Backup by adding two key features:
  1. Takes backup of your files.
  2. Upload the file/db backups to cloud (OneDrive).

Please note that some of the options of "Corn Based DB Backup" are incompatible with this such as combine db backup files set to false.

Features to be implemented in future:
  1. [s]Cleanup older backup files.[/s] Done.
  2. [s]Email notifications on failure.[/s] Done.
  3. Convert all texts to phrases and make this product ready for translation.

Project Sponsor: Steven Baron [ HostBoard ]

Screenshots: http://imgur.com/a/ntkZV

FAQ
  1. Does using this add-on gives you (developer) access to my (forum admin) OneDrive account?
    No. You create your own app to access your own OneDrive. I have no control over it.
  2. What do I put in OneDrive Folder URL in options?
    You don't need to worry about it (generally). It will auto populate.
  3. Where are the backups stored?
    OneDrive/vB Cloud Backup Manager
  4. Will this work on shared servers?
    Mostly not. It requires shell_exec and "unlimited" execution time (transferring gigabytes of data takes a while) which are generally not available on shared hosting except a few (such as HostGator).

How to Install
  1. Extract and upload the files in "upload" folder
  2. Import XML file from "import XML" to vB AdminCP > Products > Add/Import
  3. Create app (see below) and put "Client ID" and "Client Secret" in options.


How to Create the App
First you need to create an app and let the add-on know details about your app.
  1. Go to https://account.live.com/developers/applications/create
  2. Give a name and click accept.
  3. Click API Settings.
  4. Put yoursite.com/admincp/onedrive-callback.php in Redirect URLs.
  5. Save.
  6. Click API Settings
  7. Get "Client ID" and Client Secret" and put them in vBulletin Admin CP > CBM > Options

Change Log:
  • v 1.3.1
    • Fixed a minor bug
  • v 1.3.0
    • Added email reporting
    • Added auto delete after upload
    • Added various toggle options
    • Added Modification date
    • Added confirmation for manual retrieve/delete/upload actions
    • Added logging
    • Fixed a MAJOR bug preventing auto backup/upload in [s]some[/s] most cases
  • v 1.2.0
    • Added support for up to 10GB backup file
    • Added fragment size option (default 50MB)
    • Added lots of error checking
    • Fixed rename admincp issue.
  • v 1.0.0
    • Initial release.

Download Now

File Type: zip cbm_v1.0.0.zip (12.9 KB, 37 views)
File Type: zip cbm_v1.2.0.zip (14.9 KB, 40 views)
File Type: zip cbm_v1.3.0.zip (88.8 KB, 29 views)
File Type: zip cbm_v1.3.1.zip (88.8 KB, 148 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
9 благодарности(ей) от:
BCP Hung, chikuru, davidg, Elite_360_, Hostboard, LOGECT, RichieBoy67, SaN-DeeP, tanzeelniazi

Comments
  #42  
Old 05-15-2015, 07:14 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Respected Sir,
I always appreciate voluntary work done by vb.org team/users, thanks for great modification..

Quote:
developers/applications/create
just dont hammer this URL with new accounts on this service I meant..
Oh replace G with O or M above.
Google/Onedrive/Microsoft
Reply With Quote
  #43  
Old 05-25-2015, 01:28 AM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SaN-DeeP View Post
This modification still deserves to be best on list (Voted myself), but it wont work on database more then 3+ GB in size *actually tested*

I will recommend, checking some domain level assurance (G does not allows new accounts to synchronize rapidly)
Setup some synchronization rules by default rather then hammering services

Regards,
At which point does it fail for 3GB+ db size?
Reply With Quote
  #44  
Old 05-25-2015, 01:31 AM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bridge2heyday View Post
Does this mod work fine with databases bigger than 1 GB ?
It has been tested with 1.5GB data. Theoretically, it should work with up to 10GB.

The issue that can sometimes happen is that a portion of the upload might fail (due to network issue) and it gets retried. Right now there is a hard limit of 5 retry per upload instead of per chunk.

So if there are total of 5+ failure during upload (due to network issue), it will fail.
Reply With Quote
  #45  
Old 05-25-2015, 01:33 AM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Manoel J?nior View Post
Already I activated the shell_exec but really this product does not work with large files.

The product generated a * .tar 3.5GB and not upload, I have over 15GB available onedrive.

The product only uploads files smaller.
You should go to backup list and upload that file manually. In this case, you will be able to see live progress of the upload and see what goes wrong.
Reply With Quote
  #46  
Old 05-25-2015, 11:36 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CvP View Post
You should go to backup list and upload that file manually. In this case, you will be able to see live progress of the upload and see what goes wrong.
Already = Error
Reply With Quote
  #47  
Old 05-26-2015, 12:38 AM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please try changing the "OneDrive Upload Fragment Size" to a smaller number. I would suggest trying 5 or 10. I am wondering if the uploads are timing out.
Reply With Quote
  #48  
Old 05-26-2015, 03:53 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

10 is not good... 3-5 is suggested as per above reply..

CvP.. databases mostly containing binary files (images/videos on 4.x) fails, others doing awesome..
Reply With Quote
  #49  
Old 05-27-2015, 12:41 AM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have discussed adding an option to specify certain directories not be backed up. These would be for more static based items such as arcade files which should reduce the overall file size and improve the upload.
Reply With Quote
  #50  
Old 05-29-2015, 05:44 PM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Manoel J?nior View Post
Already = Error
Sorry. I think I know which issue you are facing and it doesn't have a good error msg. Will post the latest version which you can try.
Reply With Quote
  #51  
Old 05-29-2015, 05:53 PM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SaN-DeeP View Post
Respected Sir,
I always appreciate voluntary work done by vb.org team/users, thanks for great modification..

just dont hammer this URL with new accounts on this service I meant..
Oh replace G with O or M above.
Google/Onedrive/Microsoft
We are using Microsoft OneDrive and their official API which allows up to 10GB single file upload.

Quote:
Originally Posted by SaN-DeeP View Post
10 is not good... 3-5 is suggested as per above reply..

CvP.. databases mostly containing binary files (images/videos on 4.x) fails, others doing awesome..
From CBM's side, it doesn't really matter as it is just reading your database backup file and sending it to OneDrive in binary format. Your file content should not affect anything unless OneDrive is refusing your content for some reason.

I will update a new version tomorrow. Please try that and if problem still persists, I'd be happy to have a copy of the "problematic" database for detailed testing/debugging.

OneDrive Upload Fragment Size should be set as large as possible for faster performance but you can try smaller values if the connection is dropping.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05215 seconds
  • Memory Usage 2,351KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete