       (info "Writing users backup...")
     (db/backup-yesterday "demeter" "users" path)))
 
-(defjob MentionsBackup [ctx]
+(defjob MessagesBackup [ctx]
   (let [path (get (qc/from-job-data ctx) "folder-path")]
-      (info "Writing mentions backup...")
-      (db/backup-yesterday "demeter" "mentions" path)))
+      (info "Writing messages backup...")
+      (db/backup-yesterday "demeter" "messages" path)))
 
 (defjob HashtagsBackup [ctx]
   (let [path (get (qc/from-job-data ctx) "folder-path")]
-      (info "Writing hashtags backup...")
-      (db/backup-yesterday "demeter" "hashtags" path)))
+      (info "Writing tags backup...")
+      (db/backup-yesterday "demeter" "tags" path)))
 
 
 ;; --- Schedules ---

    (qs/schedule job trigger)))


(defn pubs-backup-schedule
  "Create a schedule to backup the reactions at 3.15 am"
  [path]
  (let [job (j/build
             (j/of-type PubsBackup)
             (j/using-job-data {"folder-path" path})
             (j/with-identity (j/key "jobs.pubsbackup.1")))
        tk (t/key "triggers.4")
        trigger (t/build
                 (t/with-identity tk)
                 (t/start-now)
                 (t/with-schedule
                   (schedule
                    (every-day)
                    (starting-daily-at (time-of-day 3 15 00))
                    (ending-daily-at (time-of-day 3 15 01)))))]
    (qs/schedule job trigger)))


(defn urls-backup-schedule

    (qs/schedule job trigger)))


(defn refs-backup-schedule
  "Create a schedule to backup the reactions at 3.10 am"
  [path]
  (let [job (j/build
             (j/of-type RefsBackup)
             (j/using-job-data {"folder-path" path})
             (j/with-identity (j/key "jobs.refsbackup.1")))
        tk (t/key "triggers.3")
        trigger (t/build
                 (t/with-identity tk)
