Two Raspberry => soft copy with Backup/home file ??
|
19th Dec, 2017, 08:17 PM
Post: #1
|
|||
|
|||
Two Raspberry => soft copy with Backup/home file ??
Hi All,
I have two rapberry 3 and i would like to copy (not with a full SD copying) one of them (the master) to the other. I have made a "xbian_backup_home_xxx.img.gz" with the BAckup/home file menu (connecting to Putty). I have got the image, and when i copy it (with movingg file from Window connected to \\Xbian) in "\\xbian\xbmc-backup\put_here_to_restore" folder nothing append (exept a ".working" at the end of file...). ON the target PI3, for example Kodi parameter are not change... Any advice ? Many thanks Software XBian version: Xbian 1.0 (knockout) Kernel Linux 4.9.48 XBMC/Kodi version: 17.4 Overclock settings: No overclocking (PI3:none) Hardware Device type and model: Raspberry Pi Model 3 Power supply rating: Aukru Power 3A SD card size and make/type: 32Go Network (Ethernet or wireless): Ethernet Connected devices (TV, USB, network storage, ...): TV LG OLED |
|||
20th Dec, 2017, 12:47 AM
Post: #2
|
|||
|
|||
RE: Two Raspberry => soft copy with Backup/home file ??
(19th Dec, 2017 08:17 PM)billythekid Wrote: I have got the image, and when i copy it (with movingg file from Window connected to \\Xbian) in "\\xbian\xbmc-backup\put_here_to_restore" folder nothing append (exept a ".working" at the end of file...). ON the target PI3, for example Kodi parameter are not change... If the file you copied into put_here_to_restore folder gets appendix .working, then restore process has been started in the background. And after finishing restore process, Kodi will be restarted automatically and the backup will be removed. So, if your backup file remains on disk, there's something wrong If you are looking into the code, there are 2 error exits between renaming the file and removing it.
I suppose your backup file is wrong. You should check this first, if you are able to unzip this file manually I've just tested restore process on my Pi3 test installation, everything works as it should |
|||
20th Dec, 2017, 01:57 AM
Post: #3
|
|||
|
|||
RE: Two Raspberry => soft copy with Backup/home file ??
Many thank for your advice but i can unzip the file i try to restore (on windows by winrar)
Kodi don't restart automatically at the end and the file is delete from "\\xbian\xbmc-backup\put_here_to_restore" ... And after time (i wait a logn time) i restart manually the PI3 and they was no update.... I still don't understand ... Is it due to different PI3 ? others things ? |
|||
20th Dec, 2017, 02:11 AM
Post: #4
|
|||
|
|||
RE: Two Raspberry => soft copy with Backup/home file ??
(20th Dec, 2017 01:57 AM)billythekid Wrote: Many thank for your advice but i can unzip the file i try to restore (on windows by winrar) It is not Pi3, I'm testing on Pi3 always, so it must be something different To clearify one point: the file has been removed before you're rebooting Pi? I'm asking because folder ...put_here_to_restore is emptied automatically on system startup |
|||
20th Dec, 2017, 06:43 PM
Post: #5
|
|||
|
|||
RE: Two Raspberry => soft copy with Backup/home file ??
Hi,
i try this morningg and when the copy of image is finisch in "put here.." folder the file is renamed by "xbian_backup_home_2017-12-14-1355.img.gz.working" i have to wait a very long time and after : - i lose acces (putty & from windows) - the screen seem to freeze on my TV (iam on kodi menu) - after a while there some inscription that i can see behing the kodi menu: 4 98 SMP: failer to stop seconda y CPUs 53606 BTRES x???? "(i can't see)" (device mcblk0p2) : csum failed in0 extent 279928832 csum 25664720 8 102646 Exception stack (0xac4........ etc ... It could be as you said a checksum problem (i don't understand why, the image made from PI3 directly rom putty menu backup and copied trought windows to my other PI3...) ? Any idea ? Thanks a lot |
|||
21st Dec, 2017, 01:38 AM
Post: #6
|
|||
|
|||
RE: Two Raspberry => soft copy with Backup/home file ??
You have a filesystem problem
So first question, tell me the occupied size of your source /home volume Code: sudo du -sxh /home Second, do you have enough disk space free on target? Code: sudo df -h / I suppose you have a filesystem problem on target. Either it is damaged and has to be fixed, or another simple reason is, while extracting the home image it runs out of disk space |
|||
21st Dec, 2017, 09:21 AM
Post: #7
|
|||
|
|||
RE: Two Raspberry => soft copy with Backup/home file ??
i'll do it on friday.
Thks |
|||
22nd Dec, 2017, 09:42 PM
Post: #8
|
|||
|
|||
RE: Two Raspberry => soft copy with Backup/home file ??
Hi,
As requested : xbian@xbian ~ $ sudo du -sxh /home [sudo] password for xbian: 1.9G /home xbian@xbian ~ $ sudo df -h / Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p2 30G 2.7G 27G 10% / My SD card is a 32Go Do i have to partition it differently ? (i made the install from the xbian image on internet site) KR Olivier |
|||
23rd Dec, 2017, 01:26 AM
(This post was last modified: 23rd Dec, 2017 01:33 AM by Nachteule.)
Post: #9
|
|||
|
|||
RE: Two Raspberry => soft copy with Backup/home file ??
(22nd Dec, 2017 09:42 PM)billythekid Wrote: Hi, Ok, quite a lot of data ... Quote:xbian@xbian ~ $ sudo df -h / ... but enough space on target available Quote:Do i have to partition it differently ? (i made the install from the xbian image on internet site) No, that's ok. Unfortunately, I do not have any ideas what's wrong with restoring /home volume at the moment You posted Quote:53606 BTRES x???? "(i can't see)" (device mcblk0p2) : csum failed in0 extent 279928832 csum 25664720 earlier, so I would suppose you have an btrfs filesystem issue on your target Maybe a check of the fs would help I described it here how to do that |
|||
6th Jun, 2018, 02:14 AM
Post: #10
|
|||
|
|||
RE: Two Raspberry => soft copy with Backup/home file ??
(19th Dec, 2017 08:17 PM)billythekid Wrote: Hi All, Have you tried rsync instead of zipping / unzipping? (19th Dec, 2017 08:17 PM)billythekid Wrote: Hi All, |
|||
« Next Oldest | Next Newest »
|