You can loop over the contents of `/home`
cd /home
for file in */; do tar czf /backup/"$file".tar.gz "$file";done
You can loop over the contents of `/home`
cd /home
for file in */; do tar czf /backup/"$file".tar.gz "$file";done