Backing up
Backing up
What's the proper way to backup kjams databases? I've spent hours importing songs and making sure that artists and titles are entered properly. Makes me really nervous to lose all that work. How can I backup the database? Does the kjams folder contain all kjams settings? Any other folders I should backup?
Re: Backing up
time machine is the best way.
the thing you need to back up is the "kJams" folder (in the Music folder, in your User folder)
for the other folders you can back up, see here:
http://karaoke.kjams.com/wiki/Cloning
the thing you need to back up is the "kJams" folder (in the Music folder, in your User folder)
for the other folders you can back up, see here:
http://karaoke.kjams.com/wiki/Cloning
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Backing up
I wrote a script that automatically backs up the library and venues (plus some other stuff) when you launch kJams. I can post the code if you want.
Re: Backing up
sure, put it up in the Code section of the web site even
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Backing up
The only caveat is that, because AppleScript does not hand off control of each command until the previous one is successful, it currently is very slow for large libraries/venues, since you have to wait for the copy to finish before launching kJams.
Currently, my kJams Launcher script does the following:
Save Exposé settings (screen corners and keyboard shortcuts) and then turn of Exposé and Spaces. (Deprecated since kJams now handles this more gracefully.)
Launches Quicktime in anticipation of screen underlays.
Sets outgoing messages in Adium to appropriate karaoke messages.
sets up system audio recording and playback
resets settings on quit.
Currently, my kJams Launcher script does the following:
Save Exposé settings (screen corners and keyboard shortcuts) and then turn of Exposé and Spaces. (Deprecated since kJams now handles this more gracefully.)
Launches Quicktime in anticipation of screen underlays.
Sets outgoing messages in Adium to appropriate karaoke messages.
sets up system audio recording and playback
resets settings on quit.
Last edited by DeusExMachina on Fri Jul 27, 2012 5:25 pm, edited 1 time in total.
Re: Backing up
mrrrph
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Backing up
Well, I may be able to address some of that with a python or BASH script.
Re: Backing up
i really should have kjams make a backup of your library when saving
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Backing up
What about Lion-esque versioning?
(And don't forget venues and such.)
(And don't forget venues and such.)
Re: Backing up
right, lion's versioning is document based. kJams's database is more "bundle" based, i have to back up the whole "kJams Library" folder.
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Backing up
Well, considering the size involved, it might be better to compress it, too.
Re: Backing up
that's the idea