Skip to content

The requested filesystem type Local is not currently supported #198

@clobose

Description

@clobose

Fatal error: Uncaught BackupManager\Filesystems\FilesystemTypeNotSupported: The requested filesystem type Local is not currently supported

`require '../vendor/backup-manager/vendor/autoload.php';

use BackupManager\Config\Config;
use BackupManager\Filesystems;
use BackupManager\Databases;
use BackupManager\Compressors;
use BackupManager\Manager;

use BackupManager\Filesystems\Destination;

$filesystems = new Filesystems\FilesystemProvider(Config::fromPhpFile('pruebasstorage.php'));
$filesystems->add(new Filesystems\DropboxFilesystem);

$databases = new Databases\DatabaseProvider(Config::fromPhpFile('pruebasstorage.php'));
$databases->add(new Databases\PostgresqlDatabase);

$compressors = new Compressors\CompressorProvider;
$compressors->add(new Compressors\GzipCompressor);

$manager = new Manager($filesystems, $databases, $compressors);

$manager->makeBackup()->run('production', [new Destination('dropbox', 'test/backup.sql')], 'gzip');
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions