Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Backing up before API

Now that I'm starting to put API in games, I was wondering how you recommend backing up the campaign. Do you make a total copy of the game (including players) each week? Maybe just use transmog to copy out changed maps? I already made a separate game just to play with API before putting them in my actual campaign.
1485374683
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Personally, I just make sure to test any scripts I'm installing in my "Scriptorium" game which is for API development. I also make sure to know exactly what any script I'm using is doing. I think that making a backup every week is a little overkill (and you definitely don't need to copy the players on your backup). While a script could be written to completely erase a game or do similar evil things, you should be pretty safe sticking to what is released on the forums and what is in the one-click library.
1485385091
Lithl
Pro
Sheet Author
API Scripter
Scott C. said: While a script could be written to completely erase a game or do similar evil things, you should be pretty safe sticking to what is released on the forums and what is in the one-click library. Pretty much this. If you're using scripts released by other people, odds are extremely low that it will do anything horrible to your game. Generally, the worst case is that the script just doesn't do what you want (whether because it's broken, incomplete, or isn't designed to your use-case). Even writing your own scripts, even if you're not an experienced JavaScript coder, it's pretty easy to avoid FUBARing a campaign. And why would you be developing a script in an active campaign, anyway? ~_^
1485396153
The Aaron
Pro
API Scripter
Exactly what Brian said.  I don't develop scripts in an active Game, I have a Game specifically for API scripts.  Even with all the scripts I've written, the very worst thing I've done is changed every object with an img to be using the same single image. =D  Annoying, but not end of the world so. Even if a script does trash your whole campaign, as long as you catch it soon, you can very likely get the devs to restore a copy from 24 hours earlier. Also, I've never had a Game ruined by a script.  I've had other scripts fowled up before (like having the API state object wiped), but none have trashed the Game.
Thanks guys.  When I was reading thru a bunch of stuff about API while I was deciding if I would upgrade, I kept seeing posts about regularly backing up. That sets my mind at ease.