Figured it out. Files were on the drive but masked by mount points. Had to unmount, remove files, and remount.
Beiträge von gimli
-
-
Not sure what I have done here. I am using the backup plugin with fsarchiver to back up a USB thumb drive which is the root/OS. It seems like files that don't exist on the filesystem are being backed up. Not all files in /srv are being added to the backup so I am guessing that I have an errant symlink somewhere (???).
Does anyone have any suggestions/thoughts?
6.1.3-1 (Shaitan); Linux 5.18.0-0.deb11.4-amd64; openmediavault-backup 6.1
Code-[00][ 64%][DIR ] /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1/damselfly -[00][ 64%][DIR ] /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1/damselfly/db -[00][ 64%][REGFILE ] /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1/damselfly/db/damselfly.db-wal -[00][ 64%][REGFILEM] /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1/damselfly/db/damselfly.db-shm -[00][ 65%][REGFILE ] /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1/damselfly/db/damselfly.db -[00][ 65%][DIR ] /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1/damselfly/thumbs -[00][ 65%][DIR ] /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1/damselfly/thumbs/2001 -[00][ 65%][DIR ] /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1/damselfly/thumbs/2001/2001-11-20 -[00][ 65%][REGFILE ] /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1/damselfly/thumbs/2001/2001-11-20/2001-11-20-094246_l.jpg
-
Drive is connected to a SATA port.
-
Been reading threads and I am sure this is something straightforward but I have not been about the figure it out.
On reboot, I have one drive that does not mount automatically.
I can log into the UI and see it in Storage > Drives.
It shows up in Storage > File Systems and I can mount it there.
UUID that is causing issues is:
cat /etc/fstab
CodeUUID=f3bc1916-17a0-443b-91d0-d0d39ead7787 / ext4 noatime,nodiratime,errors=remount-ro 0 1 # swap was on /dev/sdb5 during installation #UUID=9cfe1ad4-d594-4e2f-809d-7157a4d68020 none swap sw 0 0 # >>> [openmediavault] /dev/disk/by-label/scratch /srv/dev-disk-by-label-scratch ext4 defaults,noatime,nodiratime,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 /dev/disk/by-label/data /srv/dev-disk-by-label-data btrfs defaults,noatime,nodiratime,nofail 0 2 /dev/disk/by-label/media /srv/dev-disk-by-label-media btrfs defaults,noatime,nodiratime,nofail 0 2 /dev/disk/by-uuid/e945e390-6715-4bf3-aed2-c5aac15bf0b1 /srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 # <<< [openmediavault]
blkid
Code/dev/sda1: LABEL="appdata" UUID="e945e390-6715-4bf3-aed2-c5aac15bf0b1" TYPE="ext4" PARTUUID="141ab68a-dbe4-43aa-867c-5fe59f376f31" /dev/sdb1: LABEL="data" UUID="91175e1e-ca2e-42c9-a0e9-6d17584874b1" UUID_SUB="e97fdd19-6181-49a0-80cf-0a9356cba67f" TYPE="btrfs" PARTUUID="fe52b2d8-5d0e-4679-99ba-be2f08e66da7" /dev/sdd1: LABEL="scratch" UUID="01f3e249-b032-49fc-b516-962cd0004571" TYPE="ext4" PARTUUID="a839abb5-f26e-40dd-a18c-27042ced5d39" /dev/sdc: LABEL="media" UUID="c5bcb7e4-f236-4eb5-b7a9-119a2eb5a532" UUID_SUB="597366d0-4543-4dea-8a35-88b2cd3e6420" TYPE="btrfs" /dev/sde1: LABEL="root" UUID="f3bc1916-17a0-443b-91d0-d0d39ead7787" TYPE="ext4" PARTUUID="ee35d2e9-01" /dev/sde5: PARTUUID="ee35d2e9-05"
Code
Alles anzeigenroot@:~# omv-confdbadm read --prettify conf.system.filesystem.mountpoint [ { "dir": "/srv/dev-disk-by-label-scratch", "freq": 0, "fsname": "/dev/disk/by-label/scratch", "hidden": false, "opts": "defaults,noatime,nodiratime,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl", "passno": 2, "type": "ext4", "uuid": "24f2e5a3-8862-44c0-9e41-3fb0d22cb229" }, { "dir": "/srv/dev-disk-by-label-data", "freq": 0, "fsname": "/dev/disk/by-label/data", "hidden": false, "opts": "defaults,noatime,nodiratime,nofail", "passno": 2, "type": "btrfs", "uuid": "445a6b31-da32-47fd-be1a-fdd42e30ccee" }, { "dir": "/srv/dev-disk-by-label-media", "freq": 0, "fsname": "/dev/disk/by-label/media", "hidden": false, "opts": "defaults,noatime,nodiratime,nofail", "passno": 2, "type": "btrfs", "uuid": "8bd0827d-f381-4815-85f6-0744414bf15a" }, { "dir": "/srv/dev-disk-by-uuid-e945e390-6715-4bf3-aed2-c5aac15bf0b1", "freq": 0, "fsname": "/dev/disk/by-uuid/e945e390-6715-4bf3-aed2-c5aac15bf0b1", "hidden": false, "opts": "defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl", "passno": 2, "type": "ext4", "uuid": "6463bde2-548e-40f9-92e0-a94a51fc287a" } ]
-
Trying to transition to running UrBackup in Docker and am hitting some issues I hope someone can help with.
Running on Odroid HC2 with OpenMediaVault 4.1.22-1 and BTRFS file system. I can install UrBackup as a plug-in from the OMV Plug-ins and UrBackup works.
I have tried the uroni/urbackup-server image but it is not multi-platform.
I have also tried whatang/docker_urbackup:armhf-latest. That one gets a bit further but once the container starts I get the following errors in the logs:
Code2019-06-23 13:59:05: Starting HTTP-Server on port 55414 2019-06-23 13:59:05: HTTP: Server started up successfully! 2019-06-23 13:59:05: Generating Server identity... 2019-06-23 13:59:05: Generating Server private/public ECDSA key... 2019-06-23 13:59:05: Calculating public key... terminate called after throwing an instance of 'CryptoPP::FileSink::OpenErr' what(): FileSink: error opening file for writing: urbackup/server_ident_ecdsa409k1.priv
It does not seems like Docker can’t write to the configured directories.I created a new image that combines the uroni/urbackup-server and whatang/docker_urbackup images.
DockerfileDocker
Alles anzeigenFROM debian:stable ENV DEBIAN_FRONTEND=noninteractive ARG VERSION=2.2.11 ENV VERSION ${VERSION} ARG ARCH=armhf ENV FILE urbackup-server_${VERSION}_${ARCH}.deb ENV URL https://www.urbackup.org/downloads/Server/${VERSION}/${FILE} ADD ${URL} /root/${FILE} RUN apt-get update \ && echo "/var/urbackup" | apt-get install -y /root/${FILE} \ && rm /root/${FILE} && apt-get clean && rm -rf /var/lib/apt/lists/* COPY start /usr/bin/start EXPOSE 55413 EXPOSE 55414 EXPOSE 55415 EXPOSE 35623/udp VOLUME [ "/backups", "/var/urbackup", "/var/log", "/usr/share/urbackup" ]ENTRYPOINT ["/usr/bin/start"] CMD ["run"]
start
Bash#!/bin/bash echo "/backups" > /var/urbackup/backupfolder chown urbackup:urbackup /backups chown urbackup:urbackup /var/urbackup exec urbackupsrv "$@"
This builds and runs. I can open a web browser and navigate to http:[server_ip]:55414 and get:
And the log fills with the following:
Code/usr/bin/start: line 3: /var/urbackup/backupfolder: Read-only file system chown: changing ownership of '/backups': Read-only file system chown: changing ownership of '/var/urbackup': Read-only file system 2019-06-24 19:22:42: Starting HTTP-Server on port 55414 2019-06-24 19:22:42: HTTP: Server started up successfully! 2019-06-24 19:22:42: WARNING: SQLite: cannot open file at line 34198 of [0ee482a1e0] errorcode: 14 2019-06-24 19:22:42: WARNING: SQLite: os_unix.c:34198: (13) open(/var/urbackup/backup_server.db-shm) - errorcode: 14 2019-06-24 19:22:42: WARNING: SQLite: unable to open database file errorcode: 14 2019-06-24 19:22:42: ERROR: Error preparing Query [PRAGMA synchronous=NORMAL]: unable to open database file. Retrying in 1s...
I am assuming permissions is also why the web site does not get created.
I am not clear on what user it is expecting and where to set the user.
Thanks.
-
-