summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-07-13delete read only filesHEADmasterMike Vink
2025-05-27Log to destination (#280)gahowork
2024-09-12Update README.mdLaurent Cozic
2023-12-17Update symlink and remove .inprogress only after success (#264)qinjunjerry
2023-12-17Fixed indentation and white spaceLaurent Cozic
2023-12-13fix: Quote `$0` and printed variable (#263)Edwin Kofler
2023-03-14Update README.mdLaurent Cozic
2021-12-17README: Add `--rsync-append-flags` (#242)x4e-jonas
2021-06-25mod `fn_parse_date`, mismatch version/syntax of `date` (#240)Benjamin
* mod fn_parse_date combine identical cases, rm oft-failing darwin, subproc syntax * repair my default spaces to not expand tabs
2021-03-30corrected typo :-) (#233)ettoetto
2021-02-28Update rsync_tmbackup.sh (#232)psmanek
Fix: Source path with spaces.
2019-11-05fix typo (#179)linleybao
2019-09-29File existence and file system type checks (#170)omer-musa-battal
Added error checking for nonexistent source file. Also added file system type checks for destination and source, rsync flags are updated accordingly.
2019-09-28Fix lock to support more than one backup script running (#163)kapitainsky
2019-09-25TabsLaurent Cozic
2019-09-25Fix edge case in backup expiration logic (#166)kapitainsky
* bugfix - fn_expire_backups function * add BACKUP_TO_KEEP parameter * correct PREVIOUS_DEST test * variables case correction for consistency
2019-09-24Create FUNDING.ymlLaurent Cozic
2019-09-24Doc: Removed redundant exampleLaurent Cozic
2019-09-24Doc: Update mount example to work on more systems (#147)AbdelKarim Mateos
`0 */1 * * * if [[ -d /mnt/backup ]]; then rsync_tmbackup.sh /home /mnt/backup; fi` this is not valid for all sistems. Is not POSIX compilant. IMHO best soltuion is `if grep -qs /mnt/backup /proc/mounts; then rsync_tmbackup.sh /home /mnt/backup; fi` Best regards and thanks for your script.
2019-09-06Removed comment from --rsync-get-flags optionLaurent Cozic
2019-08-16move rsync flag --compress to ssh section. It will be used only if de… (#159)zwotzie
* move rsync flag --compress to ssh section. It will be used only if destination is accessed via ssh * fix identation, use tabs only
2019-02-23typo corr (#145)Wikinaut
2019-01-18Added rsync-append-flags method and method to specify id_rsa for ssh (#134)DeeeeLAN
* added rsync-append-flag method and method to specify id_rsa for ssh * fixed formatting * fixed formatting
2018-06-13Merge pull request #124 from cr1901/netbsdLaurent Cozic
NetBSD Fixes
2018-06-13Use NetBSD ps in place of pgrep to determine whether a backup is currently ↵William D. Jones
running.
2018-06-12Add NetBSD date parsing.William D. Jones
2018-05-18Merge pull request #120 from laurent22/expiration-strategyLaurent Cozic
Expiration strategy
2018-03-18Merge pull request #114 from neddy70/no-auto-expireLaurent Cozic
Add option to disable automatic purging of backups
2018-03-18Merge branch 'expiration-strategy' into no-auto-expireNeddy70
Merge upstream fixes
2018-03-18Merge branch 'expiration-strategy' of github.com:laurent22/rsync-time-backup ↵Laurent Cozic
into expiration-strategy
2018-03-17Added option to disable automatically purging old backups when out of space.Neddy70
2018-03-05Fixed date parsing issueLaurent Cozic
2018-02-26Update README.mdLaurent Cozic
2018-02-24Merge branch 'master' into expiration-strategyLaurent Cozic
2018-02-23Fixed variable namesLaurent Cozic
2018-02-23Documented backup expiration strategy and added test fileLaurent Cozic
2018-02-23Changed order of expiration strategy itemsLaurent Cozic
2018-02-23Merge pull request #110 from Loki3000/masterLaurent Cozic
Fix work with symlink as a destination
2018-02-23Fix work with symlink as a destinationLoki3000
https://github.com/laurent22/rsync-time-backup/issues/92
2018-02-12Merge pull request #109 from NathanFrench/masterLaurent Cozic
Fix to assure only one instance is running.
2018-01-19Fix to assure only one instance is running.Nathan French
Since this script runs under /usr/bin/env, running 'pgrep $0' will fail due to it being a child of 'bash'. In order to fix this, pgrep must use the `-o` flag (oldest pid, or in this case, the leader), and `-f` which searches the full process name.
2017-12-09Merge pull request #102 from mmolinac/tigercompatLaurent Cozic
Replaced operator '=~' with 'grep -Eq' and using a perl one-liner to …
2017-12-09Newer versions of bash reports OSTYPE differently. This copes with the case.Manuel Molina Cuberos
2017-12-08Replaced operator '=~' with 'grep -Eq' and using a perl one-liner to avoid ↵Manuel Molina Cuberos
'date -j'. Both are not compatible with Mac OS X Tiger.
2017-11-26Removed accidentally committed test filesLaurent Cozic
2017-11-26Allow specifying the expiration strategy tokens in any order (less error prone)Laurent Cozic
2017-11-26Moved expiration logic to own function and implemented handling of strategy ↵Laurent Cozic
tokens
2017-11-24Added --strategy option descriptionMatthias Kern
2017-11-24Introduces function that parses the --strategy option into a two dimensional ↵Matthias Kern
array
2017-11-17Merge pull request #96 from thomas-mc-work/patch-1Laurent Cozic
Also detect single dashes as error