current script removes tar even if transfer failed. using rsync option we have possibility to remove source in case transfer is successful only. if failed we can transfer failed tars later.
Testing Steps
make test record with disconnected shared storage or temporary disabled destination.
file should stay in work_dir: /var/bigbluebutton/recording/scalelite
if destination is available tar file is not present in work_dir: /var/bigbluebutton/recording/scalelite after transfer.
Description
current script removes tar even if transfer failed. using rsync option we have possibility to remove source in case transfer is successful only. if failed we can transfer failed tars later.
Testing Steps
make test record with disconnected shared storage or temporary disabled destination.