Commit Graph
50 Commits
Author SHA1 Message Date
Laurent Cozic 69ef82f274 Merge pull request #37 from uglygus/master
Fixed PID re-use issue
2015-04-05 14:42:19 +02:00
Laurent Cozic a728820bfd Merge pull request #36 from eaut/avoid-concurrent
Prevent execution of concurrent backup tasks
2015-02-15 10:57:48 +01:00
lau 21c24be547 Update README.md
Added complete license
2014-09-19 11:02:32 +02:00
Laurent Cozic b9cc101d77 Merge branch 'master' of https://github.com/laurent22/rsync-time-backup 2014-04-28 22:18:55 -03:00
Laurent Cozic 1a3dc0b144 More complete command 2014-04-28 22:18:32 -03:00
Laurent 1384fdfd1c Update README.md 2014-02-03 02:20:46 +08:00
Laurent 7265d26b0b Update README.md
Clarify advantages/disadvantages
2014-02-03 02:19:25 +08:00
Laurent 64f7005ab7 Update README.md
Update compatibility.
2014-02-03 02:05:10 +08:00
Laurent 45a90310e3 Merge pull request #31 from musically-ut/patch-1
Fix minor typos in the README.md
2014-01-26 21:26:56 -08:00
Laurent 60c04350fc Merge pull request #30 from Meldanya/master
Fix expiring old backups
2014-01-14 05:16:42 -08:00
Laurent Cozic 27a98fb54b Added TODO to README.md 2014-01-12 03:09:12 +08:00
Laurent a3bd5009b1 Update README.md
Testing status.
2013-12-27 06:06:39 +08: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
Laurent c105c0a9e2 Merge pull request #27 from bhuvi8/master
Added rsync error handling and modified WARN and ERROR functions to print to stderr
2013-12-21 02:26:32 -08:00
Laurent 7b9de2b5f5 Merge pull request #26 from jakschu/patch-1
Fix typo
2013-12-16 02:01:58 -08:00
Laurent 9a87c1d4e4 Merge pull request #23 from robru/simplify-logfiles
Simplify logfile parsing and drop unreachable codepath.
2013-12-06 08:39:40 -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
Laurent Cozic 2e413d82d7 Merge branch 'master' of https://github.com/laurent22/rsync-time-backup 2013-11-26 03:44:06 +08:00
Laurent cb252f7545 Update README.md
Mentioned level of testing.
2013-11-26 03:40:23 +08:00
Laurent 5d1027fd78 Merge pull request #21 from efournie/efournie-master
Force deleting INPROGRESS_FILE

Avoids waiting for user input if rm is aliased to rm -i
2013-11-25 10:17:53 -08:00
Laurent Cozic b8fb75bbc0 Removed dangerous and unneeded delete flags.
Since there's normally nothing in the destination directory, the
delete flags are not really needed.
2013-11-24 17:23:00 +08:00
Laurent Cozic d31b689f6b Removed old backup deletion prompt, and formatting tweaks.
- Removed old backup deletion prompt as it's not really needed.
- Made all variables uppercase for consistency.
- Used double square brackets in `if` statements.
2013-11-16 22:50:10 +08:00
Laurent Cozic 81d6b4fb99 Merge branch 'master' of https://github.com/laurent22/rsync-time-backup 2013-11-16 22:20:07 +08:00
Laurent 12784d1d32 Merge pull request #14 from robru/master
Time Machine style backup pruning.
2013-11-16 06:17:54 -08:00
Laurent Cozic e092d5c2fd Updated list of features in README 2013-11-15 18:06:49 +08:00
Laurent Cozic 2ade9de422 Fixed latest backup symlink issues
Code was in the wrong place (link being added when the backup failed only).
Also made the symlink relative to the current folder so that the drive
can be mounted with a different path.
2013-11-15 17:20:16 +08:00
Laurent 85fea581a6 Merge pull request #15 from mumrah/master
Add a "latest" symlink when backup is successful
2013-11-15 01:16:05 -08:00
Laurent 8a2e91813b Update README.md
Now done: "Check if there's enough space in the destination before doing the backup. Also automatically delete old backups."
2013-11-13 17:57:51 +08:00
Laurent Cozic c505ecbfb8 Merge branch 'master' of https://github.com/rastkov/rsync-time-backup into rastkov-master
Conflicts:
	rsync_tmbackup.sh
2013-11-13 17:51:15 +08:00
Laurent Cozic 159d8b6416 Merge branch 'master' of https://github.com/laurent22/rsync-time-backup
Conflicts:
	rsync_tmbackup.sh
2013-11-13 17:47:58 +08:00
Laurent Cozic 2fd6b109f0 Using find instead of ls to find the last and second last directory used for backup. 2013-11-13 17:46:20 +08:00
Laurent Cozic c23f47164e Merge branch 'master' of https://github.com/tyriis/rsync-time-backup into tyriis-master
Changed regex for grep iirc POSIX mode

Conflicts:
	rsync_tmbackup.sh
2013-11-12 15:50:02 +08:00
Laurent Cozic 9128fa2a6f Merge branch 'master' of https://github.com/tyriis/rsync-time-backup into tyriis-master
Conflicts:
	rsync_tmbackup.sh
2013-11-12 15:40:00 +08:00
Laurent Cozic 1f5aabc31f Merge branch 'master' of https://github.com/laurent22/rsync-time-backup
Conflicts:
	rsync_tmbackup.sh
2013-11-12 15:31:20 +08:00
Laurent Cozic b481985f2a Move more setup code inside loop 2013-11-12 11:14:02 +08:00
Laurent 84415a3045 Delete rsync_tmbackup.sh.bak 2013-11-07 17:50:32 +08:00
Laurent 00ba40b617 Merge pull request #11 from Flimm/master
Deal with arguments with special characters better
2013-11-07 01:06:50 -08:00
Laurent Cozic d8fa4fa847 Delete old backup when no more space on destination 2013-11-05 16:08:23 +08:00
Laurent 1b0b115dd0 Merge pull request #5 from bitdeli-chef/master
Add a Bitdeli Badge to README
2013-10-28 10:03:24 -07:00
Laurent b39b7ed905 Merge pull request #2 from dereckson/patch-1
Script less Linux-centric, more UNIX-agnostic
2013-10-28 01:51:00 -07:00
Laurent 316e2ce58a Update README.md
Added license
2013-10-28 15:47:57 +08:00
Laurent Cozic 235d859b3a Don't cross filesystem boundaries during backup. 2013-10-28 11:41:22 +08:00
Laurent 43ba814961 Update README.md
Formatting
2013-10-27 14:22:37 +08:00
Laurent Cozic 1340e5ecde Readme formatting 2013-10-27 14:20:12 +08:00
Laurent Cozic c5c3670555 Readme formatting 2013-10-27 14:19:37 +08:00
Laurent Cozic 033cabcbcf Fixed support for relative paths 2013-10-27 14:18:11 +08:00
Laurent Cozic a3cdd8640a Readme tweaks 2013-10-27 12:34:05 +08:00
Laurent Cozic 405bdd9dc2 Wrote readme file 2013-10-27 12:31:06 +08:00
Laurent Cozic dd32c98a2c First commit 2013-10-27 12:00:28 +08:00
Laurent 13ab17cba4 Initial commit 2013-10-26 20:57:45 -07:00