Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Kodi 18 - 'cannot save setting' for backup location on usb
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Kodi 18 - 'cannot save setting' for backup location on usb
20th Mar, 2019, 07:59 AM
Post: #11
jakenl Offline
Registered
Posts: 97
Joined: Jun 2015
Reputation: 6
RE: Kodi 18 - 'cannot save setting' for backup location on usb
(20th Mar, 2019 04:55 AM)Nachteule Wrote:  Arrrrghhh Angry

Can you please post your /etc/default/xbian-snap file as next step.

And BTW, there must be something in kodi's log, but you have to enable debug log

You should get something like that after saving setting and running command

Terminal

grep xbian-config.*img /home/xbian/.kodi/temp/kodi.log


Code:
2019-03-19 19:47:23.532 T:1727668976   DEBUG: XBian-config : xbian-config xbiancopy imgdest nfs://kmcubie/media/system/backup/kmxbilr2/$\(hostname\)_xbian_image_$\(date\ +%F\).img : ['1']

The ['1'] is the result code, and if you get an error, a result code 0 or -1 must occur (anything else expect 1 is interpreted as and error)
xbian-snap content
Code:
#
# This is controlfile for xbian-config console application and Kodi's
# XBian config GUI. Please do not modify this file manually unless you
# know what you are doing.
#


# enable periodic running (daily / weekly / monthly)
ENABLEDSCHEDULE=yes
KEEPDAYS=3
KEEPWEEKS=2
KEEPMONTHS=0

# enable creating of snapshot before APT operations. if wrong packages installed or something stopped working,
# restoration will take few seconds to state before APT run
ENABLEDAPT=yes
KEEPAPT=3

# exclude those subvolumes by default for btrfs-auto-snapshot operations (comma separated list)
EXCLUDESUB=

# Comma separated mount options for mounting IMGDEST and HOMEDEST shares
NFSOPTS=
CIFSOPTS=
SSHFSOPTS=

# auto clone / image creation should be run: none/daily/weekly/monthly
IMGPLAN=daily

# backup to img file (file) (in case of total SD card corruption, your system can be restored by reflashing this im$
# or directly to block device (block)
IMGTYPE=file

# path to img including file name (/media/my_disk/xbian_backup.img) or block device (/dev/sda1)
IMGDEST="/media/128gb_ultra/xbmc/backup/$(hostname)_xbian_image_$(date +%F).img"

# how many images should be kept (0 means unlimited)
IMGKEEP=1

# auto backup of /home should be run: none/daily/weekly/monthly
HOMEPLAN=daily

# path to img.gz including file name (/media/my_disk/xbian_home_backup.img.gz)
HOMEDEST="/home/xbian/Downloads/$(hostname)_backup_home_$(date +%F).img.gz"

# how many /home images should be kept (0 means unlimited)
HOMEKEEP=5
The funny thing is that the system img location is now accepted as being on the /media/ location. However, when I force a backup, it gives the following error in the debug log:
Code:
2019-03-19 22:41:02.863 T:1503654640   DEBUG: XBian-config : xbian-config xbiancopy imgplan daily : ['1']
2019-03-19 22:41:03.451 T:1503654640   DEBUG: XBian-config : xbian-config xbiancopy imgtype file : ['1']
2019-03-19 22:41:04.201 T:1503654640   DEBUG: XBian-config : xbian-config xbiancopy imgdest /media/128gb_ultra/xbmc/
backup/$\(hostname\)_xbian_image_$\(date\ +%F\).img : ['-1']
2019-03-19 22:41:04.458 T:1560535792   DEBUG: XBian-config : xbian-config xbiancopy imgplan : ['daily']
2019-03-19 22:41:04.770 T:1503654640   DEBUG: XBian-config : xbian-config xbiancopy imgtype : ['file']
2019-03-19 22:41:05.322 T:1503654640   DEBUG: XBian-config : xbian-config xbiancopy imgplan : ['daily']
2019-03-19 22:41:05.880 T:1503654640   DEBUG: XBian-config : xbian-config xbiancopy imgdest : ['/media/128gb_ultra/x
bmc/backup/$(hostname)_xbian_image_$(date +%F).img']
2019-03-19 22:41:06.455 T:1503654640   DEBUG: XBian-config : xbian-config xbiancopy imgkeep : ['1']
2019-03-19 22:41:06.678 T:1560535792   DEBUG: XBian-config : xbian-config xbiancopy imgplan : ['daily']
2019-03-19 22:42:52.621 T:1292890864   DEBUG: XBian-config : xbian-config xbiancopy imgtype : ['file']
2019-03-19 22:42:53.085 T:1292890864   DEBUG: XBian-config : xbian-config xbiancopy imgplan : ['daily']
2019-03-19 22:42:53.553 T:1292890864   DEBUG: XBian-config : xbian-config xbiancopy imgdest : ['/media/128gb_ultra/x
bmc/backup/$(hostname)_xbian_image_$(date +%F).img']
2019-03-19 22:42:54.041 T:1292890864   DEBUG: XBian-config : xbian-config xbiancopy imgkeep : ['1']
2019-03-19 22:42:54.555 T:1292890864   DEBUG: XBian-config : xbian-config xbiancopy imgdest exp : ['/media/128gb_ult
ra/xbmc/backup/xbian_xbian_image_2019-03-19.img']
2019-03-19 22:43:02.402 T:1292890864   DEBUG: XBian-config : xbian-config xbiancopy start /dev/root file:/media/128g
b_ultra/xbmc/backup/$\(hostname\)_xbian_image_$\(date\ +%F\).img : ['30638']
2019-03-19 22:43:08.216 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy doclean file:/media/128gb_ultra/
xbmc/backup/$\(hostname\)_xbian_image_$\(date\ +%F\).img 1 : ['1']

This is the result of the grep command after I try to alter the home backup location:
Code:
xbian@xbian /media/128gb_ultra/xbmc/backup $ grep xbian-config.*img /home/xbian/.kodi/temp/kodi.log
2019-03-19 22:29:52.184 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy homedest : ['/home/xbian/Downloa
ds/$(hostname)_backup_home_$(date +%F).img.gz']
2019-03-19 22:29:53.617 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy homedest : ['/home/xbian/Downloa
ds/$(hostname)_backup_home_$(date +%F).img.gz']
2019-03-19 22:29:54.597 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy imgtype : ['file']
2019-03-19 22:29:55.071 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy imgplan : ['daily']
2019-03-19 22:29:55.537 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy imgdest : ['/media/128gb_ultra/x
bmc/backup/$(hostname)_xbian_image_$(date +%F).img']
2019-03-19 22:29:56.034 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy imgkeep : ['1']
2019-03-19 22:29:56.501 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy imgtype : ['file']
2019-03-19 22:29:56.977 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy imgplan : ['daily']
2019-03-19 22:29:57.448 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy imgdest : ['/media/128gb_ultra/x
bmc/backup/$(hostname)_xbian_image_$(date +%F).img']
2019-03-19 22:29:57.951 T:1264579312   DEBUG: XBian-config : xbian-config xbiancopy imgkeep : ['1']
2019-03-19 22:35:21.939 T:1503654640   DEBUG: XBian-config : xbian-config xbiancopy homedest /media/128gb_ultra/xbmc
/backup/$\(hostname\)_backup_home_$\(date\ +%F\).img.gz : ['-1']
2019-03-19 22:35:22.769 T:1560535792   DEBUG: XBian-config : xbian-config xbiancopy imgplan : ['daily']
2019-03-19 22:35:23.063 T:1503654640   DEBUG: XBian-config : xbian-config xbiancopy homedest : ['/home/xbian/Downloa
ds/$(hostname)_backup_home_$(date +%F).img.gz']
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 10th Mar, 2019, 07:26 AM
Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 16th Mar, 2019, 08:35 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - deHakkelaar - 18th Mar, 2019, 12:18 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 19th Mar, 2019, 03:02 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 19th Mar, 2019, 03:55 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 19th Mar, 2019, 03:59 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 19th Mar, 2019, 09:35 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 19th Mar, 2019, 09:39 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 20th Mar, 2019, 04:25 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 20th Mar, 2019, 04:55 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 20th Mar, 2019 07:59 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 20th Mar, 2019, 08:02 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 20th Mar, 2019, 09:01 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 20th Mar, 2019, 10:18 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 21st Mar, 2019, 06:53 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 21st Mar, 2019, 08:41 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 21st Mar, 2019, 08:43 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 21st Mar, 2019, 09:51 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 22nd Mar, 2019, 05:40 AM
Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 22nd Mar, 2019, 08:43 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 22nd Mar, 2019, 10:18 AM
Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 23rd Mar, 2019, 07:32 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 23rd Mar, 2019, 10:01 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - Nachteule - 23rd Mar, 2019, 10:02 AM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 23rd Mar, 2019, 07:36 PM
RE: Kodi 18 - 'cannot save setting' for backup location on usb - jakenl - 15th Oct, 2019, 04:30 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 2nd Jun, 2025, 06:35 AM Powered By MyBB, © 2002-2025 MyBB Group.