There probably is a "set -e" at the beginning of the script. This causes
the script to abort as soon as any command fails. So if the first rsync
call encounters errors, the second will not be called. Other than that,
there is no reason why the second call should not be executed. Try
adding the -v argument to both calls to get more information.
Note that your second rsync invocation is going to delete everything
that the first call transferred. You are telling rsync to make the
contents of $new_backup identical to /home/media/music/tagged. This
means that anything copied from /home/travis has to be deleted.
To fix this, you can backup the two directories into e.g.
$new_backup/home and $new_backup/media respectively.
HTH,
-Nikolaus
--
»Time flies like an arrow, fruit flies like a Banana.«
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.