Forum
[SOLVED] Where are the Transmission files? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Others (/forum-24.html)
+--- Thread: [SOLVED] Where are the Transmission files? (/thread-3559.html)



Where are the Transmission files? - Peiote - 8th May, 2016 11:35 PM

Hardware:
Raspberry Pi 3

Hi

I'm planning to seeding hard using transmission. It could mean hundreds of torrents and a lot of time.
Where are transmission files to make backups?
I've seen here, but it seems transmission is not at HOME with xBian.

Best regards


RE: Where are the Transmission files? - IriDium - 8th May, 2016 11:56 PM

Did you set it up yourself or use the xbian-package-downloads?

If the latter, they should be in $HOME/.config or what was set in http://xxx.xxx.xxx.xxx:9091


RE: Where are the Transmission files? - Nachteule - 9th May, 2016 01:50 AM

That document is not correct for Debian packages. If you're using transmission package from Debian, look into file

/etc/default/transmission-daemon

There is CONFIG_DIR defined and you can define the user. Here is an example (token from my transmission installation )

Quote:# defaults for transmission-daemon
# sourced by /etc/init.d/transmission-daemon

# Change to 0 to disable daemon
ENABLE_DAEMON=1

USER="xbian"

# This directory stores some runtime information, like torrent files
# and links to the config file, which itself can be found in
# /etc/transmission-daemon/settings.json
#CONFIG_DIR="/var/lib/transmission-daemon/info"
CONFIG_DIR="/home/xbian/.config/transmission"

# Default options for daemon, see transmission-daemon(1) for more options
OPTIONS="--config-dir $CONFIG_DIR"

# (optional) extra options to start-stop-daemon
#START_STOP_OPTIONS="--iosched idle --nicelevel 10"



RE: Where are the Transmission files? - Peiote - 9th May, 2016 03:50 AM

I have them here:

Terminal
xbian@xbian /etc/transmission $ ls
blocklists dht.dat resume settings.json torrents

The process:

1- Delete directory:
Terminal
sudo rm -rf /etc/transmission

2- Copy the backup (backup in this example would be: "/home/xbian/transmission/" accesible from Samba):
Terminal
sudo cp -r /home/xbian/transmission/ /etc/transmission/

3- Change permissions:
Terminal
sudo chmod -R 755 /etc/transmission/
sudo chown -R xbian:xbian /etc/transmission/

Working, thank you guys.