annotate backup/copy_backups.luan @ 1697:aff2309ae510

add copy_backups.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 27 Jun 2022 18:36:56 -0600
parents
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")