Yt {
    Pool: "crypta_graph"
}

Source: "//home/crypta/public/ids_storage/device_id/app_metrica_month"
BackupDir: "//home/crypta/archive/graph/app_metrica_month"
ReactorNamespace: "/crypta/graph/archive/app_metrica_month"

Backupers: [
    {
        DirName: "daily"
        Predicate: "lambda date: bool(datetime.datetime.strptime(date, '%Y-%m-%d'))"
        Repeats: 7
    },
    {
        DirName: "monthly"
        Predicate: "lambda date: datetime.datetime.strptime(date, '%Y-%m-%d').day == 1"
        Repeats: 999
        PredicateGap: "lambda date, last: datetime.datetime.strptime(date, '%Y-%m-%d').month != datetime.datetime.strptime(last, '%Y-%m-%d').month"
        # Master: "daily"
    }
]
