mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Revert "Revert "New setting to make backup dirs optional per default""
This reverts commit 5629a644b2.
This commit is contained in:
parent
2e9963ebe8
commit
5df651aa70
@ -373,8 +373,9 @@ void RestoreFiles::operator()()
|
||||
return;
|
||||
}
|
||||
|
||||
bool backup_dirs_optional;
|
||||
IndexThread::readPatterns(tgroup, clientsubname, exclude_dirs,
|
||||
include_dirs);
|
||||
include_dirs, backup_dirs_optional);
|
||||
|
||||
std::map<std::string, IFsFile*> open_files;
|
||||
if (restore_flags & restore_flag_open_all_files_first)
|
||||
|
||||
@ -3519,6 +3519,8 @@ std::string IndexThread::sanitizePattern(const std::string &p)
|
||||
|
||||
void IndexThread::readPatterns(int index_group, std::string index_clientsubname, std::vector<std::string>& exclude_dirs, std::vector<SIndexInclude>& include_dirs)
|
||||
{
|
||||
backup_dirs_optional = false;
|
||||
|
||||
std::string exclude_pattern_key = "exclude_files";
|
||||
std::string include_pattern_key = "include_files";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user