Commit Graph

28 Commits (9a264abe88429641e3699655d8e8b1dc740b358f)

Author SHA1 Message Date
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 9c7f9906ad
Added remote section to example config in README.md 2021-02-04 16:21:31 -06:00
Joey Hines 18c6411bf5 Merge branch 'master' into sftp 2021-02-04 01:49:31 +01: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 320c600c5a Fixed README.md 2020-11-06 21:05:44 +01:00
Joey Hines 9f74e106ec Merge pull request 'Restore' (#5) from restore into master
Reviewed-on: https://git.etztech.xyz/ZeroHD/Albatross/pulls/5
2020-11-06 21:04:26 +01: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 5a403b4b64 Updated readme 2020-11-03 21:54:15 -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 b9aad433ba Merge pull request 'Quick fix for deleting old backups' (#3) from backup_delete_fix into master
Reviewed-on: https://git.etztech.xyz/ZeroHD/Albatross/pulls/3
2020-10-30 14:18:47 +01: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 cc85d287ef Merge pull request 'v0.2.0' (#2) from v0.2.0 into master
Reviewed-on: https://git.etztech.xyz/ZeroHD/Albatross/pulls/2
2020-10-25 18:41:54 +01:00
Joey Hines b19fd21e91 Merge branch 'master' into v0.2.0 2020-10-24 20:48:34 +02:00
Joey Hines 1dc7760055 Added .drone.yml 2020-10-24 13:45:53 -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 931faa84a9 Merge pull request 'Fixed regex error and ensured all area is backed up' (#1) from save_radius_fix into master
Reviewed-on: https://git.etztech.xyz/ZeroHD/Albatross/pulls/1
2020-07-19 22:00:07 +02: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 c11748d696 Added LICENSE 2020-06-06 14:42:30 -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