Skip to content

Instantly share code, notes, and snippets.

@marvin-marvin
Last active June 24, 2019 11:35
Show Gist options
  • Save marvin-marvin/41c3d7c8d48204ca21d2a598e6091094 to your computer and use it in GitHub Desktop.
Save marvin-marvin/41c3d7c8d48204ca21d2a598e6091094 to your computer and use it in GitHub Desktop.
rclone s3 crontab
# make sure crontab is used
@reboot /usr/bin/crontab /etc/cron.d/crontab
#*/15 * * * * /usr/bin/crontab /etc/cron.d/crontab
# ENV
SHELL=/bin/bash
# min,hour,dayOfMonth,month,dayOfWeek
# Marvin
30 18 */4 * * /usr/bin/rclone copy -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse gdrive-marvin:Marvin s3:mklingspohn-backup/Marvin > /proc/1/fd/1 2>/proc/1/fd/2
00 08 15 * * /usr/bin/rclone sync -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse gdrive-marvin:Marvin s3:mklingspohn-backup/Marvin > /proc/1/fd/1 2>/proc/1/fd/2
# Marvin-Mac
30 19 */4 * * /usr/bin/rclone copy -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse gdrive-marvin-computers: s3:mklingspohn-backup/Marvin-Mac > /proc/1/fd/1 2>/proc/1/fd/2
00 09 15 * * /usr/bin/rclone sync -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10--transfers=10 --drive-acknowledge-abuse gdrive-marvin-computers: s3:mklingspohn-backup/Marvin-Mac > /proc/1/fd/1 2>/proc/1/fd/2
# Jule & Marvin
45 03 */5 * * /usr/bin/rclone copy -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse gdrive-marvin:"Jule & Marvin" s3:"mklingspohn-backup/Jule & Marvin" > /proc/1/fd/1 2>/proc/1/fd/2
00 10 16 * * /usr/bin/rclone sync -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse gdrive-marvin:"Jule & Marvin" s3:"mklingspohn-backup/Jule & Marvin" > /proc/1/fd/1 2>/proc/1/fd/2
# Jule
30 06 */5 * * /usr/bin/rclone copy -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse gdrive-jule:Jule s3:mklingspohn-backup/Jule > /proc/1/fd/1 2>/proc/1/fd/2
00 11 16 * * /usr/bin/rclone sync -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse gdrive-jule:Jule s3:mklingspohn-backup/Jule > /proc/1/fd/1 2>/proc/1/fd/2
# Jule-Mac
30 09 */6 * * /usr/bin/rclone copy -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse gdrive-jule-computers: s3:mklingspohn-backup/Jule-Mac > /proc/1/fd/1 2>/proc/1/fd/2
00 12 16 * * /usr/bin/rclone sync -c -v -L --drive-pacer-min-sleep=100ms --bwlimit=10M --drive-chunk-size=128M --tpslimit=30 --checkers=10 --retries=10 --transfers=10 --drive-acknowledge-abuse gdrive-jule-computers: s3:mklingspohn-backup/Jule-Mac > /proc/1/fd/1 2>/proc/1/fd/2
# An empty line is required at the end of this file for a valid cron file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment