fairdm.backups.signals#

Receivers that create the default backup tasks.

Module Contents#

Functions#

seed_default_tasks

Create each default backup task that does not exist, weekly on Sunday at 03:00.

Data#

API#

DEFAULT_TASKS#

[(‘Back up the database’, ‘fairdm.backups.tasks.backup_database’), (‘Back up the media’, ‘fairdm.bac…

seed_default_tasks(**kwargs)#

Create each default backup task that does not exist, weekly on Sunday at 03:00.

A task that exists is never touched, so a portal that changed a schedule, switched a task off or renamed it keeps its choice. A task is found by its task path.

Args: **kwargs: The signal’s arguments, unused.