diff --git a/clear_backup.sh b/clear_backup.sh
index 45ec58369b39376258c3524ccd9eaf89d8163e02..ea8838af35627470c20dacab6fad107b11dd7aee 100755
--- a/clear_backup.sh
+++ b/clear_backup.sh
@@ -7,8 +7,7 @@ if [ ! -z "$1" ]; then
 fi
 source $DIR/inc.sh
 
-delete_old_backups
-
 cleanup
+delete_old_backups
 collection_state
 echo "All Done"