Skip to content

wed150/BackupHelper

 
 

Repository files navigation

BackupHelper

Original plugin: https://github.com/YQ-LL-Plugins/BackupHelper
A LeviLamina plugin which is port from LiteLoaderBDS to help you backup more easily

Download

lip install github.com/ShrBox/BackupHelper

Usage

/backup - Start backup now

/backup list - List all backups existing

/backup recover [number] - Select recover to a certain backup version, and restart server to finish recover process

/backup reload - Reload config file

These commands can be executed at BDS console, or by OPs in game.

Config file

At plugins/BackupHelper/config.ini, with comments in file

[Main]
; 备份存档保存的最长时间,单位:天 | Maximum backup storage time in days
MaxStorageTime=7

; 备份文件夹位置(相对于服务器根目录) | Backup folder location (relative to server root)
BackupPath=.\backup

; 备份文件压缩等级,可选等级有0,1,3,5,7,9 | Backup compression level (0=store only, 1=fastest, 9=best)
; 默认为0,即仅打包 | Default is 0 (no compression, just archive)
Compress=0

; 等待压缩的最长时间,单位:秒,如果为0则无限等待 | Maximum wait time for compression in seconds (0=unlimited)
MaxWaitForZip=1800

; 定期自动备份间隔时间(单位:小时),设为0则禁用自动备份 | Automatic backup interval in hours (0=disabled)
; 注意:服务器重启不会影响定时器 | Note: Server restart does not affect the timer
BackupInterval=24

About

A LeviLamina mod port from LiteLoaderBDS to help you backup more easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.8%
  • Xmake 3.9%
  • C 0.3%