Forum

Thread tagged as: Question, Problem, Runway

Restoring backup with Runway – asset missing locally

Hi,

I'm running 2.8.2. I've a backup setup with Amazon S3. It works fine, it backs-up the database and I do see a default folder in the amazon bucket that contains the assets.

Nevertheless, when I restore a given backup to my local environment – in order to get it sync-up with what I have in production – it's pulling the database properly but the asset is missing locally.

Note, that I haven't configured any specific bucket for the assets. When I add a new asset in the admin, it goes straight to perch/ressources/.

buckets.php looks like this:

return [
      'daily' => [
            'type' => 'amazon_s3',
            'web_path'  => 'myproject.s3-website-us-east-1.amazonaws.com',
            'file_path' => 'myproject',
      ]
]

Cheers,

Robin Pick

Robin Pick 5 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Is your expectation that the assets would all be downloaded from the remote bucket to your local system?

Yes, is this pure fantasy? :D thought it is possible after seing this video: https://docs.grabaperch.com/video/v/runway-site-migration/

Drew McLellan

Drew McLellan 2638 points
Perch Support

In that case all the files are in cloud storage, and it's the database that is being backed up and restored.

At the moment we don't download those files, but I can take a look and see what might be involved in doing that.

That would be a nice addition. Thanks for considering it!

Cheers,