Bacup and restore comand on terminal

how can I recover from the terminal the restore of the created bacup or via the web interface

ssh into your box and type in the following commands:

cd /
tar xpf [path-to-your-tar-file]

You should replace the path, of course (without the brackets).

1 Like


And for make the backup on command line?

Something like this?

cd /media/backup #(or wherever the destination backup .tar will reside)
tar cpf $(date +%Y%m%d%H%M%S).tar /storage


1 Like

looks good :+1:

1 Like

Thanks a lot how to start restore from the terminal

You are welcome!

CoreELEC (official): 8.95.0 (S905.arm)
Sandra:~ # blkid
/dev/loop0: TYPE=“squashfs”
/dev/cache: UUID=“57f8f4bc-abf4-655f-bf67-946fc0f9f25b” TYPE=“ext4”
/dev/tee: UUID=“57f8f4bc-abf4-655f-bf67-946fc0f9f25b” TYPE=“ext4”
/dev/system: UUID=“138dda3b-d7bb-47ed-a9a3-376997d19a55” TYPE=“ext4”
/dev/data: UUID=“b0968b3d-9728-44d5-9fc4-11a626d09c93” TYPE=“ext4”
/dev/mmcblk1p1 511.7M 133.3M 378.4M 26% /var/media/LIBREELEC
/dev/mmcblk1p2 28.3G 1.9G 26.5G 7% /var/media/LIBREELEC_DISK
Sandra:~ # cd /media
Sandra:/var/media # ls
Sandra:/var/media # cd LIBREELEC_DISK/
Sandra:/var/media/LIBREELEC_DISK # ls
backup music screenshots videos
lost+found pictures tvshows

Sandra:/var/media/LIBREELEC_DISK # cd backup/
Sandra:/var/media/LIBREELEC_DISK/backup # tar cpf $(date +%Y%m%d%H%M%S).tar /storage
tar: removing leading ‘/’ from member names
Sandra:/var/media/LIBREELEC_DISK/backup # ls -s
total 5101405
394801 20180716204526.tar1557871 20180808203937.tar 3148733 20180827173423.tar

please come back to restore this backup
which command to use

I use this for me and work perfect.
cd /storage/ && tar -cvf storage.tar .cache .config .kodi .ssh
cd /storage/ && rm -rf .cache .config .kodi .ssh && tar -xvf storage.tar && reboot