Advanced Automatic Updates
[resolved] How to trigger a backup? (2 posts)

  1. Fitzpatg
    Posted 3 years ago #

    From pento.net: “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!


  2. Gary Pendergast
    Plugin Author

    Posted 3 years ago #

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Automatic Updates
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic