Page 1 of 1

What are the essential files to backup?

PostPosted: Fri Aug 10, 2012 3:05 am
by Jokestr
I'm running Subsonic 4.7beta3 on a Mac Pro (running Mountain Lion).

I run a nightly copy of my Subsonic files via Carbon Copy Cloner to a Dropbox folder which immediately syncs with Dropbox, thus I always have a full backup of my server living in the cloud.

Lately though, the Subsonic folder has grown to over 2GB and is taking over my (free) Dropbox account. I'm trying to figure out which files contain MY servers info, versus the ones which are generic to Subsonic (and easily recoverable with a new server setup). In other words, what specific files or folders do I need for an emergency backup?


/Library/Application Support/Subsonic <--(currently 2.08GB)
>db
>db.backup
>jetty
>lucene
>lucene2
-subsonic.log
-subsonic.properties
>thumbs
>transcode



Also wondering why there is a "db.backup" directly next to "db"?

Re: What are the essential files to backup?

PostPosted: Fri Aug 10, 2012 7:09 am
by hakko
save db and subsonic.properties, the rest can be re-created. db.backup comes from the installation, it makes a backup of your previous db in case it'll screw up during installation.

actually you can throw out 90% of what's in the db too if you want to keep this really minimal.

Re: What are the essential files to backup?

PostPosted: Fri Aug 10, 2012 5:22 pm
by Jokestr
Thanks much! What about the thumbs, do I want to keep those? Which files can I eliminate from the database folder?

subsonic.backup <-- 83MB
subsonic.data <-- 1GB
subsonic.lck
subsonic.log
subsonic.properties
subsonic.script

Re: What are the essential files to backup?

PostPosted: Fri Aug 10, 2012 5:57 pm
by hakko
The thumbs help speeding up your browsing (if you delete them, new thumbs have to be generated out of your actual cover images for albums you browse)

subsonic.data is obviously your worst enemy here but making a back-up of the important parts of it (like users and their settings, maybe stats etc) is a bit tricky. since i've switched from using hsqldb to postgresql, i'll leave that for somebody else to answer.