Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 639 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 639 Bytes

daily-rclone-backup-batch

This script running on crontab of storage server(SAN storage) on promise environment, observe backup storage status.

repo contains daily sendmail script and rclone batch script. (includes linux, windows)

this script content 2 examples.

  1. modification files in the last week.

  2. check the storage size.

setup rclone client

[root@localhost ~]# crontab -l
00 1 * * * bash /home/paran/rclone.sh

setup daily mail on storage server

[root@localhost ~]# crontab -l
30 9 * * * bash /home/paran/sendmail.sh paranlee@paran.lee
0 9 * * * bash /home/paran/overmail.sh paranlee@paran.lee