diff --git a/src/backup.c b/src/backup.c index 0e4b002d..b9bc9836 100644 --- a/src/backup.c +++ b/src/backup.c @@ -2072,15 +2072,15 @@ backup_files(void *arg) if (arguments->thread_num == 1) { - /* update backup_content.control every 10 seconds */ - if ((difftime(time(NULL), prev_time)) > 10) + /* update backup_content.control every 60 seconds */ + if ((difftime(time(NULL), prev_time)) > 60) { - prev_time = time(NULL); - write_backup_filelist(¤t, arguments->files_list, arguments->from_root, arguments->external_dirs); /* update backup control file to update size info */ write_backup(¤t, true); + + prev_time = time(NULL); } }