Go to file
2018-09-09 13:39:19 +02:00
conf Add 'extra_admin_email'. If set a summary e-mail will also be sent ti this address. 2018-03-11 23:11:14 +01:00
hosts rcopy.sh: fix errors. 2018-09-09 13:39:19 +02:00
.gitignore Add support of databases from more than one MySQL installation. 2018-01-23 02:54:48 +01:00
convert.sh Initial import - (formaly a SVN project named rcopy) 2017-01-24 15:15:01 +01:00
rcopy_manual.sh Initial import - (formaly a SVN project named rcopy) 2017-01-24 15:15:01 +01:00
rcopy.sh Set default value for 'host_scripts'. 2018-01-23 04:00:39 +01:00
README.convert Initial import - (formaly a SVN project named rcopy) 2017-01-24 15:15:01 +01:00

# - Convert host files and rcopy.conf file created on 
# - rcopy SVN versions eralier than revision 50
# -
cd /root/crontab/rcopy
sed -i '/^default_config_file=/d' hosts/*.sh
sed -i '/^rcopy_functions_file=/d' hosts/*.sh
perl -i -n -p -e "s#\.\s+\\\$default_config_file.*#. \\\$rcopy_conf_file#" hosts/*.sh
perl -i -n -p -e "s#^crontab_base_dir=.*#crontab_base_dir=\\\$rcopy_base_dir#" conf/rcopy.conf