Forum
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:
- Added this to the buckets.php file:
<?php
return [
'backup' => [
'type' => 'file',
'web_path' => '',
'file_path' => '/var/www/cms/resources/db-backups',
'role' => 'backup',
],
];
?>
Then I created that folder, added the backup.sql file to the folder
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?
Backup only works with remote buckets.
file
buckets are classed as local, so they won't appear in the list.