Commit Graph
34 Commits
Author SHA1 Message Date
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