How to erase data after server migration
-
Dear all,
I would like to upgrade a bare-metal server with new one.
Do you have any suggestion about how to erase all data after migration?
I ask this question because a simple formatting may not be enough, and it is likely that the old server will be resold by the provider to another customer.
Thank's a lot for your patience
-
Dear all,
I would like to upgrade a bare-metal server with new one.
Do you have any suggestion about how to erase all data after migration?
I ask this question because a simple formatting may not be enough, and it is likely that the old server will be resold by the provider to another customer.
Thank's a lot for your patience
-
@p44 when creating 1 click images, i use https://github.com/digitalocean/marketplace-partners/blob/0e7020b44f1f368592bfe33133667feb3c4419c2/scripts/90-cleanup.sh#L49
-
@p44 sorry, I think I gave you the wrong script! That is meant only for zeroing out rest of the disk (like we do in 1-click images). To erase the entire disk, you probably have to do something else. My understanding is that atleast for VMs in public cloud, this is done automatically. This came up as a security issue in SSD servers a long time ago. VPS providers were not formatting them because it reduces life span of the disk.
I guess as a hack, you can install plain ubuntu on the bare metal. And then, run the script command I posted earlier. Which probably has the same net effect as erasing. You have to run that command in the terminal/via ssh.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login