How to allow irsync to use different config files

Categories Backup

Irsync ( https://www.rfxn.com/projects/irsync-incremental-rsync/ ) is a great backup application for Linux admins. It uses rsync to take backups and can be configured to maintain backups over a period of time.

However there are cases when you will want to run multiple irsync cron jobs for taking backups of different directory paths. In such cases, having an option to set different config file would be great, which can be achieved quite easily.

This is for irsync version 1.1:

Proposed patch:

Proceed with patching:

… and now, you can set different config file for each cron, like:

Git url: https://github.com/vimal7370/irsync

Git download: # git clone git@github.com:vimal7370/irsync.git