Forum

Thread tagged as: Question, Problem, Backup

Restore From Bucket List Database Backup - Fresh Copy of a Site

Hi there. I've made a fresh copy of my website before I start some major updates. I've got Perch Runway 2 and will upgrade it to version 3 soon.

But I'd like to pull in all the content from the backup of the SQL file. It seems like this is done with a Bucket List, but it's not working for me. What am I missing?

Here's what I've done:

  1. Added this to the buckets.php file:
<?php
    return [

        'backup' => [
            'type'      => 'file',
            'web_path'  => '',
            'file_path' => '/var/www/cms/resources/db-backups',
            'role'      => 'backup',
        ],
    ];
?>
  1. Then I created that folder, added the backup.sql file to the folder

  2. Then I went to https://mysite.com/cms/core/settings/backup/restore/general/ (I call the 'perch' folder 'cms' as you can see)

But the list remains empty. Even with a refresh, log out/in, etc. Thoughts?

Leigh C

Leigh C 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Backup only works with remote buckets. file buckets are classed as local, so they won't appear in the list.