VMware Cloud Community
PowercliCommuni
Contributor
Contributor
Jump to solution

Backup Operation on VM

how to perform backup opeartion on vm using powercli?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

You can use the Copy-DatastoreItem cmdlet for this.

In KB2001041 you'll find some examples.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
6 Replies
LucD
Leadership
Leadership
Jump to solution

Can you expand on what you mean with "backup" ?

Do you want to make a copy/export of the VM files ?

Do you have a backup tool and and an a backup agent ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Grzesiekk
Expert
Expert
Jump to solution

If you understand by this a real backup then i guess then there is no cmdlet for that Smiley Wink Depends how you would understand 'backup' . If you would really want it bad then i guess you could create a script that might be acting like a backup script more or less. IMHO i would use proper backup software to backup vms. If you don't have much budget for it there are some solutions like vcbghetto.

--- @blog https://grzegorzkulikowski.info
0 Kudos
PowercliCommuni
Contributor
Contributor
Jump to solution

ya.I want to make a copy of all vm files.how can i do that?

0 Kudos
PowercliCommuni
Contributor
Contributor
Jump to solution

It would be better, if i get to know any commands rather than script to perform this action.

0 Kudos
LucD
Leadership
Leadership
Jump to solution

You can use the Copy-DatastoreItem cmdlet for this.

In KB2001041 you'll find some examples.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
PowercliCommuni
Contributor
Contributor
Jump to solution

Thanks for your help

0 Kudos