Update src/Appwrite/Platform/Tasks/Backup.php

Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
Shmuel Fogel
2023-08-07 23:52:45 +03:00
committed by GitHub
parent 5fd5c875fc
commit 50aba6a1c2
+1 -1
View File
@@ -91,7 +91,7 @@ class Backup extends Action
$filename = $time . '.tar.gz';
$local = new Local(self::BACKUPS . '/' . $this->database . '/full/' . $time);
$local->setTransferChunkSize(5 * 1024 * 1024); // > 5MB
$local->setTransferChunkSize(5 * 1024 * 1024); // 5MB
$backups = $local->getRoot() . '/files';
$tarFile = $local->getPath($filename);