mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update "utopia-php/storage" tag 0.16.*
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@
|
||||
"utopia-php/preloader": "0.2.*",
|
||||
"utopia-php/queue": "0.5.*",
|
||||
"utopia-php/registry": "0.5.*",
|
||||
"utopia-php/storage": "dev-feat-transfer as 0.13.3",
|
||||
"utopia-php/storage": "0.16.*",
|
||||
"utopia-php/swoole": "0.5.*",
|
||||
"utopia-php/websocket": "0.1.0",
|
||||
"resque/php-resque": "1.3.6",
|
||||
|
||||
@@ -63,8 +63,9 @@ class Restore extends Action
|
||||
}
|
||||
|
||||
$this->log('--- Restore Start ' . $id . ' --- ');
|
||||
$filename = $id . '.xbstream';
|
||||
|
||||
$start = microtime(true);
|
||||
$filename = $id . '.xbstream';
|
||||
$cloud = $cloud === 'true' || $cloud === '1';
|
||||
$destination = new Local(self::BACKUPS_PATH . '/restore/' . $id);
|
||||
$files = $destination->getRoot() . '/files';
|
||||
@@ -157,9 +158,6 @@ class Restore extends Action
|
||||
|
||||
$args = [
|
||||
'xtrabackup',
|
||||
// '--user=' . $this->dsn->getUser(),
|
||||
// '--password=' . $this->dsn->getPassword(),
|
||||
// '--host=' . $this->dsn->getHost(),
|
||||
'--prepare',
|
||||
'--strict',
|
||||
'--target-dir=' . $target,
|
||||
@@ -190,9 +188,6 @@ class Restore extends Action
|
||||
|
||||
$args = [
|
||||
'xtrabackup',
|
||||
// '--user=' . $this->dsn->getUser(),
|
||||
// '--password=' . $this->dsn->getPassword(),
|
||||
// '--host=' . $this->dsn->getHost(),
|
||||
'--move-back',
|
||||
'--strict',
|
||||
'--target-dir=' . $target,
|
||||
|
||||
Reference in New Issue
Block a user