Описание
# Backuper
Simple backup plugin for Paper/Folia with **FTP/SFTP/WebDAV/Google Drive** support.



[](https://bstats.org/plugin/bukkit/Backuper)
---
## 🔗 Pages 🔗
* [📖 Wiki](https://github.com/DVDishka/Backuper/wiki)
* [](https://backuper-mc.com)[ Backuper](https://backuper-mc.com)
* [](https://github.com/DVDishka/Backuper)[ GitHub](https://github.com/DVDishka/Backuper)
* [](https://modrinth.com/plugin/backuper)[ Modrinth](https://modrinth.com/plugin/backuper)
* [](https://hangar.papermc.io/Collagen/Backuper)[ Hangar](https://hangar.papermc.io/Collagen/Backuper)
---
## ⭐ Key Features ⭐
- **Multiple Storage Types (Local/SFTP/FTP/WebDAV/Google Drive)**
- **Automatic backups with customizable schedule**
- **Backups Management**
- **Archieving or storing backup as a folder**
- **Flexible Configuration**
- **Async to server thread and multithreaded**
- **Player Notifications**
---
## 🚀 Quick Start 🚀
1. Install the plugin in your `plugins` folder
2. Configure storage settings in `plugins/Backuper/config.yml`
3. Set backup schedule and preferences
4. For cloud storage (Google Drive), link your account using commands
---
## ⚙️ Basic Configuration ⚙️
After installing the plugin, configure the main settings in `plugins/Backuper/config.yml`:
### Backup Settings
```yaml
backup:
autoBackup: true
autoBackupPeriod: 1440
autoBackupCron: ''
```
- **autoBackup** - Enable/disable automatic backups
- **autoBackupPeriod** - Backup interval in minutes (1440 = 24 hours). Used only when autoBackupCron is empty
- **autoBackupCron** - Backup schedule ([CronMaker](http://www.cronmaker.com) for custom schedules). If specified, this value is used instead of autoBackupPeriod
### Local Storage
```yaml
storages:
local:
type: local
enabled: true
autoBackup: true
backupsFolder: ./plugins/Backuper/Backups
maxBackupsNumber: 10
maxBackupsWeight: 0
zipArchive: true
zipCompressionLevel: 5
```
- **enabled** - Enable/disable this storage
- **autoBackup** - Save automatic backups to this storage
- **backupsFolder** - Directory where backups will be stored
- **maxBackupsNumber** - Maximum number of backups to keep (0 = unlimited)
- **maxBackupsWeight** - Maximum total size in MB (0 = unlimited)
- **zipArchive** - Store as ZIP files or folders
- **zipCompressionLevel** - Compression level (0-9)
For detailed configuration and remote storage options (**FTP/SFTP/WebDAV/Google Drive**), see [Configuration](https://github.com/DVDishka/Backuper/wiki/Configuration)
---
## 💾 Storage Types 💾
- **Local** - Store backups on the same server
- **FTP** - Upload backups to FTP servers
- **SFTP** - Secure file transfer via SSH
- **WebDAV** - Store backups on HTTP(S) WebDAV services such as Nextcloud
- **Google Drive** - Cloud storage with OAuth authentication
---
## 📚 Documentation 📚
### ⚙️ Configuration ⚙️
See [Configuration](https://github.com/DVDishka/Backuper/wiki/Configuration)
### 💻 Commands 💻
See [Commands](https://github.com/DVDishka/Backuper/wiki/Commands)
### 🔐 Permissions 🔐
See [Permissions System](https://github.com/DVDishka/Backuper/wiki/Permissions-System)
---
## 🔄 Version Compatibility 🔄
### Version Numbering (X.Y.Z(A))
- **X** - Breaking changes without backward compatibility
- **Y** - Significant changes with backward compatibility
- **Z** - Minor changes and improvements
- **A** - Bugfixes or security/stability improvements (hotfixes)
### Major Version Changes
- **1.x.x → 2.x.x**: Complete permission and command system overhaul
- **2.x.x → 3.x.x**: Storage-specific permissions and required storage specification in commands
- **3.x.x → 4.x.x**: Storage Type replaced with Storage Id, support for multiple storages of the same type, and reworked permissions system
- **4.0.6**: Requires Java 25
---
## 📝 Notes 📝
* **Please report any issues to** [GitHub](https://github.com/DVDishka/Backuper/issues)
* RESTART option may not work well, so it's better to use STOP with a loop in your start script ([start script](https://flags.sh/) auto restart ON)