The Importance of Proper Backups for Cybersecurity Professionals

Listen to this Post

In the world of cybersecurity, especially for those preparing for certifications like the OSCP, the importance of proper backups cannot be overstated. A recent post by Jose C., a Database Security Engineer, highlights a critical lesson: VMware snapshots are not backups. This is a common misconception among many IT professionals. Snapshots are useful for point-in-time recovery, but they are not a substitute for a full backup. Jose learned this lesson the hard way when his VM broke just before his OSCP exam. Fortunately, he had a proper backup, which saved him from potential disaster.

You Should Know:

1. VMware Snapshots vs. Backups:

  • Snapshots: These are point-in-time copies of a VM’s disk file. They are useful for quick recovery but are not reliable as long-term backups. Snapshots can become corrupted, and if the base disk is lost, the snapshots are useless.
  • Backups: A full backup involves creating a complete copy of the VM, which can be stored on separate storage mediums. This ensures that even if the primary storage fails, the backup remains intact.

2. Creating a Backup in VMware:

  • Step 1: Open VMware Workstation.
  • Step 2: Select the VM you want to back up.
  • Step 3: Go to VM > Manage > Clone.
  • Step 4: Follow the wizard to create a full clone of the VM.
  • Step 5: Store the clone on an external drive or cloud storage.

3. Linux Commands for Backup:

  • rsync: This command is used to synchronize files and directories between two locations.
    rsync -avz /path/to/source /path/to/destination
    
  • tar: This command is used to create compressed archive files.
    tar -czvf backup.tar.gz /path/to/source
    

4. Windows Commands for Backup:

  • wbadmin: This command-line tool is used to back up and restore your operating system, volumes, files, folders, and applications.
    wbadmin start backup -backupTarget:E: -include:C: -allCritical -quiet
    
  • robocopy: This command is used for mirroring directories.
    robocopy C:\source E:\backup /MIR
    

5. Best Practices for Backups:

  • Multiple Copies: Always keep at least two copies of your backups on separate storage mediums.
  • Offsite Storage: Store one copy offsite to protect against physical disasters like fire or flood.
  • Regular Testing: Regularly test your backups to ensure they can be restored successfully.

What Undercode Say:

Proper backups are a cornerstone of any robust cybersecurity strategy. Whether you’re preparing for an exam like the OSCP or managing critical infrastructure, the importance of having reliable backups cannot be overstated. Tools like VMware, rsync, and wbadmin can help you create and manage these backups effectively. Remember, snapshots are not backups, and relying on them can lead to catastrophic data loss. Always follow best practices, such as maintaining multiple copies and regularly testing your backups, to ensure you’re prepared for any eventuality.

Relevant URLs:

References:

Reported By: Activity 7305961651705368577 – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

Join Our Cyber World:

💬 Whatsapp | 💬 TelegramFeatured Image