We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d3f779 commit c76d360Copy full SHA for c76d360
bin/v-restore-user
@@ -690,6 +690,11 @@ if [ "$cron" != 'no' ] && [ ! -z "CRON_SYSTEM" ]; then
690
echo -e "$(date "+%F %T") $jobs cron jobs"|tee -a $tmpdir/restore.log
691
fi
692
693
+ # Replace paths from vesta to hestia
694
+ if [ "$backup_system" == 'vesta' ] && [ "$user" == 'admin' ]; then
695
+ sed -i 's/vesta/hestia/g' $tmpdir/cron/cron.conf
696
+ fi
697
+
698
# Restoring cron jobs
699
cp $tmpdir/cron/cron.conf $USER_DATA/cron.conf
700
0 commit comments