Go to file
2020-09-22 12:44:59 +02:00
conf rcopy.conf.sample: forgot exporting 'rsync_progArgs' - Done. 2020-09-04 14:14:28 +02:00
hosts Adjust rsync arguments. 2020-09-04 13:58:38 +02:00
.gitignore Move manual hosts definition to configuration file manual_hosts.conf 2019-06-26 12:43:54 +02:00
convert.sh Initial import - (formaly a SVN project named rcopy) 2017-01-24 15:15:01 +01:00
rcopy_manual.sh Add Options 'ONLY_BACKUP' (do not handle existing archives) and 'NO_NEW_BACKUP' (do not backup any host, only handle existing archives). 2020-05-23 15:33:39 +02:00
rcopy.sh rcopy.sh: remount backup partition if backup partion is mounted, but mount point is not the defined one. 2020-09-22 12:44:59 +02: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