Gilbert Chen
a7d2a941be
Restore UID and GID of symlinks
2018-08-29 17:10:35 -04:00
Gilbert Chen
39d71a3256
Fixed a divide by zero bug when the repository has only zero-byte files
2018-08-10 12:17:40 -04:00
Gilbert Chen
7e021f26d3
Don't show the nil error when failing to replace a file with a directory during restore
2018-05-30 13:23:35 -04:00
Gilbert Chen
aadd2aa390
Add an -enum-only option to the backup command to enumerate the repository only
2018-05-24 11:34:46 -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
be2856ebbd
Add a -vss-timeout option to set VSS creation timeout
2018-03-21 22:34:14 -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
52fd553bb9
Fixed 2 bugs in restoring extended attributes
2018-01-29 14:38:48 -05:00
Gilbert Chen
7230ddbef5
Clear the attributes from last snapshot after loading to save memory
2018-01-28 16:54:06 -05:00
Peter Fern
bd5a689b7d
Add keepChunkHashes flag to GetSnapshotChunks, allowing reduced memory
2018-01-21 10:11:59 +11:00
Gilbert Chen
8e8a116028
Fixed a bug that caused -hash to have no effect
2018-01-11 21:43:42 -05:00
Gilbert Chen
f6ef9094bc
Add debugging messages in incomplete snapshot handling
2017-12-15 08:23:56 -05:00
Gilbert Chen
a6d071e1b5
Fixed a bug in splitting the existing file that caused all chunks to be redownloaded
2017-11-10 13:59:12 -05:00
Gilbert Chen
8600803ba0
Remove commented-out call to RestoreMetadata
2017-11-10 13:52:41 -05:00
gilbertchen
669d5ed3f4
Merge pull request #259 from gilbertchen/fixed_nesting
...
Implement new chunk directory structure
2017-11-10 13:30:17 -05:00
Gilbert Chen
86767b3df6
Implement new chunk directory structure
2017-11-07 12:05:39 -05:00
Mark Lowne
57edf5823d
allow skip setting uid/gid on restored files
2017-10-30 20:16:28 +01:00
Gilbert Chen
923cd0aa63
Run goimports on all source files
2017-09-20 23:07:43 -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
c63621cb8c
Tab spacing fixes
2017-09-18 18:43:44 +10:00
niknah
f25783d59d
Comments from @gilbertchen, thanks.
2017-09-18 01:38:51 +10:00
Jeff Thompson
b56d7dedba
add regex matching to include/exclude filters
2017-09-14 08:49:24 -05:00
niknah
491252e3e4
Didn't merge --dry-run with the latest updates properly.
2017-09-14 14:13:09 +10:00
Jeff Thompson
0bf66168fb
futher optimization for the copy command
2017-09-11 11:45:57 -05:00
niknah
de2f7c447f
Merge branch 'master' into dry_run
2017-09-11 20:12:09 +10:00
Jeff Thompson
3c1057a3c6
change message when chunk is optimized and skipped at destination for copy
2017-09-09 11:27:33 -05:00
Jeff Thompson
b41e8a24a9
Skip chunks to copy if already on destination for issue #134
2017-09-07 16:24:11 -05:00
niknah
457e518151
Added backup --dry-run option.
2017-09-06 19:19:36 +10:00
Gilbert Chen
197d20f0e0
Workaround a go bug to avoid seek offsets whose lower 32 bits are -1
2017-09-01 15:05:14 -04:00
gilbertchen
41e3d267e5
Merge pull request #139 from countextreme/master
...
Fix typos: snpashot -> snapshot
2017-08-28 16:04:10 -04:00
countextreme
4a80d94b63
Update duplicacy_backupmanager.go
2017-08-28 13:15:22 -04:00
Stephen Tudor
3729de1c67
Fix typo
...
s/Subdirecotry/Subdirectory
2017-08-28 08:25:58 -04:00
Gilbert Chen
315dfff7d6
Add caching to network drives
2017-08-08 23:10:22 -04:00
Gilbert Chen
22ddc04698
Restore empty directories
2017-08-05 10:56:15 -04:00
Gilbert Chen
db3e0946bb
Fixed a bug that caused a truncated file not to be restored correctly
2017-07-27 23:27:59 -04:00
Gilbert Chen
823b82060c
Add a storage prefix flat:// that can handle a flat chunk directory
2017-07-27 22:42:48 -04:00
Gilbert Chen
2d1ea86d8e
Calculate file hash during in-place restore
2017-07-21 15:19:11 -04:00
Gilbert Chen
d881ac9169
Sparse file support: create an empty sparse file for in-place restore
2017-07-20 23:08:55 -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
4a31fcfb68
Set file sizes to -1 before creating the file reader
2017-07-13 15:00:27 -04:00
Gilbert Chen
0aa122609a
Fixed #82 : force in-place mode with a non-default preference path
2017-07-07 22:21:43 -04:00
Gilbert Chen
2908b807b9
Fixed incorrect stats during backup; also check in files missing from last commit
2017-07-06 23:12:22 -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
12134ea6ad
Fixed #83 : don't pass unchanged files to the chunk downloader
2017-07-04 14:50:34 -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
42a6ab9140
In fixed-size chunking, create a new chunk after returning the old one
2017-06-29 13:11:28 -04:00
Gilbert Chen
d0c376f593
Implement fast resume; refactor GetDuplicacyPreferencePath()
2017-06-22 22:53:33 -04:00
Gilbert Chen
28da4d15e2
Fixed #76 : must create a new chunk for uploading in the copy operation
2017-06-15 10:48:24 -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