Populate format variables for arch backup
Populate format variables for arch backup

Taking the code from the full backup script.  Also adding the check for the log_dir that previously only existed in the full backup script.
google/bms-toolkit,google/bms-toolkit