Feature rdiff backup#23
Closed
WillHaggerty wants to merge 45 commits into
Closed
Conversation
Made settings generic.
…nterfearing with worlds that ended in a number (i.e. WorldVer5).
…am Disk worlds need to be moved to $RD_WORLD_DIR).
Moved check for $WORLD_NAME to mc_start and checks both $WORLD_DIR and $RD_WORLD_DIR.
(NOTE: May have broken back up routines)
…ances of minecraft server.
This is to support reading the settings from other scripts. Signed-off-by: J.C. Doll <sjdoll@gmail.com>
Signed-off-by: J.C. Doll <sjdoll@gmail.com>
…e and not the real name of the file. Credit goes to J.C. Doll (aka Paswaru)
Reverts to 0.4.3 behavior of all worlds in $WORLDS_DIR will be copied to ramdisk. It was causing confusion. I'll find an easier way to implement it later. Minor: Cleaned up console messages. Set tmpfs to default example in minecraft.conf Removed RD_WORLD_DIR in minecraft.conf Signed-off-by: J.C. Doll <sjdoll@gmail.com>
Revert the script back to 0.4.3 behavior of copying all worlds in $WORLDS_DIR to the ramdisk.
added the rdiff-backup function to the script in it's own branch.
Set up variable similar to other BU functions. Added case statement for use under backup. Now to use incr you must call: minecraft backup incrd
No need to call save off & save on twice.
Should fix the "Couldn't unmount ramdisk, service still running!" problem.
Currently it only returns text from variable explaining what it will do when finished. Todo: finish writing restore function and test
Needed to restore back to the original ‘worlds’ directory because we cannot restore to a Ramdisk that is not mounted. Removed verbose from backup command as I am satisfied with its performance. I have not noticed any speed hits using rdiff as of yet.
Contributor
Author
|
Sorry, Not going to happen. Not ready. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.