mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-07 02:07:43 +02:00
Fix backup-all script (#8255)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -1010,7 +1010,9 @@ export function devTool (
|
||||
|
||||
const skipWorkspaces = new Set(cmd.skip.split(',').map((it) => it.trim()))
|
||||
|
||||
const token = generateToken(systemAccountUuid, '' as WorkspaceUuid)
|
||||
const token = generateToken(systemAccountUuid, '' as WorkspaceUuid, {
|
||||
service: 'tool'
|
||||
})
|
||||
const workspaces = (await getAccountClient(token).listWorkspaces(cmd.region))
|
||||
.sort((a, b) => {
|
||||
const bsize = b.backupInfo?.backupSize ?? 0
|
||||
|
||||
Reference in New Issue
Block a user