This splits the functionality of restore_sequential() into several smaller functions in order to allow to reuse them when restoring by seeking based on the goodbye table offsets. Signed-off-by: Christian Ebner <c.ebner@proxmox.com>