You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day!
Cleanup does not work correctly when using synchronization on Yandex Disk.
In the arhitector/yandex library, which is used to work with Yandex.Disk, method Disk::getResource($path, $limit = 20, $offset = 0) has a default limit of 20. Because of this, an incomplete list of backups is returned.
The Yandex Disk client is used here, to get the full list, you can pass $limit = -1 $items = $this→disk→getResource($this→path→getPathThatIsNotChanging(), -1);
Good day!
Cleanup does not work correctly when using synchronization on Yandex Disk.
In the arhitector/yandex library, which is used to work with Yandex.Disk, method
Disk::getResource($path, $limit = 20, $offset = 0)
has a default limit of 20. Because of this, an incomplete list of backups is returned.The Yandex Disk client is used here, to get the full list, you can pass
$limit = -1
$items = $this→disk→getResource($this→path→getPathThatIsNotChanging(), -1);
Example of my config:
My Yandex disk state (47 files):
List of files to delete (wrong result):
List of files to delete with limit -1 (correct result):
Thank you.
The text was updated successfully, but these errors were encountered: