Hello,
 Go through the below link:
https://www.c-sharpcorner.com/article/automatic-sql-server-backup-utility-using-sqlserver-agent/
 
https://www.c-sharpcorner.com/UploadFile/rohatash/creating-sql-server-backup-file-with-C-Sharp/ 
 
https://www.codeproject.com/tips/873677/sql-server-database-backup-and-restore-in-csharp