What are the essential files to backup?

General discussions.

Moderator: moderators

What are the essential files to backup?

Postby Jokestr » Fri Aug 10, 2012 3:05 am

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"?
Jokestr
 
Posts: 12
Joined: Mon Jan 03, 2011 8:09 pm
Location: US

Re: What are the essential files to backup?

Postby hakko » Fri Aug 10, 2012 7:09 am

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.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: What are the essential files to backup?

Postby Jokestr » Fri Aug 10, 2012 5:22 pm

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
Jokestr
 
Posts: 12
Joined: Mon Jan 03, 2011 8:09 pm
Location: US

Re: What are the essential files to backup?

Postby hakko » Fri Aug 10, 2012 5:57 pm

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.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests