Skip to content

task.pickle in backups #3262

@sussjb99

Description

@sussjb99

Hi

I noticed that in your motion eye general backups you are including the file "tasks.pickle". I understand that capturig this transitory type of data might be helpful to developers, however I would suggest that from a user perspective that restoring transitory information might be less then ideal.

Restoring tasks.pickle can resurrect tasks that no longer make sense.
Examples of what could go wrong:

  • It tries to upload files to a storage location that no longer exists
  • It attempts to process motion events from a camera that isn’t connected
  • It resumes a cleanup job on a directory that’s empty
  • It retries a failed upload from months ago
  • It schedules duplicate tasks because the new system already created fresh ones
    None of that is helpful during a clean restore.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions