 ===================================================================
 --- src/filed/backup.c	(rvision 6372)
 +++ src/filed/backup.c	(copie de travail)
-@@ -50,6 +50,109 @@
+@@ -48,8 +48,113 @@
+ static bool crypto_session_start(JCR *jcr);
+ static void crypto_session_end(JCR *jcr);
  static bool crypto_session_send(JCR *jcr, BSOCK *sd);
++static bool encode_and_send_deleted_files(JCR *jcr, char *fname);
  
  /*
 + * Called by save_file when accept/discard file for backup

+   /* get deleted files */
+   while (dir->recv() >= 0) {
+      Dmsg1(1, "deleted = %s\n", dir->msg);
+   }
+   /* get missing files */
+   while (dir->recv() >= 0) {

    sd = jcr->store_bsock;
 
    set_jcr_job_status(jcr, JS_Running);
@@ -134,6 +238,20 @@
       ok = false;                     /* error */
       set_jcr_job_status(jcr, JS_ErrorTerminated);
    }
