mirror of
https://github.com/laurent22/rsync-time-backup
synced 2024-12-04 17:39:10 +00:00
Doc: Removed redundant example
This commit is contained in:
parent
a9eb0efbad
commit
218e43e5bf
1 changed files with 0 additions and 2 deletions
|
@ -65,8 +65,6 @@ On macOS, it has a few disadvantages compared to Time Machine - in particular it
|
|||
rsync_tmbackup.sh user@example.com:/home /mnt/backup_drive
|
||||
|
||||
* To mimic Time Machine's behaviour, a cron script can be setup to backup at regular interval. For example, the following cron job checks if the drive "/mnt/backup" is currently connected and, if it is, starts the backup. It does this check every 1 hour.
|
||||
|
||||
0 */1 * * * if [[ -d /mnt/backup ]]; then rsync_tmbackup.sh /home /mnt/backup; fi
|
||||
|
||||
0 */1 * * * if grep -qs /mnt/backup /proc/mounts; then rsync_tmbackup.sh /home /mnt/backup; fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue