{"action":"closed","issue":{"url":"https://api.github.com/repos/NAUbackup/VmBackup/issues/58","repository_url":"https://api.github.com/repos/NAUbackup/VmBackup","labels_url":"https://api.github.com/repos/NAUbackup/VmBackup/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/NAUbackup/VmBackup/issues/58/comments","events_url":"https://api.github.com/repos/NAUbackup/VmBackup/issues/58/events","html_url":"https://github.com/NAUbackup/VmBackup/issues/58","id":268514956,"number":58,"title":"Warning Message","user":{"login":"aroldo-biz","id":25845095,"avatar_url":"https://avatars1.githubusercontent.com/u/25845095?v=4","gravatar_id":"","url":"https://api.github.com/users/aroldo-biz","html_url":"https://github.com/aroldo-biz","followers_url":"https://api.github.com/users/aroldo-biz/followers","following_url":"https://api.github.com/users/aroldo-biz/following{/other_user}","gists_url":"https://api.github.com/users/aroldo-biz/gists{/gist_id}","starred_url":"https://api.github.com/users/aroldo-biz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroldo-biz/subscriptions","organizations_url":"https://api.github.com/users/aroldo-biz/orgs","repos_url":"https://api.github.com/users/aroldo-biz/repos","events_url":"https://api.github.com/users/aroldo-biz/events{/privacy}","received_events_url":"https://api.github.com/users/aroldo-biz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-25T19:12:07Z","updated_at":"2017-11-11T16:58:54Z","closed_at":"2017-11-11T16:58:54Z","author_association":"NONE","body":"One of my virtual machines is generating a warning message every day.\r\nWhat are the possible causes for warning in the backup of a virtual machine?\r\n\r\n\r\nLogs:\r\n\r\n2017-10-25-(00:01:02) - ***WARNING vdi-export dup - remove vm-export=IE9 - Win7\r\n2017-10-25-(00:01:02) - VmBackup config loaded from: /etc/vmbackup.cfg\r\n2017-10-25-(00:01:02) - VmBackup.py running with these settings:\r\n2017-10-25-(00:01:02) -   backup_dir        = /mnt/backup/xenserver0/\r\n2017-10-25-(00:01:02) -   status_log        = /mnt/backup/xenserver0/status.log\r\n2017-10-25-(00:01:02) -   compress          = False\r\n2017-10-25-(00:01:02) -   max_backups       = 1\r\n2017-10-25-(00:01:02) -   vdi_export_format = vhd\r\n2017-10-25-(00:01:02) -   pool_db_backup    = 1\r\n2017-10-25-(00:01:02) -   exclude (cnt)= 0\r\n2017-10-25-(00:01:02) -   exclude: \r\n2017-10-25-(00:01:02) -   vdi-export (cnt)= 3\r\n2017-10-25-(00:01:02) -   vdi-export: Sophos UTM, Web-Dev, IE9 - Win7\r\n2017-10-25-(00:01:02) -   vm-export (cnt)= 1\r\n2017-10-25-(00:01:02) -   vm-export: IE10 - Win7\r\n2017-10-25-(00:01:02) - SUCCESS check of parameters \r\n2017-10-25-(00:01:02) - ===========================\r\n2017-10-25-(00:01:02) - VmBackup running on xenserver ...\r\n2017-10-25-(00:01:02) - ===========================\r\n2017-10-25-(00:01:02) - Check if backup directory /mnt/backup/xenserver0/ is writable ...\r\n2017-10-25-(00:01:02) - /bin/touch \"/mnt/backup/xenserver0/00VMbackupWriteTest\"\r\n2017-10-25-(00:01:02) - Success: backup directory area is writable\r\n2017-10-25-(00:01:02) - ===========================\r\n2017-10-25-(00:01:02) - Space before backups: df -Th /mnt/backup/xenserver0/\r\n2017-10-25-(00:01:02) - Filesystem                       Type  Size  Used Avail Use% Mounted on\r\n2017-10-25-(00:01:02) - 192.168.1.19:/mnt/volume1/backup nfs4  1.8T  662G  1.1T  38% /mnt/backup\r\n2017-10-25-(00:01:02) - *** begin backup_pool_metadata ***\r\n2017-10-25-(00:01:02) - ** ignore: NOT master\r\n2017-10-25-(00:01:02) - ************ vdi-export= ***************\r\n2017-10-25-(00:01:02) - *** vdi-export begin Sophos UTM\r\n2017-10-25-(00:01:02) - vdi-export - vm_name: Sophos UTM max_backups: 1\r\n2017-10-25-(00:01:02) - new backup_dir: /mnt/backup/xenserver0/Sophos UTM/backup-2017-10-25-(00:01:02)\r\n2017-10-25-(00:01:02) - Writing vm config file.\r\n2017-10-25-(00:01:02) - Writing disk info\r\n2017-10-25-(00:01:02) - vbd: OpaqueRef:2ccc4c41-3c43-7466-1155-bc9d8e727e2b\r\n2017-10-25-(00:01:02) - vbd: OpaqueRef:4d324ffc-cdd7-2f7a-70c7-945da73a430b\r\n2017-10-25-(00:01:02) - disk: New virtual disk - begin\r\n2017-10-25-(00:01:02) - Writing VIF info\r\n2017-10-25-(00:01:02) - Writing VIF: 1\r\n2017-10-25-(00:01:02) - Writing VIF: 3\r\n2017-10-25-(00:01:02) - Writing VIF: 0\r\n2017-10-25-(00:01:02) - Writing VIF: 2\r\n2017-10-25-(00:01:02) - *** vdi-export begin xe command sequence\r\n2017-10-25-(00:01:02) - power-state ( RO)    : running\r\n2017-10-25-(00:01:02) - vm is running\r\n2017-10-25-(00:01:02) - 1.cmd: /opt/xensource/bin/xe vdi-list uuid=cf125882-2254-4145-a2b0-32882b303f25\r\n2017-10-25-(00:01:02) - uuid ( RO)                : cf125882-2254-4145-a2b0-32882b303f25\r\n2017-10-25-(00:01:02) -           name-label ( RW): New virtual disk\r\n2017-10-25-(00:01:02) -     name-description ( RW): \r\n2017-10-25-(00:01:02) -              sr-uuid ( RO): fc7f4b77-06a9-a874-e5ff-0bf356ef0c9a\r\n2017-10-25-(00:01:02) -         virtual-size ( RO): 128849018880\r\n2017-10-25-(00:01:02) -             sharable ( RO): false\r\n2017-10-25-(00:01:02) -            read-only ( RO): false\r\n2017-10-25-(00:01:02) - \r\n2017-10-25-(00:01:02) - \r\n2017-10-25-(00:01:02) - check for prev-vdi-snapshot: SNAP_Sophos-UTM_New-virtual-disk\r\n2017-10-25-(00:01:02) - cleanup old-snap-vdi-uuid: 2c30ca52-da5b-4e97-ba71-878db4118a87\r\n2017-10-25-(00:01:02) - cmd: /opt/xensource/bin/xe vdi-destroy uuid=2c30ca52-da5b-4e97-ba71-878db4118a87\r\n2017-10-25-(00:01:03) - This operation cannot be performed because this VDI is in use by some other operation\r\n2017-10-25-(00:01:03) - vdi: 2c30ca52-da5b-4e97-ba71-878db4118a87 (SNAP_Sophos-UTM_New-virtual-disk)\r\n2017-10-25-(00:01:03) - operation: destroy\r\n2017-10-25-(00:01:03) - WARNING /opt/xensource/bin/xe vdi-destroy uuid=2c30ca52-da5b-4e97-ba71-878db4118a87\r\n2017-10-25-(00:01:03) - 2.cmd: /opt/xensource/bin/xe vdi-snapshot uuid=cf125882-2254-4145-a2b0-32882b303f25\r\n2017-10-25-(00:01:09) - snap-uuid: 2354eaf1-283f-431c-b123-f46aee0c9589\r\n2017-10-25-(00:01:09) - 3.cmd: /opt/xensource/bin/xe vdi-param-set uuid=2354eaf1-283f-431c-b123-f46aee0c9589 name-label=\"SNAP_Sophos-UTM_New-virtual-disk\"\r\n2017-10-25-(00:01:09) - 4.cmd: /opt/xensource/bin/xe vdi-export format=vhd uuid=2354eaf1-283f-431c-b123-f46aee0c9589 filename=\"/mnt/backup/xenserver0/Sophos UTM/backup-2017-10-25-(00:01:02)/Sophos UTM.vhd\"\r\n2017-10-25-(00:10:53) - vdi-export success\r\n2017-10-25-(00:10:53) - 5.cmd: /opt/xensource/bin/xe vdi-destroy uuid=2354eaf1-283f-431c-b123-f46aee0c9589\r\n2017-10-25-(00:10:55) - *** vdi-export end\r\n2017-10-25-(00:10:55) - *** success: /mnt/backup/xenserver0/Sophos UTM/backup-2017-10-25-(00:01:02)/Sophos UTM.vhd : 42G\r\n2017-10-25-(00:10:55) - Deleting oldest backup /mnt/backup/xenserver0/Sophos UTM/backup-2017-10-24-(00:01:02) \r\n2017-10-25-(00:10:56) - VmBackup vdi-export Sophos UTM - ***WARNING*** t:9\r\n2017-10-25-(00:10:56) - *** vdi-export begin Web-Dev\r\n2017-10-25-(00:10:56) - vdi-export - vm_name: Web-Dev max_backups: 1\r\n2017-10-25-(00:10:56) - new backup_dir: /mnt/backup/xenserver0/Web-Dev/backup-2017-10-25-(00:10:56)\r\n2017-10-25-(00:10:56) - Writing vm config file.\r\n2017-10-25-(00:10:56) - Writing disk info\r\n2017-10-25-(00:10:56) - vbd: OpaqueRef:71624d69-4874-8b68-0d71-b6f6f5ebe8fb\r\n2017-10-25-(00:10:56) - vbd: OpaqueRef:e1a2cce3-0c54-43e3-f1cb-eafea3d17c3b\r\n2017-10-25-(00:10:56) - disk: Dev 0 - begin\r\n2017-10-25-(00:10:56) - Writing VIF info\r\n2017-10-25-(00:10:56) - Writing VIF: 0\r\n2017-10-25-(00:10:56) - *** vdi-export begin xe command sequence\r\n2017-10-25-(00:10:56) - power-state ( RO)    : running\r\n2017-10-25-(00:10:56) - vm is running\r\n2017-10-25-(00:10:56) - 1.cmd: /opt/xensource/bin/xe vdi-list uuid=3d1d5526-889c-40c8-8dc5-0477c7cf2d36\r\n2017-10-25-(00:10:56) - uuid ( RO)                : 3d1d5526-889c-40c8-8dc5-0477c7cf2d36\r\n2017-10-25-(00:10:56) -           name-label ( RW): Dev 0\r\n2017-10-25-(00:10:56) -     name-description ( RW): Created by template provisioner\r\n2017-10-25-(00:10:56) -              sr-uuid ( RO): fc7f4b77-06a9-a874-e5ff-0bf356ef0c9a\r\n2017-10-25-(00:10:56) -         virtual-size ( RO): 1181116006400\r\n2017-10-25-(00:10:56) -             sharable ( RO): false\r\n2017-10-25-(00:10:56) -            read-only ( RO): false\r\n2017-10-25-(00:10:56) - \r\n2017-10-25-(00:10:56) - \r\n2017-10-25-(00:10:56) - check for prev-vdi-snapshot: SNAP_Web-Dev_Dev-0\r\n2017-10-25-(00:10:56) - 2.cmd: /opt/xensource/bin/xe vdi-snapshot uuid=3d1d5526-889c-40c8-8dc5-0477c7cf2d36\r\n2017-10-25-(00:11:01) - snap-uuid: 11e5de51-40b0-42b3-8eb0-85ef77e34e01\r\n2017-10-25-(00:11:01) - 3.cmd: /opt/xensource/bin/xe vdi-param-set uuid=11e5de51-40b0-42b3-8eb0-85ef77e34e01 name-label=\"SNAP_Web-Dev_Dev-0\"\r\n2017-10-25-(00:11:02) - 4.cmd: /opt/xensource/bin/xe vdi-export format=vhd uuid=11e5de51-40b0-42b3-8eb0-85ef77e34e01 filename=\"/mnt/backup/xenserver0/Web-Dev/backup-2017-10-25-(00:10:56)/Web-Dev.vhd\"\r\n2017-10-25-(04:23:35) - vdi-export success\r\n2017-10-25-(04:23:35) - 5.cmd: /opt/xensource/bin/xe vdi-destroy uuid=11e5de51-40b0-42b3-8eb0-85ef77e34e01\r\n2017-10-25-(04:23:38) - *** vdi-export end\r\n2017-10-25-(04:23:38) - *** LARGE FILE > 60G: /mnt/backup/xenserver0/Web-Dev/backup-2017-10-25-(00:10:56)/Web-Dev.vhd : 757G\r\n2017-10-25-(04:23:38) - *** success_compress: /mnt/backup/xenserver0/Web-Dev/backup-2017-10-25-(00:10:56)/Web-Dev.vhd : 757G\r\n2017-10-25-(04:23:38) - Deleting oldest backup /mnt/backup/xenserver0/Web-Dev/backup-2017-10-24-(00:10:13) \r\n2017-10-25-(04:24:03) - VmBackup vdi-export Web-Dev - ***Success*** t:252\r\n2017-10-25-(04:24:03) - *** vdi-export begin IE9 - Win7\r\n2017-10-25-(04:24:03) - vdi-export - vm_name: IE9 - Win7 max_backups: 1\r\n2017-10-25-(04:24:03) - verify_vm_name: ERROR more than one vm with the name IE9 - Win7\r\n2017-10-25-(04:24:03) - ************ vm-export= ***************\r\n2017-10-25-(04:24:03) - *** vm-export begin IE10 - Win7\r\n2017-10-25-(04:24:03) - vm-export - vm_name: IE10 - Win7 max_backups: 1\r\n2017-10-25-(04:24:03) - new backup_dir: /mnt/backup/xenserver0/IE10 - Win7/backup-2017-10-25-(04:24:03)\r\n2017-10-25-(04:24:03) - Writing vm config file.\r\n2017-10-25-(04:24:04) - Writing disk info\r\n2017-10-25-(04:24:04) - vbd: OpaqueRef:8a3bbd23-a43c-f1e3-44c0-dddab2e203e5\r\n2017-10-25-(04:24:04) - disk: Virtual Disk - begin\r\n2017-10-25-(04:24:04) - vbd: OpaqueRef:ea0b0694-00ae-be3e-1441-80702419c634\r\n2017-10-25-(04:24:04) - Writing VIF info\r\n2017-10-25-(04:24:04) - Writing VIF: 0\r\n2017-10-25-(04:24:04) - *** vm-export begin xe command sequence\r\n2017-10-25-(04:24:04) - vm is NOT running\r\n2017-10-25-(04:24:04) - check for prev-vm-snapshot: RESTORE_IE10 - Win7\r\n2017-10-25-(04:24:04) - 1.cmd: /opt/xensource/bin/xe vm-snapshot vm=51222bed-81aa-7b6a-e5f0-726056e23041 new-name-label=\"RESTORE_IE10 - Win7\"\r\n2017-10-25-(04:24:16) - snap-uuid: 47acd09e-9562-c5f9-2a2c-19b83cba3699\r\n2017-10-25-(04:24:16) - 2.cmd: /opt/xensource/bin/xe template-param-set is-a-template=false ha-always-run=false uuid=47acd09e-9562-c5f9-2a2c-19b83cba3699\r\n2017-10-25-(04:24:16) - 3.cmd: /opt/xensource/bin/xe vm-export uuid=47acd09e-9562-c5f9-2a2c-19b83cba3699 filename=\"/mnt/backup/xenserver0/IE10 - Win7/backup-2017-10-25-(04:24:03)/IE10 - Win7.xva\"\r\n2017-10-25-(04:41:48) - Export succeeded\r\n2017-10-25-(04:41:48) - vm-export success\r\n2017-10-25-(04:41:48) - 4.cmd: /opt/xensource/bin/xe vm-uninstall uuid=47acd09e-9562-c5f9-2a2c-19b83cba3699 force=true\r\n2017-10-25-(04:41:50) - The following items are about to be destroyed\r\n2017-10-25-(04:41:50) - VM : 47acd09e-9562-c5f9-2a2c-19b83cba3699 (RESTORE_IE10 - Win7)\r\n2017-10-25-(04:41:50) - VDI: 2fd230ca-6652-4c43-b618-a108f4ccb84a (Virtual Disk) \r\n2017-10-25-(04:41:57) - All objects destroyed\r\n2017-10-25-(04:41:57) - *** vm-export end\r\n2017-10-25-(04:41:57) - *** success: /mnt/backup/xenserver0/IE10 - Win7/backup-2017-10-25-(04:24:03)/IE10 - Win7.xva : 12G\r\n2017-10-25-(04:41:57) - Deleting oldest backup /mnt/backup/xenserver0/IE10 - Win7/backup-2017-10-24-(05:09:34) \r\n2017-10-25-(04:41:58) - VmBackup vm-export IE10 - Win7 - ***Success*** t:17\r\n2017-10-25-(04:41:58) - ===========================\r\n2017-10-25-(04:41:58) - Space status: df -Th /mnt/backup/xenserver0/\r\n2017-10-25-(04:41:58) - Filesystem                       Type  Size  Used Avail Use% Mounted on\r\n2017-10-25-(04:41:58) - 192.168.1.19:/mnt/volume1/backup nfs4  1.8T  669G  1.1T  38% /mnt/backup\r\n2017-10-25-(04:41:59) - VmBackup ended - **ERRORS DETECTED** - S:2 W:1 E:1"}}
{"actor":{"display_login":"NAUbackup"}}