Page 1 of 1

Vesta Backup Stalling

Posted: Tue Nov 25, 2014 11:42 pm
by yesblind
I'm facing a dilemma. Our staging site & our live site both run identical setups of Vesta.

Staging site takes 10 minutes to back up our site. Live site is hanging around 1 to 2 hours. The only functional difference I can see in the Vesta backup log is this:
-- WEB --
2014-11-11 05:10:02 domain.com
sed: -e expression #1, char 6: invalid usage of line address 0
sed: -e expression #1, char 6: invalid usage of line address 0
2014-11-11 05:10:02 excluding directory logs
2014-11-11 05:10:02 excluding directory public_html/cache
2014-11-11 05:10:02 excluding directory public_html/themes/000/cache
2014-11-11 05:19:11 *** 1 domain ***
What would be causing the sed: -e expression #1, char 6: invalid usage of line address 0 error?

Re: Vesta Backup Stalling

Posted: Wed Dec 03, 2014 12:33 am
by yesblind
More testing of the backup sequence shows this fails for some reason:

Code: Select all

        # Backup ssl vhost
        if [ "$SSL" = 'yes' ]; then
            tpl_file="$WEBTPL/$WEB_SYSTEM/$TPL.stpl"
            conf="$HOMEDIR/$user/conf/web/s$WEB_SYSTEM.conf"
            get_web_config_brds
            sed -n "$top_line,$bottom_line p" $conf > conf/s$WEB_SYSTEM.conf
        fi
What would cause this to break?