rsnapshot / sourceforge-issues

Issues imported from sourceforge. These are just to track down everything on github. After closing all issues, we remove the repo again. Please don't open any issues here!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

backup_script should be given config values in env vars

bebehei opened this issue · comments

Reported by admwiggin on 2011-04-02 07:21 UTC
It would be extremely useful if configuration values (especially "cmd_ssh", "cmd_rsync", and "ssh_args") could be passed forward to a command run using backup_script using environment variables such as $RSNAPSHOT_cmd_ssh or something. Would make writing scripts that do remote connections much simpler, since I wouldn't have to duplicate parts of my configuration, and could more easily use the same scripts in multiple rsnapshot configuration files without worrying about them trying to use the wrong SSH identify file, for example.

closed as it is reported now in the real rsnapshot-repo