Tool to backup a fileserver to multiple smaller hard-drives.
Table of Contents
Perform backups, prompting for additional drive as required.
multivolumecopy /mnt/src -o /mnt/usb # copy from single source
multivolumecopy /mnt/src/{books,ambient,radio} -o /mnt/usb # copy from multiple sources
# when /mnt/usb is full, you'll be prompted to replace it
Verify backup volume using the generated .mvcopy-jobdata.json .
# verify that /mnt/usb has updated files corresponding
# to indexes 0-300 in .mvcopy-jobdata.json
multivolumecopy --verify \
-f .mvcopy-jobdata.json \
-i 0 -si 300 \
-o /mnt/usb
pip install 'git+https://github.com/willjp/multivolumecopy@master'
nix-shell
pipenv install --dev
pipenv shell
pytest
Autocompletion is available, but not installed by default.
Copy data/autocomplete.zsh/_multivolumecopy
to a location on your $fpath
.
(ex: /usr/share/zsh/5.8/functions/Unix/_multivolumecopy
)