The 1st script below is for creating a backup archive of a running linux system using fsarchiver.
While the 2nd is for creating a backup archive of user's home.
fsarchiver needs the full path rather than the relative paths of dir's in the target dir, therefore /home/$USER/"$x" in the array.
It also insists on running as super user all the time even with `savedir` on directories with user permissions.