{"action":"closed","issue":{"url":"https://api.github.com/repos/duplicati/duplicati/issues/869","repository_url":"https://api.github.com/repos/duplicati/duplicati","labels_url":"https://api.github.com/repos/duplicati/duplicati/issues/869/labels{/name}","comments_url":"https://api.github.com/repos/duplicati/duplicati/issues/869/comments","events_url":"https://api.github.com/repos/duplicati/duplicati/issues/869/events","html_url":"https://github.com/duplicati/duplicati/issues/869","id":39512003,"number":869,"title":"Cannot skip locked files & file exclusions not working","user":{"login":"kenkendk","id":1510755,"avatar_url":"https://avatars.githubusercontent.com/u/1510755?v=3","gravatar_id":"","url":"https://api.github.com/users/kenkendk","html_url":"https://github.com/kenkendk","followers_url":"https://api.github.com/users/kenkendk/followers","following_url":"https://api.github.com/users/kenkendk/following{/other_user}","gists_url":"https://api.github.com/users/kenkendk/gists{/gist_id}","starred_url":"https://api.github.com/users/kenkendk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenkendk/subscriptions","organizations_url":"https://api.github.com/users/kenkendk/orgs","repos_url":"https://api.github.com/users/kenkendk/repos","events_url":"https://api.github.com/users/kenkendk/events{/privacy}","received_events_url":"https://api.github.com/users/kenkendk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/duplicati/duplicati/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/duplicati/duplicati/labels/imported","name":"imported","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-08-05T12:04:18Z","updated_at":"2016-04-19T22:31:11Z","closed_at":"2016-04-19T22:31:11Z","body":"\n_From [m...@lotbiniere.org](https://code.google.com/u/103145976267702242788/) on June 18, 2013 23:46:39_\n\nWhat steps will reproduce the problem? 1. This is the command line generated by the Duplicati wizard:\n\"C:\\Program Files\\Duplicati\\Duplicati.CommandLine.exe\" backup --ftp-username=XXX --ftp-password=********** --ftp-passive --passphrase=********** --aes-encryption-dont-allow-fallback=true --open-file-policy=ignore --full-if-older-than=1M --exclude=parent.lock --exclude=control_dir\\lock C:\\Users\\XXX\\Documents\\;C:\\Users\\XXX\\Pictures\\;C:\\Users\\XXX\\Music\\;C:\\Users\\XXX\\AppData\\Roaming\\ ftp://10.11.12.1:21//smbshares/XXX/Duplicati\n\nIt is executed by the Duplicati program running on user XXX at logon (a regular non-administrative user account). Open file policy is set to \"ignore\", since VSS can't be used, and since running programs often obtain an exclusive read/write lock on a file, so why fill up the backup log with failure messages?\n\nI also attempt to exclude some commonly locked files in the backup configuration. What is the expected output? What do you see instead? Extract from log file:\nBackupType      : Incremental\nTypeReason      : An incremental backup is made because the latest full backup is from 2013-06-16 20:30:27 and the full backup threshold is 1M\nBeginTime       : 06/18/2013 16:51:00\nEndTime         : 06/18/2013 16:56:36\nDuration        : 00:05:36.1572271\nDeletedFiles    : 0\nDeletedFolders  : 0\nModifiedFiles   : 4\nAddedFiles      : 0\nAddedFolders    : 0\nExaminedFiles   : 40375\nOpenedFiles     : 21\nSizeOfModified  : 405968\nSizeOfAdded     : 0\nSizeOfExamined  : 2383125\nUnprocessed     : 0\nTooLargeFiles   : 0\nFilesWithError  : 0\nExecutable      : Duplicati, Version=1.3.4.1, Culture=neutral, PublicKeyToken=8bfe994a39631a7b\nLibrary         : Duplicati.Library.Main, Version=1.3.4.1, Culture=neutral, PublicKeyToken=8bfe994a39631a7b\nOperationName   : Backup\nBytesUploaded   : 20343\nBytesDownloaded : 2719775\nRemoteCalls     : 9\nNumberOfErrors  : 12\n****************\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Duplicati\\control_dir\\lock. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Duplicati\\control_dir\\lock' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Duplicati\\Duplicati.sqlite. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Duplicati\\Duplicati.sqlite' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\CertPatrol.sqlite. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\CertPatrol.sqlite' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\parent.lock. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\parent.lock' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\places.sqlite. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\places.sqlite' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\cookies.sqlite. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\cookies.sqlite' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\ybookmarks@yahoo.log. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\ybookmarks@yahoo.log' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Microsoft\\CLR Security Config\\v2.0.50727.312\\64bit\\security.config.cch.3660.366602. Error message: Access to the path 'C:\\Users\\XXX\\AppData\\Roaming\\Microsoft\\CLR Security Config\\v2.0.50727.312\\64bit\\security.config.cch.3660.366602' is denied.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\webappsstore.sqlite. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\webappsstore.sqlite' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\places.sqlite-wal. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\places.sqlite-wal' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Microsoft\\Windows\\Cookies\\index.dat. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Microsoft\\Windows\\Cookies\\index.dat' because it is being used by another process.\nFailed to process file: C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\webappsstore.sqlite-wal. Error message: The process cannot access the file 'C:\\Users\\XXX\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\d6cd5ppa.XXX 20110209\\webappsstore.sqlite-wal' because it is being used by another process.\n**************** What version of Duplicati are you using? On what operating system? Duplicate 1.3.4-dev on Windows 7 Ult. x64 (SP1 + all MS current patches) What backend (destination) are you using? FTP (vsftpd running on an OpenWRT router, USB external disk)\n\nIs there something I'm doing wrong here that stops Duplicati from a) ignoring open files and b) excluding files with glob patterns like \"control_dir\\lock\" and \"parent.lock\" (I tried RX patterns *control_dir\\\\lock and parent\\.lock which did not work either.)\n\n_Original issue: http://code.google.com/p/duplicati/issues/detail?id=842_\n"}}