UrBackup Server 2.1.6 beta

No problem …

root@urbackup-3:~# su urbackup -c "urbackup_mount_helper mount SVIMPORT 161209-1119_Image_C Image_C_161209-1119.raw"
Guestmount...
libguestfs: error: qemu-img: /tmp/libguestfsAwqbrG/overlay1: qemu-img exited with error status 1.
To see full error messages you may need to enable debugging.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
root@urbackup-3:~#

I see, in the other thread that it has an Intel Atom D525 processor. That does not have the VT-x extension which libguestfs-tools needs, that is probably why it does not work.

Okay, i’m going to try on another test platform which have VT-x …

You’re right, need of VT-x !
And a “chmod 6755 /usr/bin/urbackup_mount_helper” :wink: :

1 Like

Also, you should add a depedency on libguestfs-tools package …

Thanks !

BTW, when will the image be unmounted ? is there an automatic “unmount” ?

root@urbackup-4:~# mount
[...]
/dev/sdb1 on /media/urbackup type btrfs (rw,relatime,compress-force=zlib,space_cache,enospc_debug,subvolid=5,subvol=/)
/dev/fuse on /media/urbackup/SV62/161111-2001_Image_C_mnt type fuse (rw,nosuid,nodev,relatime,user_id=108,group_id=113)
root@urbackup-4:~#

Thanks.

Regards,

Just updated it in place, the debian package sets the setuid bit correctly now and the package has a dependency to libguestfs-tools.

After 1h not being used.

1 Like

That’s perfect :sunglasses: !

Thanks again !

Excellent V2.1; working 2.1.6 currently.

Does the group functionality have a setting to only allow a specific # of clients in that group to backup simultaneously? I am trying to optimize bandwidth for several Internet based customers and this would be quite useful.

Thanks,
Fred

Hi @Uroni,

Got the same problem on another platform with Celeron J1800 CPU and virtualization enable :

root@backup-1:~# egrep '(vmx|svm)' /proc/cpuinfo
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat
root@backup-1:~#

Mount test is ok :

root@backup-1:~# su urbackup -c "urbackup_mount_helper test" MOUNT TEST OK root@backup-1:~#

But :

and

root@backup-1:~#  urbackup_mount_helper mount SV406 161209-2228_Image_C Image_C_161209-2228.raw
Guestmount...
libguestfs: error: qemu-img: /tmp/libguestfsuEIrFx/overlay1: qemu-img exited with error status 1.
To see full error messages you may need to enable debugging.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
root@backup-1:~#

Trying a gdb trace :

root@backup-1:~# export LANG=en_EN.UTF8 ; gdb --args urbackup_mount_helper mount SV406 161209-2228_Image_C Image_C_161209-2228.raw
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from urbackup_mount_helper...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/urbackup_mount_helper mount SV406 161209-2228_Image_C Image_C_161209-2228.raw
Guestmount...
libguestfs: error: qemu-img: /tmp/libguestfsHDCfju/overlay1: qemu-img exited with error status 1.
To see full error messages you may need to enable debugging.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
[Inferior 1 (process 32393) exited with code 01]
(gdb) bt
No stack.
(gdb)

Any ideas ?

Regards,

Maybe the info there does help?

Enabling debug doesn’t help :

root@backup-1:~#  export LIBGUESTFS_DEBUG=1
root@backup-1:~#  export LIBGUESTFS_TRACE=1
root@backup-1:~#  urbackup_mount_helper mount SV406 161209-2228_Image_C Image_C_161209-2228.raw
Guestmount...
libguestfs: error: qemu-img: /tmp/libguestfs1AA3DD/overlay1: qemu-img exited with error status 1.
To see full error messages you may need to enable debugging.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
root@backup-1:~#

libguestfs-test-tool completes successfully :

root@backup-1:~# libguestfs-test-tool
[...]
guestfsd: main_loop: proc 282 (internal_autosync) took 0.08 seconds
libguestfs: trace: internal_autosync = 0
libguestfs: sending SIGTERM to process 18904
libguestfs: trace: shutdown = 0
libguestfs: trace: close
libguestfs: closing guestfs handle 0x196bb10 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfs2n4CfZ
===== TEST FINISHED OK =====
root@backup-1:~#

Which other tests should i try ?

Regards,

Fix it, it requires qemu-utils to be installed, need to be added as a dependency in urbackup package …
Testing on my Atom D525 without VT-x, and it works as well !
So VT-x is not mandatory …

Regards,

Starting from 2.1.6 server, I get a lot of these errors:
Error opening file… “/home/urbackup/myserver.com/161212-0759/root/usr/share/zoneinfo/GMT+0”. Too many levels of symbolic links (code: 40)

and the backup fails. Is there anything I can do to prevent this?

Thank you

Are you using it with btrfs?

Yes, btrfs

Archiving rules for “clients groups” are saved in database but not displayed in GUI.
First line is for a standalone client (clientid = 1) : displayed in GUI is OK
The second is for a client group (clientid = -2 !) : not displayed in GUI

sqlite> select * from automatic_archival;
id          next_archival  interval    interval_unit  length      length_unit  backup_types  clientid    archive_window
----------  -------------  ----------  -------------  ----------  -----------  ------------  ----------  --------------
1           1481551210     2419200     w              34162128    m            4             1           *;*;*;7
2           1481551251     2419200     w              34162128    m            4             -2          *;*;*;7
sqlite>

Regards,

Hello

A small feature request, because i am dealing this issue right now.
Could you please add a stat graph for the inode usage ?
It s totally possible to be out of inode before actual space, specially when using a lof of links and or small files.

Installing server on Windows Server 2016 gets “Setup cannot copy the file awealloc.sys” during installation.

ImDisk Virtual Disk Driver setup
Number of existing ImDisk virtual disks: 0
The service name is invalid.
More help is available by typing NET HELPMSG 2185.
The service name is invalid.
More help is available by typing NET HELPMSG 2185.
The service name is invalid.
More help is available by typing NET HELPMSG 2185.
ERROR: The process “imdsksvc.exe” not found.

Could you try installing ImDisk from http://www.ltr-data.se/opencode.html/ ? Maybe that does not work on Windows Server 2016 and needs some work.