image last NN2 , DreamOne, dbackup is not working properly, size of backup 540 mb! , if in the plugin settings exclude the media- size the same
Spoiler anzeigen
+ date +%s
1571306025
+ cat /tmp/dbackup.sh
#!/bin/sh -x
exec > /tmp/dbackup.log 2>&1
date +\%s
cat /tmp/dbackup.sh
df -h
/etc/init.d/openvpn stop
umount /tmp/root
rmdir /tmp/root
mkdir /tmp/root
mount -o bind / /tmp/root
mount -o rw,async,remount /media/DREAMFLASH
DATE=`date +"%Y-%m-%d"`
BACKUP="/media/DREAMFLASH/"$DATE"-enigma2settingsbackup.tar.gz"
rm $BACKUP > /dev/null 2>&1
tar -czvf $BACKUP /etc/enigma2/ /etc/hostname /etc/wpa_supplicant.conf /etc/resolv.conf
tar --exclude=smg.sock --exclude=msg.sock -cf - -C /tmp/root . | xz -6 -T 0 -c - > /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
umount /tmp/root
rmdir /tmp/root
/etc/init.d/openvpn start
chmod 777 /media/DREAMFLASH/dreambox-image-dreamone.tar.*
ls -alh /media/DREAMFLASH/dreambox-image-dreamone.tar*
du -h /media/DREAMFLASH/dreambox-image-dreamone.tar* > /tmp/.dbackup-result
df -h
rm /tmp/.dbackup
date +\%s
exit 0
+ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.9G 1.2G 2.6G 32% /
devtmpfs 280M 0 280M 0% /dev
tmpfs 994M 0 994M 0% /dev/shm
tmpfs 994M 25M 969M 3% /run
tmpfs 994M 0 994M 0% /sys/fs/cgroup
/dev/dreambox-data 11G 711M 8.9G 8% /data
tmpfs 994M 112K 994M 1% /tmp
tmpfs 994M 236K 994M 1% /var/volatile
/dev/sda1 930G 115G 816G 13% /media/hdd
/dev/sdb1 7.5G 1.3M 7.5G 1% /autofs/sdb1
+ /etc/init.d/openvpn stop
Stopping openvpn:.
+ umount /tmp/root
umount: can't unmount /tmp/root: No such file or directory
+ rmdir /tmp/root
rmdir: failed to remove '/tmp/root': No such file or directory
+ mkdir /tmp/root
+ mount -o bind / /tmp/root
+ mount -o rw,async,remount /media/DREAMFLASH
++ date +%Y-%m-%d
+ DATE=2019-10-17
+ BACKUP=/media/DREAMFLASH/2019-10-17-enigma2settingsbackup.tar.gz
+ rm /media/DREAMFLASH/2019-10-17-enigma2settingsbackup.tar.gz
+ tar -czvf /media/DREAMFLASH/2019-10-17-enigma2settingsbackup.tar.gz /etc/enigma2/ /etc/hostname /etc/wpa_supplicant.conf /etc/resolv.conf
tar: Removing leading `/' from member names
/etc/enigma2/
/etc/enigma2/lamedb
tar: Removing leading `/' from hard link targets
/etc/enigma2/userbouquet.tivustream.m3u.tv
/etc/enigma2/epg.db
/etc/enigma2/bouquets.radio
/etc/enigma2/whitelist
/etc/enigma2/automounts.xml
/etc/enigma2/backup_bouquets.tv
/etc/enigma2/seasondream.skin
/etc/enigma2/userbouquet.favourites_tv.tv_org
/etc/enigma2/bouquets.tv
/etc/enigma2/webbrowser.db
/etc/enigma2/timers.xml
/etc/enigma2/qbuttonconfig.json
/etc/enigma2/profile
/etc/enigma2/seasondream.config
/etc/enigma2/camd_dccamd.json
/etc/enigma2/alternatives.euronews.tv
/etc/enigma2/autotimer.xml
/etc/enigma2/playlist.e2pls
/etc/enigma2/userbouquet.Contel.tv
/etc/enigma2/bouquets.tv_org
/etc/enigma2/geminibrowser.json
/etc/enigma2/userbouquet.\320\241\320\277\320\276\321\200\321\202\320\270\320\262\320\275\321\213\320\265.tv
/etc/enigma2/userbouquet.favourites.tv
/etc/enigma2/cert.pem
/etc/enigma2/bluepaneldesktop.json
/etc/enigma2/qbuttonconfiguser.json
/etc/enigma2/networkbrowser.cache
/etc/enigma2/xc/
/etc/enigma2/xc/xc_e2_edit_me.xml
/etc/enigma2/xc/xc_e2_plugin.xml
/etc/enigma2/userbouquet.favourites.tv_org
/etc/enigma2/blacklist
/etc/enigma2/settings
/etc/enigma2/key.pem
/etc/enigma2/merlinskinthemes/
/etc/enigma2/merlinskinthemes/Nuke.FHD.Lite.cfg
/etc/enigma2/merlinskinthemes/Nuke.Evo.cfg
/etc/enigma2/userbouquet.cabinda__tv_.tv
/etc/enigma2/AddonFilterlist.json
/etc/enigma2/qbuttonfunction.json
/etc/enigma2/userbouquet.favourites.radio
/etc/enigma2/camd_ci.json
/etc/enigma2/pluginsort.xml
/etc/enigma2/userbouquet.CogentCommunicationsInc.tv
/etc/enigma2/AdvancedMovieSelection.conf
/etc/enigma2/media.db
/etc/hostname
/etc/wpa_supplicant.conf
/etc/resolv.conf
+ xz -6 -T 0 -c -
+ tar --exclude=smg.sock --exclude=msg.sock -cf - -C /tmp/root .
+ umount /tmp/root
+ rmdir /tmp/root
+ /etc/init.d/openvpn start
Starting openvpn: us1475.nordvpn.com.tcp443.
+ chmod 777 /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
+ ls -alh /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
-rwxr-xr-x 1 root root 540M Oct 17 10:58 /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
+ du -h /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
+ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.9G 1.2G 2.6G 32% /
devtmpfs 280M 0 280M 0% /dev
tmpfs 994M 0 994M 0% /dev/shm
tmpfs 994M 25M 969M 3% /run
tmpfs 994M 0 994M 0% /sys/fs/cgroup
/dev/dreambox-data 11G 711M 8.9G 8% /data
tmpfs 994M 64K 994M 1% /tmp
tmpfs 994M 240K 994M 1% /var/volatile
/dev/sda1 930G 115G 816G 13% /media/hdd
/dev/sdb1 7.5G 543M 7.0G 8% /autofs/sdb1
+ rm /tmp/.dbackup
+ date +%s
1571306306
+ exit 0
1571306025
+ cat /tmp/dbackup.sh
#!/bin/sh -x
exec > /tmp/dbackup.log 2>&1
date +\%s
cat /tmp/dbackup.sh
df -h
/etc/init.d/openvpn stop
umount /tmp/root
rmdir /tmp/root
mkdir /tmp/root
mount -o bind / /tmp/root
mount -o rw,async,remount /media/DREAMFLASH
DATE=`date +"%Y-%m-%d"`
BACKUP="/media/DREAMFLASH/"$DATE"-enigma2settingsbackup.tar.gz"
rm $BACKUP > /dev/null 2>&1
tar -czvf $BACKUP /etc/enigma2/ /etc/hostname /etc/wpa_supplicant.conf /etc/resolv.conf
tar --exclude=smg.sock --exclude=msg.sock -cf - -C /tmp/root . | xz -6 -T 0 -c - > /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
umount /tmp/root
rmdir /tmp/root
/etc/init.d/openvpn start
chmod 777 /media/DREAMFLASH/dreambox-image-dreamone.tar.*
ls -alh /media/DREAMFLASH/dreambox-image-dreamone.tar*
du -h /media/DREAMFLASH/dreambox-image-dreamone.tar* > /tmp/.dbackup-result
df -h
rm /tmp/.dbackup
date +\%s
exit 0
+ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.9G 1.2G 2.6G 32% /
devtmpfs 280M 0 280M 0% /dev
tmpfs 994M 0 994M 0% /dev/shm
tmpfs 994M 25M 969M 3% /run
tmpfs 994M 0 994M 0% /sys/fs/cgroup
/dev/dreambox-data 11G 711M 8.9G 8% /data
tmpfs 994M 112K 994M 1% /tmp
tmpfs 994M 236K 994M 1% /var/volatile
/dev/sda1 930G 115G 816G 13% /media/hdd
/dev/sdb1 7.5G 1.3M 7.5G 1% /autofs/sdb1
+ /etc/init.d/openvpn stop
Stopping openvpn:.
+ umount /tmp/root
umount: can't unmount /tmp/root: No such file or directory
+ rmdir /tmp/root
rmdir: failed to remove '/tmp/root': No such file or directory
+ mkdir /tmp/root
+ mount -o bind / /tmp/root
+ mount -o rw,async,remount /media/DREAMFLASH
++ date +%Y-%m-%d
+ DATE=2019-10-17
+ BACKUP=/media/DREAMFLASH/2019-10-17-enigma2settingsbackup.tar.gz
+ rm /media/DREAMFLASH/2019-10-17-enigma2settingsbackup.tar.gz
+ tar -czvf /media/DREAMFLASH/2019-10-17-enigma2settingsbackup.tar.gz /etc/enigma2/ /etc/hostname /etc/wpa_supplicant.conf /etc/resolv.conf
tar: Removing leading `/' from member names
/etc/enigma2/
/etc/enigma2/lamedb
tar: Removing leading `/' from hard link targets
/etc/enigma2/userbouquet.tivustream.m3u.tv
/etc/enigma2/epg.db
/etc/enigma2/bouquets.radio
/etc/enigma2/whitelist
/etc/enigma2/automounts.xml
/etc/enigma2/backup_bouquets.tv
/etc/enigma2/seasondream.skin
/etc/enigma2/userbouquet.favourites_tv.tv_org
/etc/enigma2/bouquets.tv
/etc/enigma2/webbrowser.db
/etc/enigma2/timers.xml
/etc/enigma2/qbuttonconfig.json
/etc/enigma2/profile
/etc/enigma2/seasondream.config
/etc/enigma2/camd_dccamd.json
/etc/enigma2/alternatives.euronews.tv
/etc/enigma2/autotimer.xml
/etc/enigma2/playlist.e2pls
/etc/enigma2/userbouquet.Contel.tv
/etc/enigma2/bouquets.tv_org
/etc/enigma2/geminibrowser.json
/etc/enigma2/userbouquet.\320\241\320\277\320\276\321\200\321\202\320\270\320\262\320\275\321\213\320\265.tv
/etc/enigma2/userbouquet.favourites.tv
/etc/enigma2/cert.pem
/etc/enigma2/bluepaneldesktop.json
/etc/enigma2/qbuttonconfiguser.json
/etc/enigma2/networkbrowser.cache
/etc/enigma2/xc/
/etc/enigma2/xc/xc_e2_edit_me.xml
/etc/enigma2/xc/xc_e2_plugin.xml
/etc/enigma2/userbouquet.favourites.tv_org
/etc/enigma2/blacklist
/etc/enigma2/settings
/etc/enigma2/key.pem
/etc/enigma2/merlinskinthemes/
/etc/enigma2/merlinskinthemes/Nuke.FHD.Lite.cfg
/etc/enigma2/merlinskinthemes/Nuke.Evo.cfg
/etc/enigma2/userbouquet.cabinda__tv_.tv
/etc/enigma2/AddonFilterlist.json
/etc/enigma2/qbuttonfunction.json
/etc/enigma2/userbouquet.favourites.radio
/etc/enigma2/camd_ci.json
/etc/enigma2/pluginsort.xml
/etc/enigma2/userbouquet.CogentCommunicationsInc.tv
/etc/enigma2/AdvancedMovieSelection.conf
/etc/enigma2/media.db
/etc/hostname
/etc/wpa_supplicant.conf
/etc/resolv.conf
+ xz -6 -T 0 -c -
+ tar --exclude=smg.sock --exclude=msg.sock -cf - -C /tmp/root .
+ umount /tmp/root
+ rmdir /tmp/root
+ /etc/init.d/openvpn start
Starting openvpn: us1475.nordvpn.com.tcp443.
+ chmod 777 /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
+ ls -alh /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
-rwxr-xr-x 1 root root 540M Oct 17 10:58 /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
+ du -h /media/DREAMFLASH/dreambox-image-dreamone.tar.xz
+ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.9G 1.2G 2.6G 32% /
devtmpfs 280M 0 280M 0% /dev
tmpfs 994M 0 994M 0% /dev/shm
tmpfs 994M 25M 969M 3% /run
tmpfs 994M 0 994M 0% /sys/fs/cgroup
/dev/dreambox-data 11G 711M 8.9G 8% /data
tmpfs 994M 64K 994M 1% /tmp
tmpfs 994M 240K 994M 1% /var/volatile
/dev/sda1 930G 115G 816G 13% /media/hdd
/dev/sdb1 7.5G 543M 7.0G 8% /autofs/sdb1
+ rm /tmp/.dbackup
+ date +%s
1571306306
+ exit 0