annotate backup/copy_backups.luan @ 1698:2dbcc8360a3e

backup security
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 27 Jun 2022 20:51:49 -0600
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")