Gilbert Chen
f304b64b3f
Removed a redundant call to manager.chunkOperator.Resurrect
2018-08-03 11:32:24 -04:00
Gilbert Chen
8ae7d2a97d
Remove extra newline in the PRUNE_NEWSNAPSHOT log message
2018-07-26 21:24:33 -04:00
Gilbert Chen
72dfaa8b6b
Fixed a bug causing a new snapshot to be not counted when deciding which fossils can be deleted
2018-07-23 22:08:08 -04:00
Gilbert Chen
f68eb13584
A few fixes for multi-threaded pruning
2018-06-05 16:09:12 -04:00
Gilbert Chen
dd53b4797e
Implement multi-threaded pruning
2018-06-04 21:52:07 -04:00
Gilbert Chen
0e585e4be4
Fixed a crashing bug when showing the history of excluded files
2018-05-30 12:05:40 -04:00
Gilbert Chen
e03cd2a880
Add unreferenced fossils to the fossil collection instead of deleting them immediately
2018-05-29 12:57:38 -04:00
Frank
4dd5c43307
Add nobackup-file preference.
...
Directories containing a file with this name will not be backed up. I find it easier to drop a .nobackup file in directories I don't want backed up instead of maintaining a file of exclusions. This is also useful for scripts that create data in the repository but don't want it to be backed up.
2018-04-01 12:50:00 -07:00
Gilbert Chen
5d2242d39d
Preserve the list of chunk hashes for the latest snapshot when cleaning local snapshot cache
2018-03-27 23:34:40 -04:00
gilbertchen
13fffc2a11
Merge pull request #329 from pdf/prune_memory
...
Reduce memory consumption for prune operation
2018-03-20 14:32:12 -04:00
Gilbert Chen
e07226bd62
Retention policy erroneously apply to snapshots without the specified tags
2018-02-10 21:33:01 -05:00
Gilbert Chen
7230ddbef5
Clear the attributes from last snapshot after loading to save memory
2018-01-28 16:54:06 -05:00
Gilbert Chen
d330f61d25
Limit derivation key to 64 bytes since snapshot file path used as key may be longer
2018-01-20 23:52:35 -05:00
Peter Fern
57082cd1d2
Reduce memory consumption for prune operation
...
For non-exhaustive prune, consider only target chunks instead of mapping
all chunks in repository.
2018-01-21 10:12:09 +11:00
Peter Fern
bd5a689b7d
Add keepChunkHashes flag to GetSnapshotChunks, allowing reduced memory
2018-01-21 10:11:59 +11:00
Gilbert Chen
f944e01a02
Fix typos
2017-12-15 08:24:15 -05:00
Gilbert Chen
6f69aff712
Disable caching when retriving files in SnapshotManager
2017-11-27 23:36:09 -05:00
Gilbert Chen
86767b3df6
Implement new chunk directory structure
2017-11-07 12:05:39 -05:00
Gilbert Chen
9d38b49e42
Remove the extra new line for the cat command
2017-10-10 22:35:09 -04:00
gilbertchen
a342431b3c
Merge pull request #223 from lowne/prune-logging
...
add more detailed revision deletion logging on prune
2017-10-05 22:35:02 -04:00
Mark Lowne
86a6ededab
add more detailed revision deletion logging on prune
2017-10-03 16:17:23 +02:00
Gilbert Chen
7162d8916e
Use math.MaxInt32 to avoid a build error on 32-bit platforms
2017-09-29 22:20:37 -04:00
Gilbert Chen
923cd0aa63
Run goimports on all source files
2017-09-20 23:07:43 -04:00
gilbertchen
978212fd75
Merge pull request #196 from fracai/more-check-stats
...
print additional, table-formatted stats for CHECK
2017-09-20 17:16:23 -04:00
Arno Hautala
45bc778898
restored original stats output, enabled option to switch to tabular
2017-09-19 02:07:35 -04:00
Arno Hautala
d5d7649041
added -tabular to check options
2017-09-19 01:13:38 -04:00
Arno Hautala
f1fe64b9cc
moving "func min" to MinInt in utils
2017-09-19 01:06:08 -04:00
Arno Hautala
e2fe57e959
reorder check -stats columns
2017-09-19 00:59:38 -04:00
gilbertchen
fab9cc77c6
Merge pull request #180 from niknah/dry_run
...
Added backup --dry-run option.
2017-09-18 22:32:21 -04:00
niknah
f25783d59d
Comments from @gilbertchen, thanks.
2017-09-18 01:38:51 +10:00
Arno Hautala
d3cea2c7d0
print additional, table-formatted stats for CHECK
2017-09-15 23:34:06 -04:00
niknah
f74ea0368e
ListFiles Don't delete or create directories in dryRun
2017-09-15 02:21:07 +10:00
gilbertchen
554f63263f
Merge pull request #183 from jt70471/prune-patch-1
...
fix prune bug when last snapshot is removed for issue #182
2017-09-14 09:33:39 -04:00
niknah
03c2a190ee
Don't create extra directories on --dry-run
2017-09-14 14:20:58 +10:00
Jeff Thompson
84fc1343a7
fix prune bug when last snapshot is removed for issue #182
2017-09-12 12:38:27 -05:00
Emanuele Trombetta
c42a5a86a4
Fix typos
...
* Update duplicacy_main.go
* Update duplicacy_snapshotmanager.go
2017-09-12 07:49:07 +02:00
niknah
457e518151
Added backup --dry-run option.
2017-09-06 19:19:36 +10:00
Gilbert Chen
dfa6113279
Keep and restore attributes when no patterns provided to the restore command
2017-08-31 16:29:57 -04:00
countextreme
0c8a88d15a
Update duplicacy_snapshotmanager.go
2017-08-28 13:16:33 -04:00
Gilbert Chen
b32bda162d
Fixed #25 : don't error out when a file can't be found in a revision
2017-07-14 15:23:00 -04:00
Gilbert Chen
7f04a79111
Replace Fair Source 5 with our own free-for-personal-use license
2017-07-13 23:33:14 -04:00
Gilbert Chen
ba3702647b
Fixed #90 : unprocessed files may leak into incomplete snapshot leading to incorrect file size
2017-07-06 22:06:51 -04:00
Gilbert Chen
b7b54478fc
Don't compute file hashes when DUPLICACY_SKIP_FILE_HASH is set; handle vertical backup-style hashes in restore
2017-06-29 22:19:41 -04:00
Gilbert Chen
d0c376f593
Implement fast resume; refactor GetDuplicacyPreferencePath()
2017-06-22 22:53:33 -04:00
Etienne Charlier
ae34347741
merge version 2.0.2
2017-06-10 17:12:44 +02:00
Gilbert Chen
42337d84c3
Move source files into src for a better looking front page
2017-06-07 14:04:11 -04:00
Gilbert Chen
4a1dc01ff4
Reorganize src directory
2017-06-02 16:33:36 -04:00
Gilbert Chen
bdf017e552
Move source files to src/
2017-05-23 10:25:00 -04:00