# Bedrock Backup methods

**URL:** https://discourse.roots.io/t/bedrock-backup-methods/4853
**Category:** bedrock
**Created:** 2015-09-28T10:18:40Z
**Posts:** 17

## Post 1 by @Twansparant — 2015-09-28T10:18:40Z

Hi there,

In my latest project I started using Trellis with Bedrock and I’m loving it!  
Currently I’m not using Trellis (yet) for automatic deployments, since I don’t have SSH access to my production servers.

One problem I bumped into because of this, is my backup method. In the past I used [BackupBuddy](https://ithemes.com/purchase/backupbuddy/) with satisfaction. However, since BackupBuddy only backs up files in the **Wordpress root** (which is the **wp** folder), the **app** folder is not included in the backup, which is the most important folder to backup.

I was wundering if someone else has come up with a workaround or uses a different plugin for backing up remote files?

Would love to hear any suggestions!  
I already submitted a support ticket to iThemes, but I doubt they will add an option to include a one level higher folder in their backup method.

Thanks!

---

## Post 2 by @ben — 2015-09-28T14:37:06Z

If BackupBuddy doesn’t support WordPress installed in a subdirectory, that’s a huge design flaw on their end :confused:

---

## Post 3 by @Twansparant — 2015-09-28T14:56:09Z

I think it does support that (because the **wp** folder is backed up correctly), but it expects that all the uploads, plugins and theme files are also in that subdirectory and not one level higher in the **app** folder…

---

## Post 4 by @brandon — 2015-09-29T19:00:36Z

I use VaultPress. It costs something, but it works extremely well.

 ![](https://discourse.roots.io/uploads/default/original/2X/5/5ff927ebda4c6e77399ca1e4745f435d1b3cd6a7.jpg)

---

## Post 5 by @Twansparant — 2015-09-29T19:45:06Z

> [@brandon](#):
>
> I use VaultPress. It costs something, but it works extremely well

Thanks! So you can confirm it works perfectly with the Bedrock folder structure? Might be worth switching in that case

---

## Post 6 by @brandon — 2015-09-30T00:20:45Z

Yes, it does indeed work with Bedrock.

---

## Post 7 by @bramwillemse — 2015-12-07T13:16:13Z

Hi there. I’m using Infinitewp and I like it. VaultPress might be great, but it’s really expensive if you need to manage a bunch of websites. So I’m surprised this is being offered as the solution in this thread.

**Infinitewp** also doesn’t support backing up files outside the wp root folder, which I think is logical when thinking about security. They do advise to create symlinks to the folders you want backed up. To me it sounds like a proper solution.

Still I’d like to fully integrate it into the Capistrano process and I’m not too sure about that. I suspect I need to add it to deploy.rb as a task to run after deploy.

I need symlinks for all custom files:

1. shared web/app/uploads folder
2. the web/app folder of the current release

I’ve come up with something like this:

```
namespace :deploy do
    desc 'Place correct symlinks for functional infinitewp backups'
    task :symlink_config do
        on roles(:app) do
            execute 'ln -s /home/username/webapps/website.com/current/web/app /home/username/webapps/website.com/current/web/wp/'
            execute 'ln -s /home/username/webapps/website.com/shared/web/app/uploads /home/username/webapps/website.com/current/web/wp/'
        end
    end
end

after 'deploy:publishing', 'deploy :linked_files'
```

The most important think I’m missing here – I think – is a way to use variables to construct the paths to the current release folder. It’s also very possible that I totally messed up the whole structure, since I’m not used to coding in Ruby. Any input would be great. Thanks!

---

## Post 8 by @craigpearson — 2016-02-29T11:12:55Z

Did you ever find a solution to this, I’m trying to achieve the same thing to get backupbuddy working and Ruby isn’t my strong point either

---

## Post 9 by @Twansparant — 2016-02-29T12:14:33Z

Nope unfortunately not, but in retrospect I think BackupBuddy is possibly the worst plugin I ever purchased. I use it on several websites and I get errors all the time, it’s just not reliable. Their new **BackupBuddy Stash Live** feature even crashed my site (memory overload).  
I tried Vaultpress on one of my websites and didn’t have one single error yet, but it is expensive though. If your hosting offers [installatron](http://installatron.com/) you can make backups of your Wordpress with that.

---

## Post 10 by @DavidSchargel — 2016-02-29T19:50:34Z

I’ve been using UpdraftPlus with their [More Files Add-On](https://updraftplus.com/shop/more-files/).

The only bummer is that UpdraftPlus’ add-ons require their non [wordpress.org](http://wordpress.org) version…and I personally haven’t worked out a great way of handling premium plugins with Composer.

---

## Post 11 by @allurewebsolutions — 2017-07-14T18:04:25Z

I’m getting a security check error every time I try to save a setting in updraftplus. Have you run across that? Do I need some sort of special file permissions?

![](https://discourse.roots.io/uploads/default/original/2X/a/a727ef9c2fe2a0657b1f150f09f244cec98816fb.png)

---

## Post 12 by @DavidSchargel — 2017-07-15T02:41:19Z

My first gut instinct is to

- check for you’re running the most recent version
- see if the same issues are happening on dev and staging, and
- contact the updraft people for technical support.

---

## Post 13 by @djivatma — 2017-08-31T16:10:52Z

Hey, Brandon and everyone! :wink:  
Do you have **any updates regarding this topic?**

**What backup method is the best?**

I’ve tried to connect my site to VaultPress but I’ve got a message “That’s not a WordPress site.” - [Dropbox - File Deleted - Simplify your life](http://take.ms/MnIeI)

So I’ve asked the support and here is their response:

> It looks like we are not able to discover and connect to your site due to the file structure - For example, your xmlrpc.php file (which is integral for Jetpack to work properly or for us to connect to your site to provide our services) shows up as missing due to this:
> 
> [https://facebodyart.com/xmlrpc.php](https://facebodyart.com/xmlrpc.php)
> 
> I would recommend reaching out to the developers behind Bedrock to see if they know common ways to connect Jetpack and VaultPress service through a Bedrock setup (I checked in our internal documentation and conversations and only saw one other instance of Bedrock in place, but we were not complete on finding out a solution ourselves).
> 
> Once you’ve spoken with the Bedrock folks, please let me know if there’s anything I can do from this side to help!

**Any Ideas how to fix this issue?** :thinking:

---

## Post 14 by @ben — 2017-08-31T16:41:02Z

VaultPress pointed you to us? Tell VaultPress that they apparently don’t support [WordPress installed in a subdirectory](https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory) and they should figure out how to do so. The finger can’t be pointed at Bedrock at the end of the day.

---

## Post 15 by @Twansparant — 2017-08-31T17:46:48Z

That’s strange, I have been backing up one of my bedrock sites with Vaultpress for almost 2 years now? Latest backup: today?

Did you enter your site address with the /wp/ suffix? I think that’s essential!

---

## Post 16 by @djivatma — 2017-08-31T19:44:12Z

Yep! That’s work! Thanks a lot! :+1:

---

## Post 17 by @JulienMelissas — 2017-09-04T17:32:03Z

I want to mark this as the solution but VaultPress isn’t necessarily the primary topic of this thread so I’m just gonna say thanks for posting that haha!
