Yt {
    Pool: "crypta_graph"
}

Source: "//home/crypta/production/state/graph/v2/matching/workdir/output/vertices_no_multi_profile"
BackupDir: "//home/crypta/archive/graph/vertices_no_multi_profile"
ReactorNamespace: "/crypta/graph/archive/vertices_no_multi_profile"

Backupers: [
    {
        DirName: "daily"
        Predicate: "lambda date: bool(datetime.datetime.strptime(date, '%Y-%m-%d'))"
        Repeats: 33
    },
    {
        DirName: "weekly"
        Predicate: "lambda date: datetime.datetime.strptime(date, '%Y-%m-%d').weekday() in {4}"
        Repeats: 7
        # Master: "daily"
    },
    {
        DirName: "monthly"
        Predicate: "lambda date: datetime.datetime.strptime(date, '%Y-%m-%d').day == 1"
        Repeats: 8
        # Master: "daily"
    },
    {
        DirName: "difflog"
        DiffBy: ["id", "id_type"]
        VerifyField: "cryptaId"
        Repeats: 999  # months
    }
]
