https://github.com/levitation-opensource/diskclone
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.
https://github.com/levitation-opensource/diskclone
backup backup-tool backup-utility bad-sectors clone cloning cloning-tool command-line-tool console-application data-backup data-recovery disk disk-clone disk-cloning disk-utility free-software linux python raw-disk windows
Last synced: about 1 year ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/levitation-opensource/diskclone
- Owner: levitation-opensource
- License: lgpl-2.1
- Created: 2023-12-25T23:21:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-29T02:21:34.000Z (over 2 years ago)
- Last Synced: 2024-11-22T21:48:39.178Z (over 1 year ago)
- Topics: backup, backup-tool, backup-utility, bad-sectors, clone, cloning, cloning-tool, command-line-tool, console-application, data-backup, data-recovery, disk, disk-clone, disk-cloning, disk-utility, free-software, linux, python, raw-disk, windows
- Language: Python
- Homepage: https://www.simplify.ee/
- Size: 36.1 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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.
[](https://github.com/igrigorik/ga-beacon)