Skip to content

bykof/hoard_chunker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hoard_chunker

hoard_chunker is designed to efficiently split large files into smaller, manageable chunks and reassemble them when needed. This functionality is particularly useful for handling massive datasets, facilitating easier processing, storage, or transfer for backups.

Features:

  • Backup: Backup files from input_dir into output_dir and chunk them with FastCDC.
  • Restore: Restore chunks from input_dir into output_dir to backed up files.

Setup

Clone the Repository:

git clone https://github.com/bykof/hoard_chunker.git
cd hoard_chunker

Build the Project:

cargo build --release

Usage

Usage: hoard_chunker [OPTIONS] [COMMAND]

Commands:
  backup   
  restore  
  help     Print this message or the help of the given subcommand(s)

Options:
  -a, --average-size <AVERAGE_SIZE>  
  -l, --log-level <LOG_LEVEL>        
  -h, --help                         Print help
  -V, --version                      Print version

Backup

hoard_chunker backup --input-path <INPUT_PATH> --output-path <OUTPUT_PATH>

--input-path <INPUT_PATH> (path files that need to be backed up)
--output-path <OUTPUT_PATH> (where to put the chunks)

Restore

hoard_chunker restore --input-path <INPUT_PATH> --output-path <OUTPUT_PATH>

--input-path <INPUT_PATH> (path to chunks and metadata.json)
--output-path <OUTPUT_PATH> (where to restore)

Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue if you find a bug or have suggestions for improvements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any issues, questions, or feature requests, feel free to open an issue in the GitHub repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages