Run script rclone after done backup

mikussikus

Verified User
Joined
Dec 21, 2022
Messages
36
I use rclone to transfer my users' backup to another server, however rclone script is running from crontab in specific time. Is exist any directadmin hook when I can be able to run my rclone script after da backup?
 
I use rclone to transfer my users' backup to another server, however rclone script is running from crontab in specific time. Is exist any directadmin hook when I can be able to run my rclone script after da backup?
Have a look at this page here:


Gives you info on how to create a pre or post backup hook and the filename to use as well.
 
I added the all_backups_post.sh file and pasted the code I used in the crontab. I tested it, and everything works. However I have one thing, when directadmin finish backup and start my rclone script, monitor backup in directadmin still exist, when rclone will transfer all filles then da close the stream. It is correct?
 
Back
Top