annotate backup/copy_backups.luan @ 1777:e59349d53fec

optimize String.replace and regex.gsub
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Aug 2023 16:24:20 -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")