This is how I manage my backups in Satellite 6.4 using foreman-maintain:
/etc/cron.d/satellite-backup
PATH=/sbin:/bin:/usr/sbin:/usr/bin
#katello backup, biweekly full + daily incremental
0 2 * * 0 root expr `date +\%s` / 604800 \% 2 >/dev/null || (/usr/bin/foreman-maintain backup offline -y /opt/backups/ && ls -td -- /opt/backups/satellite-backup-* | head -n 1 > /opt/backups/latest_full; find /opt/backups/ -type d -ctime +30 -exec rm -rf {} \;)
0 2 * * 2-6 root /usr/bin/foreman-maintain backup offline -y --incremental "$(head -n1 /opt/backups/latest_full)" /opt/backups/
#this checks if the latest backup failed and cleans up anyway to free up space
0 6 * * 0 root if [[ $(find "$(cat /opt/backups/latest_full)" -mtime +15 -print) ]]; then find /opt/backups/ -type d -ctime +30 -exec rm -rf {} \;; fi