BackupBuddy

Hello, all! I'm trying to avoid the BackupBuddy forums as the search functionality has much to be desired and the website itself is dated...So I'm hoping to get some help from the wonderful members here! :slight_smile:

I have BackupBuddy installed on our network, however I'm not 100% positive on what exactly it's backing up. I've seen conflicting information posted here in the forums. If I network activate it, and then individually set it up for each of the sites, is the file created only a back up of the individual site? Or, should I only active it on the main site and it will back up absolutely everything?

  • DavidM
    • DEV MAN’s Mascot

    Hi mmedia,

    As far as I've seen, BackupBuddy is still not multisite compatible, meaning that it can't backup individual sites within a network.

    What it does, from what I've seen, is it backs up the entire database and/or various crucial folders like /wp-content/.

    Personally, I've used it to backup an entire multisite (network activated in this case), and in that sense I found it "compatible" but I've not used it to backup a sub-site in that network and to my knowledge that's still not possible.

    Cheers,
    David

  • mmedia
    • The Incredible Code Injector

    Thanks for the response David. From what I gathered, that is what I thought it did (back-up the entire network). This is fine for our needs. I do need it to do a full back-up. I just wanted to confirm that it's successfully ran a complete backup on a multi-site. I'm having our database developer review and compare the back-up file to actual tomorrow, just to 100% verify, but I wanted input here as well.

    If I install this on the main site, it's safe to say that it will backup everything?

  • Mason
    • DEV MAN’s Sidekick

    Hiya mmedia,

    Just chiming in here as I've used BackupBuddy successfully on multi-site installs as well.

    If I install this on the main site, it's safe to say that it will backup everything?

    Well, it's safe to say that it has worked for several of us thus far. Your best bet is to always test it out a couple times up front and continually thereafter to ensure the integrity of the backups. Murphy's Law is always in effect and nothing's completely 'fool proof' ya know :slight_smile:

    Still, does work for me and for others, so I'd say give it a shot!

  • philesq
    • Site Builder, Child of Zeus

    I've been using BackupBuddy on numerous stand-alone sites and one multisite. I have only tried to restore or migrate a standalone site and it works beautifully for that. It backs up my multisite easily but I have never tried to restore or migrate the multisite. I've just been hoping that it works as they claim it does. Backing up individual sites separately can be done from within the word press control panel by the site user.

    My question is whether BackupBuddy will work with Multi-DB?

  • philesq
    • Site Builder, Child of Zeus

    Thanks ChuckS for posting at ithemes Backupbuddy Multisite forum. Apparently someone wrote a script to back up Multi-DB and shared it with Backupbuddy. If anyone else would like to see Backupbuddy work with Multi-DB, please let them know at:

    http://ithemes.com/forum/topic/21483-req-support-for-using-multiple-databases-multi-db-or-hyper-db-plugins/

    In case membership is required to post in the ithemes forum for Backupbuddy Multisite, they have a pre-sales forum where somebody started a thread asking about Multi-DB support at:

    http://ithemes.com/forum/topic/29824-backup-buddy-multi-db/

  • akasya
    • Flash Drive

    Hello,

    I also use Backup Buddy and just moved to multi-db. It seems it is not clear when BackupBuddy will support multi-db. In this case, I was wondering what the best way is to make a full back up of a multisite, multi database platform. Also how shall this backup be restored?

    Thanks

  • Mason
    • DEV MAN’s Sidekick

    Using PHP (via BackupBuddy or similar) to backup multiple databases is a major strain on the server and not something you'll find recommended by anyone.

    You could setup a shell script to run a cron job to backup the databases. Something like this would work:
    http://www.edwardawebb.com/web-development/simple-shell-script-backup-multiple-mysql-databases

    Alternatively, I know many server admins who are fans of navicat and it should also be able to backup multiple databases:
    http://www.dailymotion.com/video/xon3bp_how-to-backup-whole-server-and-multiple-databases-using-navicat-linux_tech

    Either of the above will get it done and is much better in terms of multi-database backups.

    Thanks!

  • Mason
    • DEV MAN’s Sidekick

    Hiya,

    Do you know what Edublog does for backup?

    We employ 2 full-time server admins :wink:

    Edublogs is a completely unique beast. We have the binary logs and monthly DB dumps that we store as well as using S3 versions for file changes.

    It's incredibly complicated and top secret (mostly because I don't understand all of it).

    Hope that helps, though. Thanks!

  • Mason
    • DEV MAN’s Sidekick

    Yeah, I understand. There's a sort of "middle ground" where you've got too many not to worry, but not enough to hire your own gunmen :slight_smile:

    How many databases? If it's 16 I'd say you could set up cron jobs to run and back them up wherever you want.

    A few years ago I used to backup my installs to a gmail address and set up a filter to mark them as spam. Google keeps spam messages for 30 days and it doesn't count towards your data limit. So I always had 30 days of backups and no cost to worry about :wink: Probably wouldn't recommend that now though....

    I haven't purchased Navicat myself, but I know several members and staff alike swear by it here. Best of luck to ya. Thanks!

  • akasya
    • Flash Drive

    Hello,

    @masonjames

    Thanks a lot for the help masonjames. I am setting up a cronjob according to instructions in codex.

    I was wondering where do the problems occur about the wordpress installations. Is it largely due to problems with the hosting provider?

    I also would like to learn what shall be done to prevent any problems beforehand. Are there any plugins or methods you recommend to prevent problems?

    Thanks

  • Mason
    • DEV MAN’s Sidekick

    Hiya @akasya,

    I was wondering where do the problems occur about the wordpress installations. Is it largely due to problems with the hosting provider?

    What times of problems are you referring to? Security? Backups? Scalability?

    I also would like to learn what shall be done to prevent any problems beforehand. Are there any plugins or methods you recommend to prevent problems?

    Again, depends on the kind of problems you're referring to. I use http://sucuri.net/ to do regular security sweeps of my sites. One of the main issues I've seen is when users or developers are accessing their site over ftp rather than sftp. Accessing the site in this way leaves the username/password open to being picked up and gives a hacker the ability to access the file structure as well as the database.

    Let me know what other concerns you have and I'll help if I can.

  • akasya
    • Flash Drive

    Hi James,

    Actually I did not have any problems so far. And since this is my first multisite, I have no idea what problems I might have. Having invested much time in a project, I just want to have the maximum protection and security possible.

    I will work on sucuri.net and I set up my sftp. I was just connecting with ftp before. Thanks a lot for the warning.

    I am trying WPMU snapshot for making backups of individual subsites. I seems more practical than BackupBuddy but I am having this warning in the third table (wp_7_comments) and it never completes fully. The subsite is actually not open to comments.

    Unknown: errno:2 fopen(pclzip-4fffedcda1963.tmp): failed to open stream: Permission denied ..../public_html/wp-admin/includes/class-pclzip.php on line 2203

    Can you please let me know what to do about this?

    I also installed Word Fence pro which seems to work fine. What do you thin about this plugin.

    Many thanks for your attention.

  • akasya
    • Flash Drive

    Hi Mason,

    I am really satisfied with WordFence, really nice plugin as far as I undersand.

    About snapshot, I had a look at the link you mentioned and add the following to config

    define('PCLZIP_TEMPORARY_DIR', ABSPATH . 'wp-content/tmp/');

    However I am still getting the following in the third step, wp_blogs. I will really appreciate if you let me know what the problem is

    Unknown: errno:2 fopen(........../public_html/wp-content/tmp/pclzip-5006b2601b7df.tmp): failed to open stream: No such file or directory ......./public_html/wp-admin/includes/class-pclzip.php on line 2203

    Thanks

  • Mason
    • DEV MAN’s Sidekick

    Hiya @akasya,

    Ok then, we need to debug that with you. Could you open a new thread on it (you can link back to this one if you like).

    This one's been going for over a year and has a lot of stuff not relevant to your issue. Starting fresh will allow us to pull in a developer or other support reps more quickly and easily.

    Thanks!

  • Timothy
    • Chief Pigeon

    Hey there.

    Thanks for posting in this thread, however it might be best if you open your own, even if the issues seem closely related. That way it will remain independent of this one and ensure it doesn't confuse issues here if this thread needs reopening again by the author.

    Posting on old threads can also lead to us missing your questions.

    It also means the member who started this thread or anyone following it isn't inundated with post notifications each time we respond to each other. A lengthy thread could annoy the original

    This also allows us to better track and answer your questions to ensure we don't miss any for ya.

    You can start a new thread here:

    https://premium.wpmudev.org/qanda/

    For this issue it might be best to speak with the plugins developer, they will know this plugin more intimately.

    Thanks.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.