Skip to content

Backup fileserver contents onto multiple smaller hard-drives.

License

Notifications You must be signed in to change notification settings

willjp/multivolumecopy

Repository files navigation

MultiVolumeCopy

Tool to backup a fileserver to multiple smaller hard-drives.

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 )

About

Backup fileserver contents onto multiple smaller hard-drives.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published