VMware Cloud Community
NicoDel
Contributor
Contributor
Jump to solution

vmdk overwritten by scp - how to recover

Hi All,

yesterday, shit happend. I've accidentally overwritten an important (read: a lot of work was put in) flat vmdk file with scp.

I was in /vmfs/volumes/datastore1/ and did something like scp -r VM/ root@ownip😕vmfs/volumes/datastore1/

The scp was running and copied about 2 GB, which is now the new disk size. In panic, I closed the scp session and copy stopped.

So, the vmdk file is 'overwritten' by a new file of 2 GB. Offcourse the VM does not want to run at this moment.

Allthough I do not have a lot of trust in finding a working solution, I would like to know if someone knows about things I can try?

Google doesn't give me sufficient answers at this moment...

Reply
0 Kudos
1 Solution

Accepted Solutions
npadmani
Virtuoso
Virtuoso
Jump to solution

Don't delete vmdks accidentaly if you are using ESXi 5.5 or 6

take a look at the post (above url), written by continuumcontinuum, he might be able to help.

Narendra Padmani VCIX6-DCV | VCIX7-CMA | VCI | TOGAF 9 Certified

View solution in original post

Reply
0 Kudos
2 Replies
npadmani
Virtuoso
Virtuoso
Jump to solution

Don't delete vmdks accidentaly if you are using ESXi 5.5 or 6

take a look at the post (above url), written by continuumcontinuum, he might be able to help.

Narendra Padmani VCIX6-DCV | VCIX7-CMA | VCI | TOGAF 9 Certified
Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

Hello
Did you find a solution or did you give up ?
Feel free to call me if you still need help
Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos