Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


How to backup with "rpi-clone"?
#6
(01-05-2019, 01:01 AM)kitamura_design Wrote:
(01-04-2019, 02:27 PM)TheOldPresbyope Wrote: @kitamura_design

I don't know anything about rpi-clone and don't wish to, so this is just a comment based on what I see in your output.

Assuming you are running moOde from a uSD card (/dev/mmcblk0), it looks like you tried to clone it to itself.

Code:
....
Syncing file systems (can take a long time)
Syncing mounted partitions:
  Mounting /dev/mmcblk0p2 on /mnt/clone

...

Done with clone to /dev/mmcblk0
  Start - 11:38:47    End - 11:48:24    Elapsed Time - 9:37

Cloned partitions are mounted on /mnt/clone for inspection or customizing.

No wonder it ran out of room and starting throwing I/O errors  Blush

Regards,
Kent

Hi Kent,

I am running moOde using with USB boot, and I want to backup to internal uSD card.

Code:
pi@moode:~ $ lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    1 29.3G  0 disk
├─sda1   8:1    1 43.2M  0 part /boot
└─sda2   8:2    1    3G  0 part /

I am very clear what I am doing Wink

I should unsquash before running rpi-clone?

Thanks,
kitamura_design
 
I don't think the squashed file system would matter because it's just a big file, but I don't know how rpi-clone works so can't say for sure.

Is the target uSD card >= in size to the USB stick?

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: How to backup with "rpi-clone"? - by Tim Curtis - 01-05-2019, 01:48 AM
RE: How to backup with "rpi-clone"? - by JST1963 - 01-05-2019, 03:18 AM

Forum Jump: