I am trying to restore incremental backups, but to do so I have to extract each archive in a sequence:
tar cvf archive.1.tar -g archive.snar backup
Making changes in backup folder
tar cvf archive.2.tar -g archive.snar backup
Making changes
tar cvf archive.3.tar -g archive.snar backup
When I do
tar --list --incremental --verbose --verbose --file archive.3.tar
I can see the list of files from the current snapshot. but I need to run:
tar xvf archive.1.tar -g /dev/null -C destination
tar xvf archive.2.tar -g /dev/null -C destination
tar xvf archive.3.tar -g /dev/null -C destination
in sequence to get the last backup. Is there a way to do this with one command?
tar {some options} archive.3.tar