Rclone automated backup


#1

Hi Guys

How would i run an automated backup of my server every night? If i launch putty and run

rclone copy "/home/smilingheadcase/Downloads/" "GD:Downloads"

It uploads my full download directory… is there a way to run this every night. I looked up cron and found the directory… but i don’t know how to turn the above cmd into a script.

Thanks for any help.


Important Backup files and locations for Server Apps
#2

By using crontab
https://www.thesitewizard.com/general/set-cron-job.shtml

btw you won’t need " in your command unless you are listing a folder with spaces :slight_smile:


#3

Thanks, that looks great, i was able to create a task and by running crontab -l, i was able to see that the cmd is scheduled.

Now i guess, i’ll just keen an eye on it for the time being, to make sure it runs successfully.