# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- a/sites/all/modules/backup_migrate/includes/destinations.file.inc
+++ b/sites/all/modules/backup_migrate/includes/destinations.file.inc
@@ -33,7 +33,7 @@
     if ($dir = $this->get_location()) {
       if ($dir = $this->check_dir($dir)) {
         $filepath = rtrim($dir, "/") ."/". $file->filename();
-        if (file_unmanaged_move($file->filepath(), $filepath)) {
+        if (file_unmanaged_move($file->filepath(), $filepath, FILE_EXISTS_REPLACE)) {
   
           // chmod, chown and chgrp the file if needed.
           if ($chmod = $this->settings('chmod')) {