#script create back up tar -cpPf /root/restore/restore.tar /home/* #script restore back up rm -fR /home/* tar -xpPf /root/restore/restore.tar #rc.sysinit file add this line /root/restore/restor back up script