-
Notifications
You must be signed in to change notification settings - Fork 223
Description
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');
`