Jump to content


Photo

Admin Showing Wrong Path For Backup Script


  • Please log in to reply
1 reply to this topic

#1 backpages

backpages

    Enthusiast

  • Members
  • PipPipPip
  • 75 posts

Posted 27 April 2012 - 07:45 AM

I'm using 2.1.1, build 10874. Under Admin>Data Backup & Restore the Backup Script Path is shown as: Backup Script Path: /home/content/81/4353181/html/store/backup.sh I know for a fact that the backup.sh file is NOT directly inside the store folder. It is inside the avactis-system folder which is inside the store folder. Why is this backup path showing incorrectly? Can I fix it? If the last part is wrong how do I know the rest of it is not also wrong? Thanks for any help or insight.

#2 Lana

Lana

    Devotee

  • Members
  • PipPipPipPip
  • 123 posts

Posted 27 April 2012 - 07:52 AM

Hi, to correct the paths displayed in the Backups section, open this file: avactis-system\admin\templates\modules\tools\backup\container.tpl.html and find the following line: <b>Backup Script Path:</b> <code><?php echo dirname(dirname(dirname(__FILE__))).'/backup.sh' ?></code> <br> <b>Restore Script Path:</b> <code><?php echo dirname(dirname(dirname(__FILE__))).'/restore.sh' ?></code> Replace dirname(dirname(dirname(__FILE__))).' with '/home/content/81/4353181/html/store/avactis-system