• Resolved OllieJones

    (@olliejones)


    I’m a plugin developer, and my plugin creates some temporary files (by default in WP_CONTENT) that should not be migrated. These files contain ephemeral cached data and it’s pointless to retain them on migration.

    Do you have some sort of filter or other way that code in my plugin can tell your plugin to skip them when creating a duplicator package?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support devdavidam

    (@devdavidam)

    @olliejones With Duplicator you have the option to filter out folders, files by path and extensions. All this is done in the build Step 1 where you can specify what should be filtered out. However, we don’t support the communication between two plugins.

    Thread Starter OllieJones

    (@olliejones)

    Thanks for letting me know.

    Please consider adding three things in some future version of your excellent plugin.

    1. Skipping of folders containing a .donotbackup file.
    2. Adding a filter to allow programmatic adjustment of the list of folders to be excluded.
    3. Adding a filter to allow programmatic adjustment of the list of files to be adjusted.

    Please see this for some information on how other plugins approach this problem. https://github.com/OllieJones/sqlite-object-cache/issues/22

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mark a file as “do not duplicate”’ is closed to new replies.