Commit graph

218 commits

Author SHA1 Message Date
Simon Heimberg
db316ed18e correct argument for maxdept parameter 2017-06-08 14:51:59 +02:00
Laurent Cozic
8ef83da5d9 Reverted to use rm for directory deletion 2017-06-04 11:25:52 +01:00
Laurent Cozic
b85bf9a6e5 Updated README and mentioned built-in lock 2017-06-03 15:39:19 +01:00
Laurent Cozic
b41589ec77 Only use optimised deletion method for large directories 2017-06-03 15:31:48 +01:00
Laurent Cozic
8f8fbeb130 Merge pull request #80 from dovecode/cygwin-conflict-support
Add cygwin support for checking if the previous backup is still running
2017-06-03 14:54:10 +01:00
root
dbc2f536fa Add support for checking if the previous backup is still running under cygwin 2017-05-18 20:04:31 -04:00
Laurent Cozic
d152279d30 Still delete inprogress file in case of error or warning 2017-05-08 20:14:15 +00:00
SimonHeimberg
6364fe1ca0 correct position for maxdept parameter
as suggested by the output of find
2017-05-04 14:55:32 +02:00
SimonHeimberg
41f9bd1c8c do not search for directories recurisve
This gives a big speed improvement when the dest dir contains other directories containting many subdirectories.
2017-05-04 14:49:30 +02:00
Laurent Cozic
15329de603 Changed order of error/warning handling to avoid redundant error messages.
Displayed grep command that can be copied and pasted to investigate backup issues.
2017-05-02 21:14:22 +00:00
Laurent Cozic
77d8c56000 Added --stats --human-readable to default rsync flags, and done minor clean up and refactoring 2017-05-02 21:58:01 +00:00
Laurent Cozic
1ffb922e33 Update README.md
Fixed headers
2017-05-02 12:20:50 +01:00
Laurent Cozic
d65cb504cc Documented expiration logic in README 2017-05-02 20:36:10 +00:00
Laurent Cozic
f9205f6e20 Allow setting log file directory 2017-05-02 20:14:36 +00:00
Laurent Cozic
041ffb459b Merge pull request #74 from robocad/patch-1
Update README.md
2017-04-27 23:21:45 +01:00
robocad
d612e9980e Update README.md
typo
2017-04-27 22:07:37 +02:00
Laurent Cozic
b2e5582ade Update README.md
Fixed tabs
2017-04-25 16:10:48 +01:00
Laurent Cozic
1d8592c39a Update README.md
Fixed readme file
2017-04-25 16:09:30 +01:00
Laurent Cozic
cffc330ff5 Update README.md
Moved `flock` information under Example and shortened it
2017-04-25 16:07:47 +01:00
Laurent Cozic
4b15ea8f75 Merge pull request #72 from jpartain89/master
Changed `flock` line
2017-04-25 16:05:01 +01:00
jpartain89
9367b9b80b Changed flock line
Changed `sh` to `bash` when calling `rsync_tmbackup.sh`. A bunch of errors pop up when using `sh`. 

trap: SIGINT: bad trap
rsync_tmbackup.sh: 173: rsync_tmbackup.sh: [[: not found
rsync_tmbackup.sh: 173: rsync_tmbackup.sh: -z: not found
rsync_tmbackup.sh: 71: rsync_tmbackup.sh: [[: not found
rsync_tmbackup.sh: 194: rsync_tmbackup.sh: [[: not found
rsync_tmbackup.sh: 194: rsync_tmbackup.sh: [[: not found
rsync_tmbackup.sh: 194: rsync_tmbackup.sh: [[: not found
2017-04-25 09:24:49 -05:00
Laurent Cozic
674d5a1878 Merge pull request #71 from joekerna/fn_rm
Improve speed of expiring backups
2017-04-25 12:42:13 +01:00
joekerna
dff1ea00e1 rsync doesn't work with files
Use rsync only to delete directories and stick to rm for files.
2017-04-19 10:01:30 +02:00
joekerna
78d7121586 Improve backup removal (Issue #55)
Implemented quicker removal of old backups according to issue #55
2017-04-18 14:48:40 +02:00
Laurent Cozic
75ff2a6aca Merge pull request #69 from mackdata/master
Update README.md
2017-04-06 14:36:43 +01:00
mackdata
1964baa4a2 Update README.md 2017-04-06 15:28:45 +02:00
mackdata
c44911155e Update README.md 2017-04-06 15:23:28 +02:00
mackdata
103f85cd65 Update README.md
Added section ## Lockfile
2017-04-06 13:33:34 +02:00
Laurent Cozic
756b03bc32 Fixes issue #59 - script didn't work when source set to '/' 2016-11-29 12:29:07 +00:00
Laurent Cozic
1880478bc5 Merge pull request #57 from dliessi/fix-date-FreeBSD
fix date parsing on FreeBSD
2016-10-08 11:28:02 +01:00
Davide Liessi
4cf2f2e081 fix date parsing on FreeBSD 2016-10-05 22:51:08 +02:00
Laurent Cozic
9bf68c1e1e Removed test dir 2016-10-03 21:04:20 +01:00
Laurent Cozic
41427964ac Removed --archive flag and replaced it with the actual options, to make it clear what's happening. Also removed --verbose 2016-10-01 13:48:30 +01:00
Laurent Cozic
56a3a89866 Fixed issue with paths that contain spaces 2016-10-01 13:44:56 +01:00
Laurent Cozic
b9d359f797 Update rsync_tmbackup.sh
Allow getting and setting rsync options
2016-09-10 11:32:11 +01:00
Laurent Cozic
d680039e5f Update README.md
Documented `--rsync-set-flags` option.
2016-09-10 11:30:17 +01:00
Laurent Cozic
5a0fd5f3b1 Added SSH and Time Machine style backup example 2016-08-16 09:36:57 +01:00
Laurent Cozic
6157826651 Added support for setting SSH port 2016-08-15 12:01:37 +01:00
Laurent Cozic
9c5046e518 Added support for command line flags 2016-08-15 11:29:15 +01:00
Laurent Cozic
4fcbb0eab5 Formatting - not sure when that was changed to spaces 2016-08-12 17:29:09 +01:00
Laurent Cozic
b905b61a86 Not supported on certain versions of BusyBox - fixes issue #52 2016-05-05 14:10:06 +02:00
Laurent Cozic
ded89f98d6 Merge pull request #47 from BrandonDusseau/master
Fixes issue with incorrectly detecting if backup is already running if interrupted
2016-03-22 15:44:49 +01:00
Brandon Dusseau
e8e0806823 Fixes issue with incorrectly detecting if backup is already running if interrupted 2016-03-19 00:27:51 -04:00
Laurent Cozic
7585aae16c Merge pull request #32 from bhuvi8/master
display usage info if required args not passed
2016-02-03 17:22:48 +01:00
Bhuvanesh Kumar
a8504cbf4c modified to not assume destination if not provided 2016-02-03 21:38:17 +05:30
Bhuvanesh Kumar
6e27f77316 Add backup files(*~) to .gitignore 2015-12-08 00:32:10 +05:30
Bhuvanesh Kumar
5e4250d5bc Merge remote-tracking branch 'upstream/master'
Conflicts:
	rsync_tmbackup.sh
2015-12-08 00:25:50 +05:30
Laurent Cozic
9c36702657 Update README.md
Mentioned support for SSH.
2015-11-08 12:15:21 +01:00
Laurent Cozic
2f2ac64aa3 'Fix' active backup task issue in Cygwin, added warning, and TODO solution 2015-11-08 12:09:28 +01:00
Laurent Cozic
b7d2cae0b3 Merge pull request #29 from fustundag/master
SSH support added.
2015-11-08 12:00:37 +01:00