platform/tests/restore-workspace.sh
Andrey Sobolev c8c06cb0dc
Update sanity DB restore (#2836)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2023-06-09 16:36:55 +06:00

13 lines
299 B
Bash
Executable File

#!/bin/bash
# Restore workspace contents in mongo/elastic
./tool.sh backup-restore ./sanity-ws sanity-ws
./tool.sh upgrade-workspace sanity-ws
# Re-assign user to workspace.
./tool.sh assign-workspace user1 sanity-ws
./tool.sh configure sanity-ws --enable=*
./tool.sh configure sanity-ws --list