Giter VIP home page Giter VIP logo

Comments (9)

framps avatar framps commented on July 18, 2024 1

Unfortunately raspiBackup requires two partitions right now :-(. armbian uses only one partition. I created an enhancement request and next release will support armbian.

from raspibackup.

framps avatar framps commented on July 18, 2024

Hello Luis,

as you know raspiBackup does not support armbian officially because I don't run armbian and nobody volonteered to test raspiBackup on armbian. But in general it should work. If you add additional options
-l debug -L current
a debug log will be created by raspiBackup. Please either attach it in this issue (make sure there is no sensitive info in the log) or send it to my eMail address.

from raspibackup.

luispuerto avatar luispuerto commented on July 18, 2024
20180424-202644: DBG  -- LOG_OUTPUT: 3
20180424-202644: DBG  -- Using logfile /home/lpuerto/raspiBackup.log
20180424-202644: DBG  -- raspiBackup.sh 0.6.3.2a, 2018-04-15/12:42:27 - 1d77d56
20180424-202644: DBG  -- BACKUPTARGET_DIR: /srv/dev-disk-by-label-OpL1TB/Backups/opl-cubox/opl-cubox-rsync-backup-20180424-202644
20180424-202644: DBG  -- BACKUPTARGET_FILE: /srv/dev-disk-by-label-OpL1TB/Backups/opl-cubox/opl-cubox-rsync-backup-20180424-202644/opl-cubox-rsync-backup-20180424-202644
20180424-202644: DBG     >> logOptions
20180424-202644: DBG     -- PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
20180424-202644: DBG     -- 9.4
20180424-202644: DBG     -- Linux opl-cubox 4.14.14-cubox #3 SMP Thu Jan 25 15:58:45 CET 2018 armv7l GNU/Linux
20180424-202644: DBG     -- Options:  -a : -o : -m detailed -l debug -L current
20180424-202644: DBG  << logOptions
20180424-202644: DBG  -- APPEND_LOG=0
20180424-202644: DBG  -- BACKUPPATH=/srv/dev-disk-by-label-OpL1TB/Backups
20180424-202644: DBG  -- BACKUPTYPE=rsync
20180424-202644: DBG  -- CHECK_FOR_BAD_BLOCKS=0
20180424-202644: DBG  -- CONFIG_FILE=
20180424-202644: DBG  -- DD_BACKUP_SAVE_USED_PARTITIONS_ONLY=0
20180424-202644: DBG  -- DD_BLOCKSIZE=1MB
20180424-202644: DBG  -- DD_PARMS=
20180424-202644: DBG  -- DEFAULT_DEPLOYMENT_HOSTS=
20180424-202644: DBG  -- DEFAULT_YES_NO_RESTORE_DEVICE=loop
20180424-202644: DBG  -- EMAIL=
20180424-202645: DBG  -- EMAIL_PARMS=
20180424-202645: DBG  -- EXCLUDE_LIST=
20180424-202645: DBG  -- EXTENSIONS=
20180424-202645: DBG  -- FAKE=0
20180424-202645: DBG  -- HANDLE_DEPRECATED=1
20180424-202645: DBG  -- KEEPBACKUPS=3
20180424-202645: DBG  -- LANGUAGE=EN
20180424-202645: DBG  -- LINK_BOOTPARTITIONFILES=0
20180424-202645: DBG  -- LOG_LEVEL=1
20180424-202645: DBG  -- LOG_OUTPUT=3
20180424-202645: DBG  -- MAIL_ON_ERROR_ONLY=0
20180424-202645: DBG  -- MAIL_PROGRAM=mail
20180424-202645: DBG  -- MSG_LEVEL=1
20180424-202645: DBG  -- NOTIFY_UPDATE=1
20180424-202645: DBG  -- PARTITIONBASED_BACKUP=0
20180424-202645: DBG  -- PARTITIONS_TO_BACKUP=*
20180424-202645: DBG  -- RESTORE_DEVICE=
20180424-202645: DBG  -- ROOT_PARTITION=
20180424-202645: DBG  -- RSYNC_BACKUP_ADDITIONAL_OPTIONS=
20180424-202645: DBG  -- RSYNC_BACKUP_OPTIONS=-aHAx
20180424-202645: DBG  -- SKIPLOCALCHECK=0
20180424-202645: DBG  -- STARTSERVICES=:
20180424-202645: DBG  -- STOPSERVICES=:
20180424-202645: DBG  -- TAR_BACKUP_ADDITIONAL_OPTIONS=
20180424-202645: DBG  -- TAR_BACKUP_OPTIONS=-cpi
20180424-202645: DBG  -- TAR_BOOT_PARTITION_ENABLED=0
20180424-202645: DBG  -- TAR_RESTORE_ADDITIONAL_OPTIONS=
20180424-202645: DBG  -- VERBOSE=0
20180424-202645: DBG  -- ZIP_BACKUP=0
20180424-202645: DBG  -- RESIZE_ROOTFS=1
20180424-202645: DBG  -- TIMESTAMPS=0
20180424-202645: DBG  -- RSYNC_IGNORE_ERRORS=
20180424-202645: DBG  -- TAR_IGNORE_ERRORS=
20180424-202645: DBG  -- USE_HARDLINKS=1
20180424-202645: MSG  --- RBK0128I: Using logfile /home/lpuerto/raspiBackup.log.
20180424-202645: DBG  -- /etc/config
#
# Default configuration file for raspiBackup.sh
#
# (C) 2013,2018 framp at linux-tips-and-tricks dot de
#
# Details for the options see
# http://www.linux-tips-and-tricks.de/de/raspibackup/#parameter
#
# $Date: 2018-03-30 23:26:25 +0200$
# $Sha1: a6afcd4$

# path to store the backupfile
DEFAULT_BACKUPPATH="/srv/dev-disk-by-label-OpL1TB/Backups"

# how many backups to keep
DEFAULT_KEEPBACKUPS="3"

# type of backup: dd, tar or rsync
DEFAULT_BACKUPTYPE="rsync"

# zip tar or dd backup (0 = false, 1 = true)
DEFAULT_ZIP_BACKUP="0"

# commands to stop services before backup separated by &
DEFAULT_STOPSERVICES=""

# commands to start services after backup separated by &
DEFAULT_STARTSERVICES=""

# email to send completion status
DEFAULT_EMAIL=""

# Additional parameters for email program (optional)
DEFAULT_EMAIL_PARMS=""

# log level  (0 = none, 1 = debug)
DEFAULT_LOG_LEVEL=0

# log output ( 0 = syslog, 1 = /var/log, 2 = backuppath)
DEFAULT_LOG_OUTPUT=2

# msg level (0 = minimal, 1 = detailed)
DEFAULT_MSG_LEVEL="0"

# mailprogram
DEFAULT_MAIL_PROGRAM="mail"

# restore device
DEFAULT_RESTORE_DEVICE=""

# default append log (0 = false, 1 = true)
DEFAULT_APPEND_LOG=0

# default verbose log (0 = false, 1 = true)
DEFAULT_VERBOSE=0

# skip check for remote mount of backup path (0 = false, 1 = true)
DEFAULT_SKIPLOCALCHECK=0

# blocksize used for dd
DEFAULT_DD_BLOCKSIZE=1MB

# addition parms used for dd
DEFAULT_DD_PARMS=""

# exclude list
DEFAULT_EXCLUDE_LIST=""

# notify in email if there is an updated script version available  (0 = false, 1 = true)
DEFAULT_NOTIFY_UPDATE=1

# extensions to call
DEFAULT_EXTENSIONS=""

# partition based backup  (0 = false, 1 = true)
DEFAULT_PARTITIONBASED_BACKUP="0"

# partition numbers of partitions to save in partitionbased backup mode
DEFAULT_PARTITIONS_TO_BACKUP="*"

# language (DE or EN)
DEFAULT_LANGUAGE="EN"

# hosts which will get the updated backup script with parm -y - non pwd access with keys has to be enabled
# Example: "root@raspberrypi root@fhem root@openhab root@magicmirror"
DEFAULT_DEPLOYMENT_HOSTS=""

# Don't ask for restore confirmation if restore device is loop. Use with care !
DEFAULT_YES_NO_RESTORE_DEVICE="loop"

# with dd backup save only space used by partitions
DEFAULT_DD_BACKUP_SAVE_USED_PARTITIONS_ONLY=0

# Use hardlinks for partitionbootfiles
DEFAULT_LINK_BOOTPARTITIONFILES=0

# Send email only in case of errors. Use with care !
DEFAULT_MAIL_ON_ERROR_ONLY=0

# If version is marked as deprecated and buggy then update version
DEFAULT_HANDLE_DEPRECATED=1

# report uuid
DEFAULT_USE_UUID=1

# Check for bad blocks when formating restore device (Will take a long time)
DEFAULT_CHECK_FOR_BAD_BLOCKS=0

# Resize root filesystem during restore
DEFAULT_RESIZE_ROOTFS=1

# add timestamps in front of messages
DEFAULT_TIMESTAMPS=0


# GENERATED - DO NOT DELETE 
UUID=ffba740b-fd3e-4884-8456-8df12b0f46b8
20180424-202645: MSG  --- RBK0116I: Using config file /usr/local/etc/raspiBackup.conf.
20180424-202645: DBG     >> downloadPropertiesFile
20180424-202645: DBG        >> shouldDownloadPropertiesFile
20180424-202645: DBG        -- 20180424 : 20180424
20180424-202645: DBG        -- Skip download
20180424-202645: DBG     << shouldDownloadPropertiesFile - rc: 1
20180424-202645: DBG        >> parsePropertiesFile
20180424-202645: DBG        -- Properties: v: 0.6.3.2a i:  d:  b: 
20180424-202645: DBG     << parsePropertiesFile
20180424-202645: DBG  << downloadPropertiesFile - 0
20180424-202645: DBG     >> isVersionDeprecated 0.6.3.2a
20180424-202645: DBG  << isVersionDeprecated 1
20180424-202645: DBG     >> doit
20180424-202645: DBG     -- Startingdirectory: /home/lpuerto
20180424-202645: DBG     -- fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mmcblk0: 14.7 GiB, 15720251392 bytes, 30703616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3855dff8

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192 30396575 30388384 14.5G 83 Linux


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0F0AEC3E-0B1B-4853-A8A1-7CDC6B6C50E3

Device     Start        End    Sectors   Size Type
/dev/sda1   2048 1953525134 1953523087 931.5G Linux filesystem
20180424-202645: DBG     -- mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=897612k,nr_inodes=224403,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=206460k,mode=755)
/dev/mmcblk0p1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/sda1 on /srv/dev-disk-by-label-OpL1TB type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
/dev/sda1 on /sharedfolders/Media type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
/dev/sda1 on /sharedfolders/Music type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
/dev/sda1 on /sharedfolders/Torrents type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
/dev/sda1 on /sharedfolders/OpL1TB type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
/dev/sda1 on /sharedfolders/Backups type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
/dev/sda1 on /sharedfolders/Downloads type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
tmpfs on /run/user/997 type tmpfs (rw,nosuid,nodev,relatime,size=206456k,mode=700,uid=997,gid=996)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=206456k,mode=700,uid=1000,gid=100)
20180424-202645: DBG        >> doitBackup 0
20180424-202645: DBG        -- TRAP cleanup SIGINT SIGTERM EXIT
20180424-202645: DBG           >> reportNews
20180424-202645: DBG              >> isUpdatePossible
20180424-202645: DBG                 >> isNewVersionAvailable
20180424-202645: DBG                 -- Versionsplit: 0.6.3.2a - 
20180424-202645: DBG                 -- Returning: 0.0 0.0 0.6.3.2a
20180424-202645: DBG              << isNewVersionAvailable - RC: 99
20180424-202645: DBG           << isUpdatePossible
20180424-202645: DBG              >> isBetaAvailable
20180424-202645: DBG           << isBetaAvailable: 
20180424-202645: DBG        << reportNews
20180424-202645: DBG           >> getRootPartition
20180424-202645: DBG           -- cat /proc/cmdline
root=UUID=169437ed-d47c-46c2-8675-e1263f622ea0 rootfstype=ext4 rootwait console=tty1 consoleblank=0 video=mxcfb0:dev=hdmi,1920x1080m60,if=RGB24,bpp=32 rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect pci=nomsi vt.global_cursor_default=0 loglevel=1 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u,0x1058:0x1003:u 
20180424-202645: DBG           -- RootPartition: UUID=169437ed-d47c-46c2-8675-e1263f622ea0
20180424-202645: DBG        << getRootPartition: UUID=169437ed-d47c-46c2-8675-e1263f622ea0
20180424-202645: DBG           >> inspect4Backup
20180424-202646: DBG           -- ls /dev/mmcblk*:
/dev/mmcblk0
/dev/mmcblk0p1
20180424-202646: DBG           -- ls /dev/sd*:
/dev/sda
/dev/sda1
20180424-202646: DBG           -- mountpoint /boot: /boot is not a mountpoint mountpoint /: 179:1
20180424-202646: DBG           -- part: 
20180424-202646: DBG           -- deviceNumber: /boot is not a mountpoint
20180424-202646: MSG           ??? RBK0142E: Unable to detect boot device.
20180424-202646: DBG              >> exitError 102
20180424-202646: DBG           << exitError 102
20180424-202646: DBG              >> cleanup
20180424-202646: DBG                 >> cleanupBackup
20180424-202646: DBG                 -- Got trap EXIT
20180424-202646: DBG                 -- rc: 102
Invocation parms: ' -a : -o : -m detailed -l debug -L current'
20180424-202646: DBG                 -- emailTitle: opl-cubox: Backup failed !!!.
20180424-202646: DBG                    >> cleanupBackupDirectory
20180424-202646: DBG                    -- BackupDir created: 1
20180424-202646: MSG                    --- RBK0026I: Saving logfile in /home/lpuerto/raspiBackup.log.
20180424-202646: MSG                    --- RBK0105I: Deleting new backup directory /srv/dev-disk-by-label-OpL1TB/Backups/opl-cubox/opl-cubox-rsync-backup-20180424-202644.
20180424-202646: MSG                    ??? RBK0005E: Backup failed. Check previous error messages for details.
20180424-202646: DBG                 << cleanupBackup
20180424-202646: DBG                    >> cleanupTempFiles
20180424-202646: DBG                    -- Removing mailfile /tmp/raspiBackup.maillog
20180424-202646: DBG                 << cleanupTempFiles
20180424-202646: DBG                 -- Terminate now with rc 102

from raspibackup.

framps avatar framps commented on July 18, 2024

Thank you very much for the debug log. Unfortunately I just noticed there is are important debug statements missing in raspiBackup 😒

Please show the output of following commands:
sudo findmnt /boot -o source -n
sudo ls -la /boot

from raspibackup.

luispuerto avatar luispuerto commented on July 18, 2024

the first one produces no output.

lpuerto@opl-cubox:~$ sudo findmnt /boot -o source -n
lpuerto@opl-cubox:~$ sudo ls -la /boot
total 20588
drwxr-xr-x  3 root root    4096 Apr 24 17:51 .
drwxr-xr-x 25 root root    4096 Apr 24 13:50 ..
-rw-rw-r--  1 root root     170 Apr 24 17:51 armbianEnv.txt
-rw-rw-r--  1 root root    1624 Jan 27 14:19 armbian_first_run.txt.template
-rw-rw-r--  1 root root   38518 Jan 27 14:19 boot.bmp
-rw-r--r--  1 root root    1744 Jan 27 14:17 boot.cmd
-rw-rw-r--  1 root root    4882 Jan 27 14:19 boot-desktop.png
-rw-rw-r--  1 root root    1816 Jan 27 14:21 boot.scr
-rw-r--r--  1 root root  162583 Jan 25 16:59 config-4.14.14-cubox
lrwxrwxrwx  1 root root      17 Jan 27 14:18 dtb -> dtb-4.14.14-cubox
drwxr-xr-x  2 root root   12288 Jan 27 14:18 dtb-4.14.14-cubox
-rw-r--r--  1 root root 6348238 Mar 30 14:26 initrd.img-4.14.14-cubox
-rw-r--r--  1 root root       0 Jan 27 14:18 .next
-rw-r--r--  1 root root 2581624 Jan 25 16:59 System.map-4.14.14-cubox
lrwxrwxrwx  1 root root      21 Mar 30 14:26 uInitrd -> uInitrd-4.14.14-cubox
-rw-r--r--  1 root root 6348302 Mar 30 14:26 uInitrd-4.14.14-cubox
-rwxr-xr-x  1 root root 5546904 Jan 25 16:59 vmlinuz-4.14.14-cubox
lrwxrwxrwx  1 root root      21 Jan 27 14:18 zImage -> vmlinuz-4.14.14-cubox

from raspibackup.

luispuerto avatar luispuerto commented on July 18, 2024

perhaps this helps:

lpuerto@opl-cubox:~$ sudo findmnt / -o source -n
/dev/mmcblk0p1

from raspibackup.

luispuerto avatar luispuerto commented on July 18, 2024

Thanks a lor @framps!

from raspibackup.

luispuerto avatar luispuerto commented on July 18, 2024

I think I shall close the issue, shan't I?

from raspibackup.

framps avatar framps commented on July 18, 2024

Yep 😄

from raspibackup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.