Liking cljdoc? Tell your friends :D

dda.pallet.dda-backup-crate.infra.backup-elements


backup-script-linesclj

(backup-script-lines backup-name
                     backup-store-folder
                     service-restart
                     user-name
                     elements)

Inputs: [backup-name :- s/Str backup-store-folder :- s/Str service-restart :- s/Str user-name :- s/Str elements :- [schema/BackupElement]]

Create the backup script for defined elements. Selmer will be used to create the script. As the target format is not HTML/XML it is not necessary to escape certain characters. For documentation on Selmer please see https://github.com/yogthos/Selmer.

Inputs: [backup-name :- s/Str backup-store-folder :- s/Str service-restart :- s/Str user-name :- s/Str elements :- [schema/BackupElement]]

Create the backup script for defined elements.
Selmer will be used to create the script. As the target format is not HTML/XML it is not necessary to escape certain characters.
For documentation on Selmer please see https://github.com/yogthos/Selmer.
sourceraw docstring

restore-script-linesclj

(restore-script-lines duplicity?
                      backup-script-path
                      backup-restore-folder
                      service-restart
                      transport-management
                      elements)

Inputs: [duplicity? :- s/Bool backup-script-path :- s/Str backup-restore-folder :- s/Str service-restart :- s/Str transport-management :- schema/TransportManagement elements :- [schema/BackupElement]]

create the restore script

Inputs: [duplicity? :- s/Bool backup-script-path :- s/Str backup-restore-folder :- s/Str service-restart :- s/Str transport-management :- schema/TransportManagement elements :- [schema/BackupElement]]

create the restore script
sourceraw docstring

transport-element-linesclj

(transport-element-lines gens-stored-on-source-system element)

Inputs: [gens-stored-on-source-system :- s/Num element :- schema/BackupElement]

Inputs: [gens-stored-on-source-system :- s/Num element :- schema/BackupElement]

sourceraw docstring

transport-script-linesclj

(transport-script-lines duplicity?
                        backup-script-path
                        backup-transport-folder
                        backup-store-folder
                        local-management
                        elements)

Inputs: [duplicity? :- s/Bool backup-script-path :- s/Str backup-transport-folder :- s/Str backup-store-folder :- s/Str local-management :- schema/LocalManagement elements :- [schema/BackupElement]]

create the transportation script

Inputs: [duplicity? :- s/Bool backup-script-path :- s/Str backup-transport-folder :- s/Str backup-store-folder :- s/Str local-management :- schema/LocalManagement elements :- [schema/BackupElement]]

create the transportation script
sourceraw docstring

write-fileclj

(write-file backup-name script-type script-path cron-order script-lines)

Inputs: [backup-name :- s/Str script-type :- schema/ScriptType script-path :- s/Str cron-order :- s/Str script-lines :- [s/Str]]

Write the backup file.

Inputs: [backup-name :- s/Str script-type :- schema/ScriptType script-path :- s/Str cron-order :- s/Str script-lines :- [s/Str]]

Write the backup file.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close