Commit Graph

35 Commits (8378f2ead364ac930039b2f64ae940fb1133cde7)

Author SHA1 Message Date
Joey Hines 8378f2ead3
Added File remote backups
+ Copies the backup to a target directory
+ Useful for backing up to another local drive or mounted network drive
+ Various improvements
+ Fixed .drone.yml
2021-09-19 13:56:30 -06:00
Joey Hines d207c6df19 Merge pull request 'Merge in missing changes' (#4) from backup_error_fix into master
Reviewed-on: https://git.canopymc.net/Canopy/Albatross/pulls/4
2021-09-16 01:40:31 +00:00
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 249ad8dad8 Merge pull request 'Added FTPS backups' (#9) from sftp into master
Reviewed-on: https://git.etztech.xyz/ZeroHD/Albatross/pulls/9
2021-02-11 00:32:45 +01:00
Joey Hines 2366ec1faa Merge branch 'master' into sftp 2021-02-10 03:58:20 +01: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 678dcb583e Merge pull request 'Remote Backups' (#7) from sftp into master
Reviewed-on: https://git.etztech.xyz/ZeroHD/Albatross/pulls/7
2021-02-04 23:35:55 +01: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