Hi,
I have the following problem.
In the db engine I have the following backups:
engine=# select * from vm_backups;
backup_id | from_checkpoint_id | to_checkpoint_id
| vm_id
| phase | _create_date | host_id |
description
| _update_date | backup_type |
snapshot_id | is_stopped
--------------------------------------+--------------------+--------------------------------------+------------------------------------
--+-------+----------------------------+---------+-------------------------------------------------------------------------------------
-----------------------------------+----------------------------+-------------+--------------------------------------+------------
864beee4-c87d-447c-a249-83a38fd1d4e7 | |
0ecf0a56-e7bb-4133-9ac7-441aa0d84545 | e1465242-3724-405b-9750-250d1eeb974
2 | Ready | 2024-12-18 16:42:54.717+01 | |
{"type":"veeam","job_uuid":"0c3a6b0a-b46e-4ca2-8ed1-3d29c4b221ab","session_id":"4706
6400-4f1f-456e-ab94-6c3af7043809"} | 2024-12-18 16:43:06.736+01 | hybrid |
234de52d-8739-499a-8031-b8d6f6db0422 | f
ace9cdf3-ad51-45b9-af6f-1728b3941187 | |
e5b1ed24-4781-43dc-a1fd-b71173fd1602 | f2e2a274-71f7-4e4a-87ae-942ce0b78dd
2 | Ready | 2024-12-19 11:35:16.67+01 | |
{"type":"veeam","job_uuid":"0c3a6b0a-b46e-4ca2-8ed1-3d29c4b221ab","session_id":"8d89
018d-ad81-4857-a4e3-42cf0b38a41d"} | 2024-12-19 11:35:40.907+01 | hybrid |
c9108e74-8bdc-401a-b27d-adab99f28682 | f
(2 rows)
I want to stop the backups and delete them.
I ran the following commands on the KVM nodes to stop the backups:
#vdsm-client VM stop_backup vmID=e1465242-3724-405b-9750-250d1eeb9742
backup_id=864beee4-c87d-447c-a249-83a38fd1d4e7
{
"code": 0,
"message": "Done"
}
#vdsm-client VM stop_backup vmID=e1465242-3724-405b-9750-250d1eeb9742
backup_id=864beee4-c87d-447c-a249-83a38fd1d4e7
{
"code": 0,
"message": "Done"
}
but in the db there are still:
engine=# select * from vm_backups;
backup_id | from_checkpoint_id | to_checkpoint_id
| vm_id
| phase | _create_date | host_id |
description
| _update_date | backup_type |
snapshot_id | is_stopped
--------------------------------------+--------------------+--------------------------------------+------------------------------------
--+-------+----------------------------+---------+-------------------------------------------------------------------------------------
-----------------------------------+----------------------------+-------------+--------------------------------------+------------
864beee4-c87d-447c-a249-83a38fd1d4e7 | |
0ecf0a56-e7bb-4133-9ac7-441aa0d84545 | e1465242-3724-405b-9750-250d1eeb974
2 | Ready | 2024-12-18 16:42:54.717+01 | |
{"type":"veeam","job_uuid":"0c3a6b0a-b46e-4ca2-8ed1-3d29c4b221ab","session_id":"4706
6400-4f1f-456e-ab94-6c3af7043809"} | 2024-12-18 16:43:06.736+01 | hybrid |
234de52d-8739-499a-8031-b8d6f6db0422 | f
ace9cdf3-ad51-45b9-af6f-1728b3941187 | |
e5b1ed24-4781-43dc-a1fd-b71173fd1602 | f2e2a274-71f7-4e4a-87ae-942ce0b78dd
2 | Ready | 2024-12-19 11:35:16.67+01 | |
{"type":"veeam","job_uuid":"0c3a6b0a-b46e-4ca2-8ed1-3d29c4b221ab","session_id":"8d89
018d-ad81-4857-a4e3-42cf0b38a41d"} | 2024-12-19 11:35:40.907+01 | hybrid |
c9108e74-8bdc-401a-b27d-adab99f28682 | f
(2 rows)
Do you have any idea how I can accomplish this?
Thank you very much.