Laravel-backup: Save backup in a subfolder

Created on 28 Jun 2019  路  2Comments  路  Source: spatie/laravel-backup

Hi, I need to save the backups in a specific subfolder of S3. How can I do this? I don`t found in documentation.

Saving in a subfolder is a MUST HAVE for me, because I save multiples sites in one Digital Ocean Space.

Thanks for the help

Most helpful comment

You are looking for the filesystems configuration option root.

Example:

'disks' => [
    's3' => [
        'root' => 'subfolder/'
    ],
],

All 2 comments

You are looking for the filesystems configuration option root.

Example:

'disks' => [
    's3' => [
        'root' => 'subfolder/'
    ],
],

It works. Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KHucks picture KHucks  路  3Comments

hedii picture hedii  路  5Comments

sunnyjayjay picture sunnyjayjay  路  4Comments

rylxes picture rylxes  路  5Comments

mvdnbrk picture mvdnbrk  路  3Comments