Forum

Thread tagged as: Runway, Backup

issue with dropbox backup

Hi i have followed the instructions on setting up the backup in runway, create the dropbox account and app, update the runway.php file with the dropbox details, they are not in the runway file by default, so i added

|--------------------------------------------------------------------------
        | DropBox
        |--------------------------------------------------------------------------
        |
        | Dropbox security credentials for accessing Dropbox 
        |
        */

        'dropbox' => [
        'access_token' => 'xxx',
        'handler'      => 'PerchDropbox_ResourceBucket',
        'handler_path' => PERCH_PATH.'/addons/apps/perch_dropbox/PerchDropbox_ResourceBucket.class.php',
            ],  

added the backup to the buckets.php file, created the perch/resources/backup folder.

i created a temp-backup folder and are recieving these errors attched screenshot.

backup errors any help would be great

Regards,

Brett

```

Brett Warne

Brett Warne 0 points

  • 7 years ago

the line at the top is hard to see so i have copied it here

Warning: gzopen(..\temp-backup\tmp_daily_201410241410.sql.gz): failed to open stream: No such file or directory in D:\xampp\htdocs\runway\perch\core\runway\lib\vendor\rah\danpu\src\Rah\Danpu\Compress.php on line 72

I am getting this eror as well

error 1

i did create the folder in my xampp

Drew McLellan

Drew McLellan 2638 points
Perch Support

Is your temp folder writable? If it's not then backup won't be able to create the dump file.

I'll remove your access key from the post above, as I presume you don't want the world accessing your Dropbox.

Thanks drew, on windows it has full or read and write access.

Drew McLellan

Drew McLellan 2638 points
Perch Support

PHP clearly thinks it's not writable, which is going to prove a problem.

What does the 'env' section of your runway.php file look like?