Go to file
2023-02-23 11:17:43 +01:00
bin restore-website-from-backup.sh: some changes to the script output. 2022-07-01 22:50:47 +02:00
conf Fix some errors determin backup device. 2023-01-14 16:46:14 +01:00
hosts mysql_backup.sh: change '--max_allowed_packet' to '512M' (--max_allowed_packet=512M). 2023-02-23 11:17:43 +01:00
.gitignore Add Script 'restore-website-from-backup.sh'. 2020-11-26 10:37:01 +01: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 Fix some errors determin backup device. 2023-01-14 16:46:14 +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