Commit Graph

19 Commits (b30dc8e0b3d9ad68c89793ac22fb07eb39dd358b)

Author SHA1 Message Date
Joey Hines b30dc8e0b3
Fixed remote backups for FTP 2021-02-12 20:17:07 -06:00
Joey Hines 0ff76dec0a
Removed FTPS backups and added FTP backups
+ Reverted to ftp 3.0.1
+ fmt + clippy
2021-02-12 20:02:57 -06:00
Joey Hines 9a264abe88
Added FTPS backups
+ Made remote backups more generic, should be easier to add new backup types in the future
+ General cleanup
+ clippy + fmt
2021-02-09 20:47:40 -06:00
Joey Hines 101a3f649a
Added remote backup cleanup
+ Didn't find a great way to make the cleanup generic, a just copy/paste pretty much for now
+ fmt + clippy
2021-02-03 18:46:33 -06:00
Joey Hines dc005e460b
Added better error handling
+ fmt + clippy
2021-02-03 17:02:01 -06:00
Joey Hines d94186c7b8
First pass on adding remote backups
+ Added remote_backup.rs to handle remote backup logic
+ Added `remote` section to the config for optional remote backup setup
+ Using ssh2 rust library for SFTP support
+ small tweaks
2021-02-02 21:21:55 -06:00
Joey Hines a7e2b260bc Fixed chunk range for restore
+ A single chunk can now also be restored
+ clippy+fmt
2020-11-05 20:35:34 -06:00
Joey Hines a94d0221c5 Added the ability to restore chunks from a backup
+ Added `restore` subcommand
+ Needs more testing, but appears to be working
2020-11-03 21:46:16 -06:00
Joey Hines 9b6fe56541 Quick fix for deleting old backups
+ This should be refactored in the future
2020-10-30 08:09:00 -05:00
Joey Hines b408ed4d2a Added export subcommand
+ Takes a backup and exports it as a playable single player world
+ Changed file name format
+ Switched to using StructOpt for the argument parsing
+ Updated README.md
2020-10-24 13:41:11 -05:00
Joey Hines b54ac0efef Code cleanup
+ Split up main.rs into multiple modules
+ Used discord-hook-rs for webhooks
+ General code cleanup (clippy+fmt)
+ Bumped version number
2020-10-23 20:40:32 -05:00
Joey Hines 42c0bcc7bc Fixed regex error and added ensured all area is backed up
+ the regex to match region files was only matching one number
+ ensured the save radius includes all blocks requested
2020-07-19 08:29:54 -05:00
Joey Hines 1b41e2516f Fixed typo in delete webhook (again) (again) 2020-06-09 09:43:50 -05:00
Joey Hines a7d91567f9 Fixed typo in delete webhook (again) 2020-06-09 09:42:19 -05:00
Joey Hines 6406984e10 Added webhook for backup removal 2020-06-09 09:38:57 -05:00
Joey Hines f8caf62101 Added SKREEE 2020-06-07 15:12:19 -05:00
Joey Hines 0752877345 Added discord webhooks and more status messages
+ Updated readme
2020-06-07 14:21:26 -05:00
Joey Hines c2cdbd56ac Added compressed backups and removing old backups
+ Added docs
+ Backups are compressed as `tar.gz` files
+ a configurable amount of backups are kept
2020-06-06 19:59:02 -05:00
Joey Hines bb38e05479 Initial Commit
+ Handles overworld back up of regions
+ Needs to do player data backup and
+ Support for other world types needed as well
2020-06-06 14:41:42 -05:00