Attempting scripted parallel dd execution.
clone (check) | backup (check) | restore (check) | ||
---|---|---|---|---|
block dev | ✔️ (🛑) | ✔️ (✔️) | ✔️ (✔️) | |
file | ✔️ (🛑) | ✔️ (✔️) | ✔️ (✔️) |
backup gzip (check) | restore gzip (check) | |
---|---|---|
block dev | ✔️ (✔️) | ✔️ (✔️) |
file | ✔️ (✔️) | ✔️ (✔️) |
state | |
---|---|
establish_ssh_connection | ✔️ |
execute_remote_command | ✔️ |
close_ssh_connection | ✔️ |
check_remote_command_availability | 🛑 |
remote_port_generation | ✔️ |
check_remote_port_availability | ✔️ |
execute_remote_background_command | ⚙️ |
remote_output_analysis | ✔️ |
remote_cloning_commands | 🛑 |
remote_backup_commands | 🛑 |
clone | backup (check) | restore (check) | ||
---|---|---|---|---|
block dev | 🛑 (🛑) | 🛑 (🛑) | 🛑 (🛑) | |
file | 🛑 (🛑) | 🛑 (🛑) | 🛑 (🛑) |
backup gzip (check) | restore gzip (check) | |
---|---|---|
block dev | 🛑 (🛑) | 🛑 (🛑) |
file | 🛑 (🛑) | 🛑 (🛑) |
backup gzip (check) | restore gzip (check) | |
---|---|---|
block dev | 🛑 (🛑) | 🛑 (🛑) |
file | 🛑 (🛑) | 🛑 (🛑) |
clone | |
---|---|
block dev | 🛑 (🛑) |
file | 🛑 (🛑) |
clone | backup (check) | restore (check) | ||
---|---|---|---|---|
block dev | 🛑 (🛑) | 🛑 (🛑) | 🛑 (🛑) | |
file | 🛑 (🛑) | 🛑 (🛑) | 🛑 (🛑) |
backup gzip (check) | restore gzip (check) | |
---|---|---|
block dev | 🛑 (🛑) | 🛑 (🛑) |
file | 🛑 (🛑) | 🛑 (🛑) |
backup gzip (check) | restore gzip (check) | |
---|---|---|
block dev | 🛑 (🛑) | 🛑 (🛑) |
file | 🛑 (🛑) | 🛑 (🛑) |
clone | |
---|---|
block dev | 🛑 (🛑) |
file | 🛑 (🛑) |
- check read/write permissions for $SOURCE, $BACKUP_BASE and $DESTINATION
- ddpar.sh:
- Add option to give a backup a custom BASE_NAME
- Add size check for local clone_file
- ddpar-check.sh:
- Add if-statement for checking if a backup as been created with a sha256sum
- ddpar-restore.sh:
- check on file restore, if output is a file. If directory given, append basename from metadata
- fallocate is run multiple times? (maybe only on restoring compressed block dev images?)
- make fallocate optional
- use this BASE_NAME as path for checksum files for clones (where user request checksuming)
- echo a message if no reasonable alternative number of threads/jobs could be calculated
- when compressing an image and option -c (checksum) is given, should the script calculate the checksum of both, the raw file and the compressed file? (Currently only basefile's checksum is calculated.)
- Code to make missing features work
- Remoting:
- Use differnt functions for remote actions like "output analysis" or implement in the existing functions?
- Make remote input and local output work (not yet thought through)