Need access to /usr/local/share/

Bhoot

Patron
Joined
Mar 28, 2015
Messages
241
So by default tautulli backs up database in
Code:
/usr/local/share/Tautulli/backups

How would I retrieve it if needed from a SMB share.
If I want to run Tautulli from another machine maintaining the database I'm sure this file will be needed.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
The best way to do that:

Stop your tautulli service in the jail iocage exec tautilli service tautulli stop.

Copy the contents of that directory to a new dataset on your pool, something like /mnt/tank/apps/tautulli/

Then mount that into your jail at /config
iocage exec tautulli mkdir -p /config
iocage fstab tautulli -a /mnt/tank/apps/tautulli /config nullfs rw 0 0
iocage exec tautulli 'sysrc tautulli_flags="--datadir /config"'

Have a look at the permissions on the existing database and set those on the /config directory with iocage exec tautulli chown -R root:root /config (change root:root to whatever it is on the existing directory)

When you confirm that works by starting the service again iocage exec tautilli service tautulli start, then consider sharing the dataset out however you wanted to do that.
 
Top