Suspend VM from Comand Line (or WebAPI)

QNAP NAS solution for server virtualization and clustering/HA/FT
Post Reply
knebb
Starting out
Posts: 13
Joined: Wed Oct 21, 2015 5:06 pm

Suspend VM from Comand Line (or WebAPI)

Post by knebb » Tue Nov 23, 2021 7:09 pm

Hi,

is there any chance to suspend a running VM from command line? I would like to do a backup (and no, I do not want to use the QNAP-build-in tools).

So before backup starts I should logon through ssh, suspend the VM and once backup is done resume vm. What would be the commands to use there? I do not mind about ssh keys, all set so far.

Any ideas?

Thanks!


/KNEBB

User avatar
dolbyman
Guru
Posts: 24967
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Suspend VM from Comand Line (or WebAPI)

Post by dolbyman » Tue Nov 23, 2021 11:04 pm

see if you can find pointers here

viewtopic.php?t=90425

knebb
Starting out
Posts: 13
Joined: Wed Oct 21, 2015 5:06 pm

Re: Suspend VM from Comand Line (or WebAPI)

Post by knebb » Wed Nov 24, 2021 2:27 am

Hi,

thanks, I was thinking of using virsh on my own. So it is safe to use it? The QNAP tools do not get confused by this?


Thanks!

/KNEBB

User avatar
dolbyman
Guru
Posts: 24967
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Suspend VM from Comand Line (or WebAPI)

Post by dolbyman » Wed Nov 24, 2021 2:39 am

My guess is that is exactly what the GUI does .. just hidden via buttons and dropboxes

Post Reply

Return to “Server Virtualization & Clustering”