PostgreSQL
September 10, 2022
Перенести кластер в другой фолдер
Если необходимо перенести кластер в другой фолдер, то можно для этого воспользоваться командой в ус.
export POSTGRES=$(yc postgresql cluster get cam-postgres1 --format=json | jq -r ".id") yc postgresql cluster move $POSTGRES \ --destination-folder-name=folder2 \ --async
Здесь folder2 - название другого фолдера.
Или по идентификатору каталога:
export POSTGRES=$(yc postgresql cluster get cam-postgres1 --format=json | jq -r ".id") yc postgresql cluster move $POSTGRES \ --destination-folder-id=folder2_id \ --async
September 10, 2022, 11:14
0 views
0 reposts