Commit Graph

34 Commits

Author SHA1 Message Date
Silvio Rhatto
1fda206fa2 Rsync handler: using more debug/warning instead of regular echo (upstream #3840) 2012-02-27 18:47:21 -03:00
Silvio Rhatto
102c619341 Fixing $rsync_options output when rsync is local (Issue #3001) 2012-02-26 13:51:24 +01:00
intrigeri
a74db16e51 Fix typos. 2012-02-25 14:01:49 +01:00
Silvio Rhatto
dcabf4fe4e Fixing escaping and debug message for remote metadata cleanup (#3727) 2012-01-04 22:48:45 +01:00
Silvio Rhatto
db45b98132 Cleanup orphaned metadata (#3727) 2012-01-04 22:48:41 +01:00
Silvio Rhatto
d680847c37 Abort on rsync error (#3692) 2012-01-01 17:28:14 +01:00
Silvio Rhatto
6933a8724d Fixing metadata rotation 2012-01-01 10:46:15 +01:00
Silvio Rhatto
aaa53a78b2 Allow disabling rotation or setting 2 days as minimum for backup increments in rsync short format (Issue #2107) 2012-01-01 10:45:48 +01:00
Silvio Rhatto
10d67587ef Removing 'exit 1'; using 'fatal' instead (Redmine#3721) 2012-01-01 10:41:16 +01:00
Silvio Rhatto
926152dfa1 Mangle rsync_options just after all other options were evaluated (#3702) 2011-12-31 22:05:50 +01:00
Silvio Rhatto
b89b684c2c Provide a default number of days for the rsync handler 2011-12-31 22:02:29 +01:00
Silvio Rhatto
46000c0308 Make numericids defaults to null (fixes #3691) 2011-12-31 21:49:29 +01:00
Silvio Rhatto
3ae23af640 Fixing $rsync_options output (Issue #3001) 2011-08-17 19:28:35 +02:00
Silvio Rhatto
9e7c186f02 Fixing $rsync_options output when rsync is local (Issue #3001) 2011-08-17 19:27:59 +02:00
intrigeri
cdcc2bc5c9 Do arithmetic using bash rather than bc (Closes: #603173) 2011-04-26 11:00:02 +02:00
intrigeri
2392094a24 Make units clearer (Closes Redmine bug #2737). 2011-02-16 08:22:10 +01:00
Silvio Rhatto
2bf727c140 Don't remove created metadata after rotation at rsync 2010-09-25 16:29:43 -03:00
Silvio Rhatto
eff27ce1cd Fixing long rotation at rsync handler 2010-09-20 22:10:13 -03:00
Silvio Rhatto
e90b9b78bb Removing rsync handler changelog 2010-09-02 20:39:42 -03:00
Silvio Rhatto
6bc07684e9 Removing unneeded hostname and user from ssh_cmd_base 2010-09-02 20:39:07 -03:00
Silvio Rhatto
c3f4247c06 Changing 'info' to 'fatal' at rsync handler set_lockfile function 2010-09-01 19:02:29 -03:00
Silvio Rhatto
7cbf1b2013 Rsync handler CHANGELOG update 2010-08-25 20:53:23 -03:00
Silvio Rhatto
f4ed3ae9a2 Making sure that the pid on lockfile reffers to an rsync backup process 2010-08-21 19:30:02 -03:00
Silvio Rhatto
7f075c1e3e Fixing lockfile checks for rsync handler 2010-08-21 18:37:48 -03:00
Silvio Rhatto
9fe6ebf377 RSYNC_RSH fix 2010-08-17 12:18:16 -03:00
Silvio Rhatto
7ef6a0b844 Fixing ssh_cmd and RSYNC_RSH at rsync handler 2010-08-17 10:59:13 -03:00
intrigeri
5da707b309 rsync: added vim and Emacs modelines for consistency's sake 2009-12-25 02:28:55 +01:00
Micah Anderson
34d0d30593 adjust the comparison operators in the rsync handler, fixes #1473 2009-12-02 17:09:16 -05:00
Silvio Rhatto
75d17d06f2 Enhanced rsync handler.
- Added support for:
  - Remote destinations
  - Long rotation format similar to maildir handler
  - Batch files through --read-batch and --write-batch
  - Custom file list using --files-from
  - SSH persistent connection using ControlMaster
  - The rsync:// protocol
- Metadata folder for each backup folder
- General refactoring
- Code cleanup

Not all options were tested and it might contain bugs.
Tests, comments and patches are welcome. :)
2009-11-06 11:16:16 -05:00
Matthijs Kooijman
78884142e7 Add a vim modeline with indentation settings.
The modelines added match the emacs lines already present and also set
the filetype to sh (just like the emacs lines).
2009-05-23 10:42:20 +02:00
Matthijs Kooijman
4ecaae9405 Make all indentation consistent.
Previously, there were many indentation styles in use: Real tabs, 2, 3
or 4 spaces, mixing these within the same file, function or even within
a single line.

This commit changes all bash scripts in the handlers, src and lib dirs
to use consistent indentation: three spaces are now used everywhere.
Other files (e.g. Makefiles) are left untouched.

Additionally, this commit removes all trailing whitespace.
2009-05-23 10:34:16 +02:00
Micah Anderson
8c04b73c83 add missing parameter to rsync 2007-12-02 16:56:32 +00:00
Micah Anderson
ea79f006da add example.rsync and updated rsync handler from rhatto 2007-11-06 21:20:36 +00:00
Micah Anderson
3a74d7d526 remove rsnap and rename rub handler to rsync, after consultation with rhatto 2007-11-02 19:32:51 +00:00