Jump to content

Backup file modify


Efo74
 Share

Recommended Posts

Hello, I have written a backup utility using disk2vhd / autoit  and it works fine. The result backup file is a vhd/vhdx file, is there a simple way to modify this file that only my backup file can read ? The backup files are very large and the encryption takes a long time, I thought of a way to change only a few bytes at the beginning of the file, or do you know some other method?

Thank you for the support.

:rolleyes:

Link to comment
Share on other sites

For VHD (specification) you can just backup the first 512 bytes (copy of footer) and 1024 bytes (header) of the file and any sane program would not accept it as a proper VHD

I imagine you could do something similar with VHDX too but I haven't looked into it :)

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

@Efo74 I have also found the VHDX specification, it says that the file header starts immediately and is 1024 bytes long (1 MB), so you can backup that to prevent VHDX from working in other programs :)

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...