Laurent Cozic
4393a86bd0
Merge pull request #90 from markalston/master
...
Added ability to pull files from remote ssh server
2017-09-26 15:08:36 +01:00
Wietse Franssen
dfeafb3d9f
fixed check for previous backups in zsh
2017-09-22 15:23:46 +02:00
markalston
5a8ed7b008
Update rsync_tmbackup.sh
2017-09-20 10:54:52 -06:00
markalston
13357c1cc9
fixes for ssh source folder /
2017-09-20 10:40:34 -06:00
markalston
6b05dca48a
fixed missing SSH_SRC_FOLDER_PREFIXs
2017-09-20 09:36:36 -06:00
markalston
88dce0e3f9
Updated rsync_tmbackup.sh to allow remote source
...
Changes to allow rsync_tmbackup.sh to pull files from remote server.
2017-09-20 09:22:18 -06:00
Laurent Cozic
9a5afa66f4
Merge pull request #76 from SimonHeimberg/patch-1
...
do not search for directories recurisve
2017-06-08 14:02:44 +01:00
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
b41589ec77
Only use optimised deletion method for large directories
2017-06-03 15:31:48 +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
f9205f6e20
Allow setting log file directory
2017-05-02 20:14:36 +00: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
756b03bc32
Fixes issue #59 - script didn't work when source set to '/'
2016-11-29 12:29:07 +00:00
Davide Liessi
4cf2f2e081
fix date parsing on FreeBSD
2016-10-05 22:51:08 +02: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
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
Brandon Dusseau
e8e0806823
Fixes issue with incorrectly detecting if backup is already running if interrupted
2016-03-19 00:27:51 -04:00
Bhuvanesh Kumar
a8504cbf4c
modified to not assume destination if not provided
2016-02-03 21:38:17 +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
2f2ac64aa3
'Fix' active backup task issue in Cygwin, added warning, and TODO solution
2015-11-08 12:09:28 +01:00
Fatih Üstündağ
e07f7e7123
Tested at Cygwin 2.2.1 at Windows Server 2012 R2 64bit
2015-09-26 01:15:35 +03:00
Elliot Jordan
742412fb3e
Cleaned up whitespace (no changes to code).
2015-01-20 13:42:53 -08:00
Elliot Jordan
3202ca5da0
Consistent formatting for conditionals.
2015-01-20 13:41:52 -08:00
Elliot Jordan
6c4607d853
Removed unnecessary $ from arithmetics.
2015-01-20 13:36:48 -08:00
Bhuvanesh Kumar
9bc6be475a
if destination is not specified assume current folder
2014-01-30 23:13:30 +05:30
Bhuvanesh Kumar
18258ad2a9
display usage info if required args not passed
2014-01-29 00:18:38 +05:30
Erik Jansson
12930a24eb
Fix expiring old backups
...
This got (accidentally?) turned off in a previous commit.
2014-01-14 13:55:43 +01:00
Laurent Cozic
27a98fb54b
Added TODO to README.md
2014-01-12 03:09:12 +08:00
Fatih Üstündağ
f3a265b07e
SSH support added.
...
Backups can be created at remote server via ssh. Destination folder
should be given like “root@192.168.0.1:/bakcups”
NOTE: Assumed public/private key config is ok.
2014-01-03 14:40:53 +02:00
Laurent Cozic
52376db2b5
OS X compatibility and splitted rsync errors and warnings
...
- Fixed bug on OS X since "--" is not supported by sed.
- Changed sed to grep for consistency with rest of the code.
- Splitted handling of rsync errors/warnings - for errors we quit with
an error code, for warnings we print a message but complete the backup
process.
2013-12-21 18:33:01 +08:00
bhuvi8
c8ae234904
Deleting log file when no error is found and proper handling of rsync errors
...
through log file rather than through exit code
2013-12-18 00:01:56 +05:30
bhuvi8
25ad8f07a6
Added rsync error handling and modified WARN and ERROR functions to print to
...
stderr
2013-12-17 02:15:43 +05:30
Robert Bruce Park
808767dc66
Merge @laurent22/master.
2013-11-26 22:05:46 -08:00
Laurent Cozic
c854cd17c6
Restoring $(basename -- "$DEST")
...
In case the destination is later on generated in a different way,
also makes the code and intention more explicit.
2013-11-27 12:36:54 +08:00
Robert Bruce Park
bff263ab57
Simplify logfile parsing and drop unreachable codepath.
2013-11-26 13:46:26 -08:00
Robert Bruce Park
d73b3ffe43
Yet more quotes!
2013-11-26 13:13:58 -08:00
Robert Bruce Park
b16c3cf4ce
Even more quotes.
2013-11-26 13:11:53 -08:00