Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The requested filesystem type Local is not currently supported #198

Open
clobose opened this issue Feb 27, 2024 · 0 comments
Open

The requested filesystem type Local is not currently supported #198

clobose opened this issue Feb 27, 2024 · 0 comments

Comments

@clobose
Copy link

clobose commented Feb 27, 2024

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');
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant