annotate backup/copy_backups.luan @ 1795:745f756e719b

make copy_to recursive
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 02 Jan 2024 21:49:54 -0700
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")