container id fix

This commit is contained in:
shimon
2023-08-15 10:42:14 +03:00
parent 1c857c982e
commit fbae9f859f
+3
View File
@@ -56,6 +56,9 @@ class Backup extends Action
Console::exit();
}
console::info('Trying to connect to ' . $this->dsn->getHost() . ':' . $this->dsn->getPort() .
'user:' . $this->dsn->getUser() . 'password:' . $this->dsn->getPassword());
try {
$dsn = new DSN(App::getEnv('_APP_CONNECTIONS_BACKUPS_STORAGE', ''));
$this->s3 = new DOSpaces('/' . $database . '/full', $dsn->getUser(), $dsn->getPassword(), $dsn->getPath(), $dsn->getParam('region'));