You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 27, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,6 @@
1
1
# StarryPy
2
2
3
-
StarryPy is Twisted-based plugin-driven Starbound server wrapper. It is currently
4
-
in beta.
5
-
6
-
**NOTE! Player warping is currently __broken__**
3
+
StarryPy is Twisted-based plugin-driven Starbound server wrapper. It is currently in beta.
7
4
8
5
## Features
9
6
@@ -17,13 +14,13 @@ With the built-in plugins (which are removable):
17
14
* Join/quit announcements.
18
15
* And more.
19
16
20
-
## Version 1.6 is here!
17
+
## Version 1.7 is here!
21
18
22
-
With this most recent release, we are compatible with the current release of Starbound (Upbeat Giraffe). Any bugs found in the process, please open an issue ticket, so we can squash them as quickly as possible.
19
+
With this most recent release, we are compatible with the current release of Starbound (Pleased Giraffe - Protocol 691). Any bugs found in the process, please open an issue ticket, so we can squash them as quickly as possible.
23
20
24
21
## Upgrading from older versions of StarryPy
25
22
26
-
StarryPy 1.5 is **NOT** backwards compatible with older versions. As unfortunate as it is, we suggest wiping your database, and starting fresh. It will save a lot of headaches in the long run.
23
+
This version of StarryPy should be completely compatible with all version back to 1.5. If you run into any problems, please let us know.
A StarryPy module for managing automated planet backups.
5
+
6
+
## Contents
7
+
8
+
-`backups_plugin.py` - The StarryPy plugin for managing planetary backups
9
+
-`backuper.py` - The file-system script for implementing automated backups
10
+
-`database.py` - Library file for handling connecting and managing the backups database.
11
+
-`__init__.py` - Standard python junk.
12
+
13
+
## In-game Commands
14
+
15
+
All the following are sub-commands for the master `/backup` command. Hence, your command might look like:
16
+
```
17
+
/backup add Kharidiron home_planet
18
+
```
19
+
20
+
-`help` - Shows the basic help information
21
+
-`add` - Adds a planet to the backups system. Requires an owner and a planet nick-name. Additionally, you must be standing on the planet to-be-backed-up.
22
+
-`drop` - Removes a planet from the backups system. Requires an owner and a planet nick-name.
23
+
-`manual` - Create a manual backup of a planet. Useful if you just completed a big project. You must be standing on the planet to use it, or you must supply the owner and the planet name.
24
+
-`restore` - Restore a planet from a backup. You must provide an owner, a planet name, and a valid backup timestamp of the form `yyyy-mm-ddThh:mm`. That is a capital T in between. Also, no one should be on the planet's surface when the restore is attempted, as the planet file needs to be unlocked in order for the restore to work.
25
+
-`enable` - Enable a planet's backups in the automated backup system. An owner and planet name must be provided.
26
+
-`disable` - Disable a planet's backups in the automated backup system. An owner and planet name must be provided. This does not delete the planet, it simply turns off the automated backup.
27
+
-`list` - Show all planets being backed up. If a name is provided, list all backups for that particular user. The users themselves can use this command to see what backups they own (but no one else's).
28
+
-`status` - The status of a particular planet's backups, including all available timestamps. Either the owner and planet name must be provided, or you must be standing on the planet to use.
29
+
30
+
## Notes
31
+
32
+
### Windows...
33
+
This script collecting was designed for Unix style systems. I do not plan to translate this for Windows systems, since the Windows OS enforces hard file locking, preventing the ability to restore planets gracefully. Sorry folks.
34
+
35
+
### Crontab...
36
+
In order to make use of the automated backup system, you will need to do two things:
37
+
38
+
1. Setup a crontab entry to run the script at a regular interval. Here is a copy of mine:
This runs the backup process once ever four hours, starting at midnight.
43
+
44
+
2. Edit the file `backuper.py` and set the `UNIVERSE_PATH` variable to point to the location of your Starbound universe directory. Also consider editing the `NUM_TO_KEEP` value to what seems appropriate for your storage and environment. At one backup every four hours, that is six backups a day... or 42 backups a week. Choose what you deem fit.
0 commit comments