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

Create backup as image on Server
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Create backup as image on Server
14th Aug, 2015, 11:39 PM
Post: #1
Starwhooper Offline
Registered
Posts: 7
Joined: May 2015
Reputation: 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
Find all posts by this user
Quote this message in a reply
1st Sep, 2015, 11:27 PM
Post: #2
Starwhooper Offline
Registered
Posts: 7
Joined: May 2015
Reputation: 1
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
Find all posts by this user
Quote this message in a reply
5th Sep, 2015, 06:17 PM
Post: #3
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Create backup as image on Server
Same here.
Find all posts by this user
Quote this message in a reply
6th Sep, 2015, 01:35 AM
Post: #4
Starwhooper Offline
Registered
Posts: 7
Joined: May 2015
Reputation: 1
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 ?
Find all posts by this user
Quote this message in a reply
6th Sep, 2015, 07:13 AM
Post: #5
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Create backup as image on Server
Nice work! Cool

You need to report it here.... https://github.com/xbianonpi/xbian
Find all posts by this user
Quote this message in a reply
6th Sep, 2015, 08:34 PM
Post: #6
Starwhooper Offline
Registered
Posts: 7
Joined: May 2015
Reputation: 1
RE: Create backup as image on Server
(6th Sep, 2015 07:13 AM)Skywatch Wrote:  Nice work! Cool

You need to report it here.... https://github.com/xbianonpi/xbian

Thank you, i report it as case 763:
https://github.com/xbianonpi/xbian/issues/763
Find all posts by this user
Quote this message in a reply
6th Sep, 2015, 10:39 PM
Post: #7
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Create backup as image on Server
Thank you - I gave you a rep for that! Wink
Find all posts by this user
Quote this message in a reply
20th Sep, 2015, 04:47 AM
Post: #8
Starwhooper Offline
Registered
Posts: 7
Joined: May 2015
Reputation: 1
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/
please note that you need to use your own user, passwort and destionation

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>
<name>imagebackup</name>
<path pathversion="1">/home/xbian/.kodi/imagebackup/</path>
<allowsharing>true</allowsharing>
</source>
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] Mounting of Backup Image-File not possible suhm 10 20,292 7th Oct, 2015 06:03 PM
Last Post: suhm

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

Current time: 16th May, 2025, 09:22 PM Powered By MyBB, © 2002-2025 MyBB Group.