Create backup as image on Server
|
14th Aug, 2015, 11:39 PM
Post: #1
|
|||
|
|||
Create backup as image on Server
Hi,
i use the dedicated xbian function to create a whole system backup in an image file. When i use a local USB drive as destination, it works successful. But when i choose a destination on a samba server (i tried my own PC an on my NAS as destination), i get 1 second after the start the note that its done. There is no file created on the share. The account that mapped the share, has permission to write on the share. Regards, Thiemo |
|||
1st Sep, 2015, 11:27 PM
Post: #2
|
|||
|
|||
RE: Create backup as image on Server
Hi,
no idea regarding the issue ? In the meantime i use the Filemanager to check the permission on the destination server. The Filemanager is able to copy a file from local to the Samba Server. cu, Thiemo |
|||
5th Sep, 2015, 06:17 PM
Post: #3
|
|||
|
|||
RE: Create backup as image on Server
Same here.
|
|||
6th Sep, 2015, 01:35 AM
Post: #4
|
|||
|
|||
RE: Create backup as image on Server
I think, i found the reason of the issue.
The kodi Filemanager use the mounts that are configures within kodi. The Xbian Backuptool seams only to start a command with the tool dd in the command line. But in the CLI are the kodi mounts are not kown. That means, the dd command get a non exist folder as destination to create the image file. To solve the issue, its needed to improve the xbian kodi backup function to mount the destination. Or its needed to mount the destination manually in the Linux environment. Any idea how is able to report this bug ? |
|||
6th Sep, 2015, 07:13 AM
Post: #5
|
|||
|
|||
RE: Create backup as image on Server | |||
6th Sep, 2015, 08:34 PM
Post: #6
|
|||
|
|||
RE: Create backup as image on Server
(6th Sep, 2015 07:13 AM)Skywatch Wrote: Nice work! Thank you, i report it as case 763: https://github.com/xbianonpi/xbian/issues/763 |
|||
6th Sep, 2015, 10:39 PM
Post: #7
|
|||
|
|||
RE: Create backup as image on Server
Thank you - I gave you a rep for that!
|
|||
20th Sep, 2015, 04:47 AM
Post: #8
|
|||
|
|||
RE: Create backup as image on Server
I get a reply to my report about this issue. The solution is, that in further time the mounts in kodi will be hidden in the list of possible destination.
But i still want backup my xbian inside of the kodi frontent to my fileserver. So please find below my workaround: In the CLI of my Raspberry i create a additional folder and provide full access for everyone: Terminal mkdir /home/xbian/.kodi/imagebackup chmod 777 /home/xbian/.kodi/imagebackup As next i start the editor to add the mounting to my server in the rc.local (its a possibility to mount it after each start) Terminal sudo nano /etc/rc.local In the rc.local, i add this line: Code: sudo mount -t cifs -o username=xxx,password=yyy //server/xbian /home/xbian/.kodi/imagebackup/ After a restart its only needed to use the kodi filemanager to add the local folder /home/xbian/.kodi/imagebackup as source. Now you could use the imagebackup as destination for a image file. instead of the filemanager, you could also add this lines in the section <files> in file /home/xbian/.kodi/userdata/sources.xml Code: <source> |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[PROBLEM] Mounting of Backup Image-File not possible | suhm | 10 | 19,452 |
7th Oct, 2015 06:03 PM Last Post: suhm |