Here's a pair of pictures of it in action, both run on an Ubuntu 9.10 system with the following specs:
Here are some gprog wrappers that compute estimates and invoke gprog for you:
Usage: ./gprog-backshift-extract --save-directory Specify the backshift repo. Required --starting-directory Specify the backshift starting directory. Optional --backup-id Specify the backshift backup ID. Required --tar-format fmt gnu or ustar. pax can be expected to fail --help This stuff This script will compute how much disk space is used by a given backshift backup, and use that to give an ETA for an extraction.
Usage: ./gprog-buf arg1togprog arg2togprog .. argntogprog Just write stdin to a temporary file, and then start gprog on it. Output goes to stdout. This is really only useful when writing from gprog to a slow device or socket.
Usage: ./gprog-clone-partition --source-partition /dev/sdb1 --allow-mounted-source --destination-partition /dev/sdd1 --dry-run --help Clone a partition to another partition on the same computer. Consider using fsck on your source partition before running this script. On XFS, that might look like: xfs_repair /dev/sdb1 Also, you may or may not want to generate a new UUID for your destination filesystem after running this script. On XFS, that might look like: xfs_admin -U generate /dev/sdd1
Usage: ./gprog-df-tar --mount-point A single directory that is a mount point --help This stuff Tar up a local filesystem and pipe it through gprog, using df to get an estimate of how much data will need to be copied.
Usage: ./gprog-du-tar --directories A list of directories to du and tar - must be the last option --help This stuff Tar up a directory hierarchy and pipe it through gprog, using du to get an estimate of how much data will need to be copied.
Usage: ./gprog-ssh-df-tar --host The host to log into to transfer the filesystem from. Can also be of the form username@host --mount-point A single directory that is a mount point --help This stuff Tar up a remote filesystem and pipe it through gprog, using remote df to get an estimate of how much data will need to be copied. Please note that this script will ssh-copy-id
Usage: ./gprog-ssh-du-tar --host The hostname to ssh to --directory A directory to ssh to and du+tar. Note that ~ does not work in this --compressor Specify what program to compress with, if any. Valid options include cat, gzip, bunzip2 and xz --help This stuff Tar up a directory hierarchy and pipe it through gprog, using du to get an estimate of how much data will need to be copied. Please note that this script will ssh-copy-id
License:
Bugs:
You can e-mail the author with questions or comments: