willjp / multivolumecopy

Backup fileserver contents onto multiple smaller hard-drives.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Python 99.9%Language:Nix 0.1%