Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Script to erase a old vps - best practices
New on LowEndTalk? Please Register and read our Community Rules.

Script to erase a old vps - best practices

Hi!

What are the best practices to erase all the information before ends the contract?

What are the best prctices?

Comments

  • shred

    Thanked by 2jackb Daniel15
  • bshbsh Member

    After booting into rescue mode:
    dd if=/dev/zero of=/dev/sda bs=1M count=1

  • @bsh said:
    After booting into rescue mode:
    dd if=/dev/zero of=/dev/sda bs=1M count=1

    If you have a large disk, you can also increase the block size to reduce execution time.

    Thanked by 1nexius1981
  • @bsh said:
    After booting into rescue mode:
    dd if=/dev/zero of=/dev/sda bs=1M count=1

    if you want not just zeros but random data, you could use something like (faster than dd with urandom directly)

    openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 < /dev/null | base64)" -nosalt </dev/zero | dd of=/dev/sdX

  • Tony40Tony40 Member
    edited November 24

    But when you do OS re-Install in the warning it said "all data will be loss", .. about if you just do two different OS installation??

  • Q:****How do I erase data from a hard disk so no one can ever recover it?

    A: If it’s sensitive data, don’t trust any kind of formatting or zeroing out. Even if you do multiple pass Linux dd if=/dev/zero of=/dev/sda or some kind of Windows-based zero-ing software, there’s still a chance someone can recover. And definitely don’t just “quick format” the drive — that’s like erasing the table of contents and leaving all the other pages intact!

    What’s the only sure way? I pay a local guy who owns one of these to come onsite while I watch him destroy the hard drives.

    https://www.quora.com/While-installing-Ubuntu-I-erased-all-of-the-data-I-had-in-a-hard-disk-from-Windows-How-do-I-recover-it-or-at-least-50GB-out-of-all-300GB

  • Yep, you go to the dc, take those drives and fry them in microvawe for flat hour. And than just drown in the ocean. Evidences destroyed.

    Thanked by 2Tony40 yoursunny
  • Tony40Tony40 Member
    edited November 24

    @LTniger said:
    Yep, you go to the dc, take those drives and fry them in microvawe for flat hour. And than just drown in the ocean. Evidences destroyed.

    How to quickly destroy a computer Hard Drive HDD

  • @bsh said:
    After booting into rescue mode:
    dd if=/dev/zero of=/dev/sda bs=1M count=1

    Leave out the count=1 to erase everything

  • Throw away the encryption key. Oh, you're disks aren't encrypted? ¯\_(ツ)_/¯

    Thanked by 1Falzo
  • @jmgcaguicla said:
    Throw away the encryption key. Oh, you're disks aren't encrypted? ¯\_(ツ)_/¯

    *your

    > inb4 I get destroyed by @AlwaysSkint

    Thanked by 1AlwaysSkint
  • zhizhi Member

    reinstall os

  • deankdeank Member, Troll

    Take the rackmount server out of its rack.

    Take it home.

    Place it in your bathtub.

    Shower it.

    Power it on just to be sure.

    Job done.

    At what cost, me wonders.

    Thanked by 2Tony40 yoursunny
  • @deank said:
    Take the rackmount server out of its rack.

    Take it home.

    Place it in your bathtub.

    Shower it.

    Power it on just to be sure.

    Job done.

    At what cost, me wonders.

    Surely it must be faster to simply install Windows on it, and open up the RDP port to the world.

  • bshbsh Member

    It's hard to recover ZFS dataset after being deleted

Sign In or Register to comment.