Liking cljdoc? Tell your friends :D

dev.kwill.datomic-backup


backup-dbclj

(backup-db {:keys [source-conn backup-file stop transform-datoms progress]
            :as arg-map})
source

backup-db-no-historyclj

(backup-db-no-history {:keys [remove-empty-transactions?] :as backup-arg-map})
source

current-state-restoreclj

(current-state-restore
  {:keys [source-db dest-conn max-batch-size read-parallelism read-chunk debug
          tx-parallelism]
   :or
     {max-batch-size 500 read-parallelism 20 read-chunk 5000 tx-parallelism 4}})

Restores current state (no history) from source-db to dest-conn.

Options:

  • :source-db - Source database value
  • :dest-conn - Destination connection
  • :max-batch-size - Datoms per transaction (default 500)
  • :read-parallelism - Parallel attribute reads (default 20)
  • :read-chunk - Datoms per read chunk (default 5000)
  • :debug - Enable debug logging (default false)
  • :tx-parallelism - parallelism for transaction worker (default 4)
Restores current state (no history) from source-db to dest-conn.

Options:
- :source-db - Source database value
- :dest-conn - Destination connection
- :max-batch-size - Datoms per transaction (default 500)
- :read-parallelism - Parallel attribute reads (default 20)
- :read-chunk - Datoms per read chunk (default 5000)
- :debug - Enable debug logging (default false)
- :tx-parallelism - parallelism for transaction worker (default 4)
sourceraw docstring

restore-dbclj

(restore-db {:keys [source dest-conn stop init-state with? transact progress]
             :or {transact d/transact}})
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close