annotate backup/copy_backups.luan @ 1742:d778f1f2598a

make server side events proxy work
author Vadim Filimonov <fffilimonov@yandex.ru>
date Tue, 08 Nov 2022 09:32:46 +0200
parents aff2309ae510
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1697
aff2309ae510 add copy_backups.luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 require "java"
aff2309ae510 add copy_backups.luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local BackupServer = require "java:goodjava.lucene.backup.BackupServer"
aff2309ae510 add copy_backups.luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3
aff2309ae510 add copy_backups.luan
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 BackupServer.copyBackupTo("backups.copy")