Mercurial Hosting > luan
diff examples/blog/src/private/tools/backup.luan @ 789:e2eb55d86bb2
add http/tools
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 04 Sep 2016 20:34:55 -0600 |
parents | c38f6619feb9 |
children | 5dbb552075ff |
line wrap: on
line diff
--- a/examples/blog/src/private/tools/backup.luan Sun Sep 04 20:11:11 2016 -0600 +++ b/examples/blog/src/private/tools/backup.luan Sun Sep 04 20:34:55 2016 -0600 @@ -6,7 +6,7 @@ return function() local backup = Io.uri "site:/private/local/backup.zip" backup.delete() - Db.backup(backup) + Db.zip(backup) Io.stdout = Http.response.text_writer() %>