Backup Module For OpenLiteSpeed

I am long time ISP Manager user and I really like how they manage backups and restore and their integration with amazon s3.

Sadly I cannot use ISP manager with openlitesped. Currently I am running my server without any server panel and I loving it. Only thing I am lacking is to be able to have backups.

My requirements are to be able to backup and restore website files and database to remote location like amazon s3.

I was wondering if you can point me to the directions of achieving this setup.

I shall be very thankful to you for this.

Thank you.