Support » Plugin: Advanced Automatic Updates » How to trigger a backup?

  • Resolved Fitzpatg


    From “These actions (auto_updater_before_update and auto_updater_after_update) are useful for triggering a backup prior to the update…”

    Can anybody explain exactly how to get this plugin to trigger a backup prior to updating? I am hoping it could be made to work this way with the “Online Backup for WordPress” plugin from Backup Technology. But if that is not possible, then at least triggering any WordPress backup would be great. Thanks for any suggestions!

Viewing 1 replies (of 1 total)
  • Plugin Author Gary Pendergast


    I don’t know how to trigger a backup for this plugin, but your code will look something like this:

    add_action( 'auto_updater_before_update', 'the_backup_function' );

    You’ll need to ask the backup plugin authors what function to replace the_backup_function with.

    This code can be placed anywhere, though I naturally recommend you don’t put it somewhere it could be overwritten by an update. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘How to trigger a backup?’ is closed to new replies.