Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nordurljosahvida committed Jun 6, 2021
1 parent 95cca3d commit 6218d8c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tools/raptor-backup
Original file line number Diff line number Diff line change
Expand Up @@ -133,28 +133,28 @@ fi

################################################################################

dna-br_purge_incomplete_archives
dna-backup_purge_incomplete_archives

dna-br_purge_dirs
dna-backup_purge_dirs

dna-br_create_dirs backup
dna-backup_create_dirs backup

dna-br_update_storage_info
dna-backup_update_storage_info

dna-br_purge_backups
dna-backup_purge_backups

if [ "$backup_archival_location" = "s3" ]
then

dna-br_restore_from_S3 test
dna-backup_restore_from_S3 test

dna-br_purge_dirs
dna-backup_purge_dirs

dna-br_create_dirs backup
dna-backup_create_dirs backup

fi

dna-br_backup_locally "${skip_install_complete_check-}"
dna-backup_locally "${skip_install_complete_check-}"

################################################################################

Expand All @@ -174,7 +174,7 @@ then

############################################################################

dna-br_backup_to_S3
dna-backup_to_S3

fi

Expand All @@ -189,7 +189,7 @@ then
rm -r "${backup_local_storage_path:?}/temp"
fi

dna-br_purge_dirs
dna-backup_purge_dirs

if [ -f "/tmp/${project_name}-backup-running-lockfile" ]
then
Expand Down

0 comments on commit 6218d8c

Please sign in to comment.