ThomasTJdev / nim_websitecreator

Nim fullstack website framework - deploy a website within minutes
https://nimwc.org
MIT License
176 stars 7 forks source link

--backupdb changes #118

Closed ThomasTJdev closed 5 years ago

ThomasTJdev commented 5 years ago

Allow for backup db without gpg signing.

Create folder backup to store backups in.

Use info() on messages.

ThomasTJdev commented 5 years ago

Not tested on postgres, only SQLite.

Question: Should the host be from config, when it is postgres?


backupDb*(dbname: string,
    filename = fileBackup & replace($now(), ":", "_") & ".sql",
    host = "localhost"
    ...``
juancarlospaco commented 5 years ago

sign = false Already does this on the code, is exactly the same, the feature is duplicated. :hushed: