i am using the following command to backup and sql file:
tar -zcvf "$BACKUP_DST/$FILE_NAME.tgz" "$BACKUP_DST/$FILE_NAME.sql"
i want to make sure the compressed file wont be larger then 300mb, if it exceeds 300mb, split it into several files.
any thoughts?