Menu

change backup location

2015-06-25
2015-06-26
  • Mansy Peperkamp

    Mansy Peperkamp - 2015-06-25

    is it possibe to change the backup location of iTop to a different location?

    an other question, iTop says:
    Backup files are named depending on DB identifiers, date and time. Example: itop-2015-06-25_12_33

    Backups will occur every Maandag, Dinsdag, Woensdag, Donderdag, Vrijdag at 23:30

    At most 5 backup files will be kept in the target directory.

    i configured the backup last Monday, but i don't say any automatic made backups.

    When i press the backup now button, iTop will start making a backup.

     
  • Thiago Arcanjo

    Thiago Arcanjo - 2015-06-26

    If you do the backup from itop Interface (Manual Backup), the file you need to change is <itop-path>/env-production/itop-backup/ajax-backup.php, change the parameter:</itop-path>

    $oBB = new BackupExec(APPROOT.'data/backups/manual/', 0 /iRetentionCount/);

    APPROOT.'data/backups/manual/' = <new_path>;</new_path>

    For schedule backups, I think, you have to change the new BackupExec() to new BackupExec(<new_path>)</new_path>

    Why this:

    The path for save your backup is the first parameter of BackupExec class, so if you dont pass any new path, the script will get default path.

    Try this and report to us.

     
  • Denis

    Denis - 2015-06-26

    For automatic backups to occur, make sure that cron.php is properly scheduled:
    https://wiki.openitop.org/doku.php?id=2_1_0:admin:cron

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.