diff options
Diffstat (limited to '')
-rw-r--r-- | partition.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/partition.cpp b/partition.cpp index 1ae54f57e..2ebb5c597 100644 --- a/partition.cpp +++ b/partition.cpp @@ -1618,11 +1618,7 @@ bool TWPartition::Backup_Tar(string backup_folder) { DataManager::GetValue(TW_USE_COMPRESSION_VAR, use_compression); tar.use_compression = use_compression; - //exclude Google Music Cache - vector<string> excludedirs = du.get_absolute_dirs(); - for (int i = 0; i < excludedirs.size(); ++i) { - tar.setexcl(excludedirs.at(i)); - } + #ifndef TW_EXCLUDE_ENCRYPTED_BACKUPS DataManager::GetValue("tw_encrypt_backup", use_encryption); if (use_encryption && Can_Encrypt_Backup) { |