I have an incremental backup in the format of
server-name-backup_time.tar.gz and I'm trying to extract a home directory out of it with the command
tar xvf server-name_**000*.tar.gz /home/user. However when I try to extract from this it will not do anything and just hang. I've read somewhere that I use the
--incremental flag to do so but this is just says that the snar file doesn't exist.
How these incremental backups are created are with the following command:
sudo tar --create --verbose --listed-incremental /mnt/server-name.snar --gzip --file /mnt/server-name-backup_`date +%H%M%S`.tar.gz --ignore-failed-read --exclude=/usr/share/backups --exclude=/proc4 --exclude=/mnt --exclude=/sys --exclude=lost+found --exclude=/tmp --exclude=/proc /
How can I extract a certain directory out of this backup without extracting the entire thing and doing so incrementally?