Filters on a share

I’m trying to backup a share vol from my synology. The share is map to my local computer on V:. I succeeded to backup the whole volume, but when I want to configure some filters to backup only some directories, nothing is backup. I already configure filters on other local directories and it seems to work, but not on the mount volume.

I have 4 directories on my volume
V:/Séries
V:/Movies
V:/Photos
V:/temp

filters is
-Movies/
-temp

IS there any difference between a mount vol and a local vol ?

You are missing a / here because:

But that does not explain why “nothing” is backed up. How do you determine that “nothing” is backed up? Are you running duplicacy from the V:/ difectory?

Sorry, of course there is a / at the end of temp.

without the filters file in the.duplicacy, I have
V:>duplicacy backup -stats
Storage set to F:\DuplicacyStorage
Last backup at revision 20 found
Indexing V:
Skipped chunk 1 size 5837601, 5.57MB/s 6 days 07:11:11 0.0%
Skipped chunk 2 size 2599169, 8.05MB/s 4 days 08:36:34 0.0%
Skipped chunk 3 size 16777216, 24.05MB/s 1 day 11:00:11 0.0%
Skipped chunk 4 size 1863755, 25.82MB/s 1 day 08:35:37 0.0%
Skipped chunk 5 size 5738770, 31.30MB/s 1 day 02:53:38 0.0%
Skipped chunk 6 size 2501186, 33.68MB/s 1 day 00:59:21 0.0%
Skipped chunk 7 size 7705167, 41.03MB/s 20:30:50 0.0%
Skipped chunk 8 size 3371225, 44.24MB/s 19:01:23 0.0%
Skipped chunk 9 size 8255984, 52.12MB/s 16:08:57 0.0%
Skipped chunk 10 size 3011680, 54.99MB/s 15:18:21 0.0%
Skipped chunk 11 size 2337773, 57.22MB/s 14:42:34 0.0%
Skipped chunk 12 size 2555248, 59.66MB/s 14:06:31 0.0%

with the filters file I have

V:>duplicacy backup -stats
Storage set to F:\DuplicacyStorage
Last backup at revision 20 found
Indexing V:
Loaded 2 include/exclude pattern(s)
Backup for V:\ at revision 21 completed
Files: 0 total, 0 bytes; 0 new, 0 bytes
File chunks: 0 total, 0 bytes; 0 new, 0 bytes, 0 bytes uploaded
Metadata chunks: 3 total, 8 bytes; 0 new, 0 bytes, 0 bytes uploaded
All chunks: 3 total, 8 bytes; 0 new, 0 bytes, 0 bytes uploaded
Total running time: 00:00:01

Are there any new files (=not previously backed up) in one of the folders that are supposed to be backed up? If so, could you provide the output of duplicacy -d -log backup stats.

V:\>duplicacy -d -log backup -stats
2018-09-26 23:52:43.038 INFO STORAGE_SET Storage set to F:\DuplicacyStorage
2018-09-26 23:52:43.117 DEBUG PASSWORD_ENV_VAR Reading the environment variable DUPLICACY_PASSWORD
2018-09-26 23:52:43.142 DEBUG PASSWORD_KEYCHAIN Reading password from keychain/keyring
2018-09-26 23:52:43.146 TRACE CONFIG_ITERATIONS Using 16384 iterations for key derivation
2018-09-26 23:52:43.168 DEBUG STORAGE_NESTING Chunk read levels: [1], write level: 1
2018-09-26 23:52:43.169 INFO CONFIG_INFO Compression level: 100
2018-09-26 23:52:43.169 INFO CONFIG_INFO Average chunk size: 4194304
2018-09-26 23:52:43.169 INFO CONFIG_INFO Maximum chunk size: 16777216
2018-09-26 23:52:43.170 INFO CONFIG_INFO Minimum chunk size: 1048576
2018-09-26 23:52:43.170 INFO CONFIG_INFO Chunk seed: 19bedbf473e03f0b4a52e51d04f43385023af5d57b0fa51aac3e673987997462
2018-09-26 23:52:43.170 DEBUG PASSWORD_ENV_VAR Reading the environment variable DUPLICACY_PASSWORD
2018-09-26 23:52:43.251 DEBUG BACKUP_PARAMETERS top: V:\, quick: true, tag:
2018-09-26 23:52:43.251 TRACE SNAPSHOT_DOWNLOAD_LATEST Downloading latest revision for snapshot V_video
2018-09-26 23:52:43.253 TRACE SNAPSHOT_LIST_REVISIONS Listing revisions for snapshot V_video
2018-09-26 23:52:43.341 DEBUG DOWNLOAD_FILE Downloaded file snapshots/V_video/21
2018-09-26 23:52:43.347 DEBUG CHUNK_DOWNLOAD Chunk 69b08c5fe79931e85a2e101b2db82cc53972699fcc87415cddf98520932c6f03 has been downloaded
2018-09-26 23:52:43.348 DEBUG DOWNLOAD_FETCH Fetching chunk 69b08c5fe79931e85a2e101b2db82cc53972699fcc87415cddf98520932c6f03
2018-09-26 23:52:43.348 DEBUG CHUNK_DOWNLOAD Chunk 69b08c5fe79931e85a2e101b2db82cc53972699fcc87415cddf98520932c6f03 has been downloaded
2018-09-26 23:52:43.348 DEBUG DOWNLOAD_FETCH Fetching chunk 35a1af2ebb682c4570e11cd41400df15e2bcca12b1509fcfcd93df3fad99610a
2018-09-26 23:52:43.356 DEBUG CHUNK_DOWNLOAD Chunk 35a1af2ebb682c4570e11cd41400df15e2bcca12b1509fcfcd93df3fad99610a has been downloaded
2018-09-26 23:52:43.356 INFO BACKUP_START Last backup at revision 21 found
2018-09-26 23:52:43.356 INFO BACKUP_INDEXING Indexing V:\
2018-09-26 23:52:43.392 DEBUG REGEX_DEBUG There are 0 compiled regular expressions stored
2018-09-26 23:52:43.392 INFO SNAPSHOT_FILTER Loaded 2 include/exclude pattern(s)
 **018-09-26 23:52:43.393 TRACE SNAPSHOT_PATTERN Pattern: +��- T V /**
2018-09-26 23:52:43.393 TRACE SNAPSHOT_PATTERN Pattern: + - T e m p /
2018-09-26 23:52:43.393 DEBUG LIST_ENTRIES Listing
2018-09-26 23:52:43.394 DEBUG PATTERN_EXCLUDE #recycle/ is excluded
2018-09-26 23:52:43.394 DEBUG PATTERN_EXCLUDE Movies/ is excluded
2018-09-26 23:52:43.394 DEBUG PATTERN_EXCLUDE Séries/ is excluded
2018-09-26 23:52:43.394 DEBUG PATTERN_EXCLUDE TV/ is excluded
2018-09-26 23:52:43.395 DEBUG PATTERN_EXCLUDE Temp/ is excluded
2018-09-26 23:52:43.395 DEBUG DOWNLOAD_FETCH Fetching chunk 69b08c5fe79931e85a2e101b2db82cc53972699fcc87415cddf98520932c6f03
2018-09-26 23:52:43.395 DEBUG CHUNK_DOWNLOAD Chunk 69b08c5fe79931e85a2e101b2db82cc53972699fcc87415cddf98520932c6f03 has been downloaded
2018-09-26 23:52:43.397 DEBUG CHUNK_CACHE Skipped snapshot chunk 69b08c5fe79931e85a2e101b2db82cc53972699fcc87415cddf98520932c6f03 in cache
2018-09-26 23:52:43.397 DEBUG CHUNK_CACHE Skipped snapshot chunk 35a1af2ebb682c4570e11cd41400df15e2bcca12b1509fcfcd93df3fad99610a in cache
2018-09-26 23:52:43.397 DEBUG CHUNK_CACHE Skipped snapshot chunk 69b08c5fe79931e85a2e101b2db82cc53972699fcc87415cddf98520932c6f03 in cache
2018-09-26 23:52:43.407 DEBUG UPLOAD_FILE Uploaded file snapshots/V_video/22
2018-09-26 23:52:43.408 DEBUG DOWNLOAD_FETCH Fetching chunk 69b08c5fe79931e85a2e101b2db82cc53972699fcc87415cddf98520932c6f03
2018-09-26 23:52:43.409 DEBUG CHUNK_DOWNLOAD Chunk 69b08c5fe79931e85a2e101b2db82cc53972699fcc87415cddf98520932c6f03 has been downloaded
2018-09-26 23:52:43.409 TRACE LIST_FILES Listing snapshots/
2018-09-26 23:52:43.411 TRACE LIST_FILES Listing snapshots/V_video/
2018-09-26 23:52:43.415 DEBUG SNAPSHOT_CLEAN Delete cached snapshot file V_video/21 not found in the storage
2018-09-26 23:52:43.450 TRACE LIST_FILES Listing chunks/
2018-09-26 23:52:43.456 INFO BACKUP_END Backup for V:\ at revision 22 completed
2018-09-26 23:52:43.456 INFO BACKUP_STATS Files: 0 total, 0 bytes; 0 new, 0 bytes
2018-09-26 23:52:43.456 INFO BACKUP_STATS File chunks: 0 total, 0 bytes; 0 new, 0 bytes, 0 bytes uploaded
2018-09-26 23:52:43.456 INFO BACKUP_STATS Metadata chunks: 3 total, 8 bytes; 0 new, 0 bytes, 0 bytes uploaded
2018-09-26 23:52:43.456 INFO BACKUP_STATS All chunks: 3 total, 8 bytes; 0 new, 0 bytes, 0 bytes uploaded
2018-09-26 23:52:43.457 INFO BACKUP_STATS Total running time: 00:00:01

You find the solution
There was an “invisible” code at the beginning of my file filters.
I created a new one and now this is OK…
:slight_smile:

1 Like