summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2014-03-21 00:05:41 +0100
committerMatt Mower <mowerm@gmail.com>2014-03-31 23:10:28 +0200
commitbb81e5d02df38c940709bc7416ea84620add889a (patch)
tree3de9f87f352be1b2ed26792d8e7f0d0e7ca26807 /partition.cpp
parentFix /data backup size if contains media subdirs (diff)
downloadandroid_bootable_recovery-bb81e5d02df38c940709bc7416ea84620add889a.tar
android_bootable_recovery-bb81e5d02df38c940709bc7416ea84620add889a.tar.gz
android_bootable_recovery-bb81e5d02df38c940709bc7416ea84620add889a.tar.bz2
android_bootable_recovery-bb81e5d02df38c940709bc7416ea84620add889a.tar.lz
android_bootable_recovery-bb81e5d02df38c940709bc7416ea84620add889a.tar.xz
android_bootable_recovery-bb81e5d02df38c940709bc7416ea84620add889a.tar.zst
android_bootable_recovery-bb81e5d02df38c940709bc7416ea84620add889a.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp6
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) {