Suspend VM from Comand Line (or WebAPI)

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

Suspend VM from Comand Line (or WebAPI)

Post by knebb »

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: 35021
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Suspend VM from Comand Line (or WebAPI)

Post by dolbyman »

see if you can find pointers here

viewtopic.php?t=90425
knebb
Starting out
Posts: 20
Joined: Wed Oct 21, 2015 5:06 pm

Re: Suspend VM from Comand Line (or WebAPI)

Post by knebb »

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: 35021
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Suspend VM from Comand Line (or WebAPI)

Post by dolbyman »

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

Return to “Server Virtualization & Clustering”