Using 5567 as an example TCP port
sudo mbuffer -I 5567 -m 8G -P 80 -s 262144 -o /dev/nst0
This also writes out a plaintext file in the local directory (filelist.txt
) logging the files transferred.
sudo tar -cv -b512 --label="myvolume-$(date -uI)" --exclude-backups \
--exclude="#recycle" --exclude="#snapshot" --exclude=".DS_Store" \
--exclude="thumbs.db" --exclude="@eaDir" --exclude="$RECYCLE.BIN" \
-f - /volume1/homes 2> >(tee filelist.txt >&2) | mbuffer -O 192.168.1.100:5567