Skip to content

Raw disk clone tool written in Python. It creates a full sector by sector copy. It is able to skip bad sectors. No filesystem inspection is involved, so it is filesystem independent. Use this tool when you are running on a server OS and do not want to pay for commercial tools. The operation mechanism of this tool is very simple and straightforward.

License

Notifications You must be signed in to change notification settings

pehdepano/DiskClone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DO NOT USE THIS - NÃO USE ESTE REPOSITÓRIO

Clone para testes em ambiente específico e controlado. Quando tiver algum resultado viável, atualizo.

----------ORIGINAL README----------

Raw disk clone tool

A free and open-source raw disk clone tool written in Python. It creates a direct sector by sector block copy. It is able to skip bad sectors. No filesystem inspection is involved, so it is filesystem independent.

Use this tool when you are running on a server OS and do not want to pay for commercial tools. The operation mechanism of this tool is very simple and straightforward.

It is also helpful in cases where your alternative tool would stop working upon encountering bad sectors. Some commercial disk clone tools cannot handle bad sectors for some reason.

Note: You cannot use this tool to clone the active OS disk since it assumes the source disk is made readonly before cloning starts.

INSPECT THE SOURCE CODE, UNDERSTAND WHAT IT DOES AND VERIFY THAT THE CODE IS CORRECT. THEN USE WITH CARE. I AM NOT RESPONSIBLE IN ANY WAY IF YOU LOSE YOUR DATA. ALL DATA ON DESTINATION DISK WILL BE OVERWRITTEN.

Usage

python diskclone.py SourceDisk DestinationDisk

Under Windows:
python diskclone.py "\\.\PhysicalDrive0" "\\.\PhysicalDrive1"
or
Under Linux:
python diskclone.py "/dev/ploop12345" "/dev/ploop67890"

A Python 2 or 3 installation is required. There are package dependencies:
- psutil
- pywin32 (under Windows OS only)

Roadmap

Bad sector recovery functionality. Sometimes bad sectors can be recovered by attempting to read them repeatedly. The necessary changes to existing code are essentially just a few lines.

Licence

Version 1.0.1
Copyright: Roland Pihlakas, 2023, roland@simplify.ee
Licence: LGPL 2.1
You can obtain a copy of this free software from https://github.com/levitation-opensource/DiskScan/

State

Ready to use. Maintained and in active use.





Analytics

About

Raw disk clone tool written in Python. It creates a full sector by sector copy. It is able to skip bad sectors. No filesystem inspection is involved, so it is filesystem independent. Use this tool when you are running on a server OS and do not want to pay for commercial tools. The operation mechanism of this tool is very simple and straightforward.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%