Use the tar -xvf command to restore files from the backup file on Linux and Solaris systems.
cd \ tar -xvf backup.tar
for i in fastraid1/algorithmic1/*.bak; do mv $i ${i%%.bak}.log; done