UrBackup Server 2.1.7 beta/Client 2.1.7 (updated) beta

Which browser are you using?

Hello

Can you add an inode check,
and add the inode as check in Global soft filesystem quota: ?

Chromium Version 57.0.2950.0 (64-bit) / Windows 7

Cannot reproduce with Chrome either
 could you have a look in the network tab in the Chrome developer tools if the server returns the archive settings and they then do not get displayed?

No settings returned :

And i can reproduce with Mozilla Firefox 50.1

You’ll have to look at the network tab

Could you run

SELECT * FROM settings WHERE key=‘group_id’ AND clientid=0;

on backup_server_settings.db ?

Which parameters shoud i check ?

sqlite> SELECT * FROM settings WHERE key='group_id' AND clientid=0;
key         value       clientid
----------  ----------  ----------
group_id    1           0
sqlite>

Ok, idk how that got there. It should work after you delete it. I will try to ignore such a setting.

sqlite> delete from settings WHERE key='group_id' AND clientid=0;
sqlite>

Works fine after deleting, thanks !

BTW, is it normal that “Full image backup” becomes “Image backup” after saving the rule ?

Regards,

We’re testing UrBackup with ZFS backend on Debian 8 and got some problems with ZFS backend and “urbackupsrv remove-unknown” comand :

root@urbackup-3:~# urbackupsrv remove-unknown
2016-12-19 15:01:17: Going to remove all unknown files and directories in the urbackup storage directory. Waiting 20 seconds...
2016-12-19 15:01:37: Shutting down all database instances...
2016-12-19 15:01:37: Opening urbackup server database...
2016-12-19 15:01:37: Testing if backup destination can handle subvolumes and snapshots...
Testing for btrfs...
ERROR: not a btrfs filesystem: /media/backups/testA54hj5luZtlorr494
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
mount: only root can use "--options" option
cannot mount 'backups/images/testA54hj5luZtlorr494': Invalid argument
filesystem successfully created, but not mounted
TEST FAILED: Creating test zfs volume "backups/images/testA54hj5luZtlorr494" failed
2016-12-19 15:01:48: Waiting for backup destination to support snapshots...
Testing for btrfs...
ERROR: not a btrfs filesystem: /media/backups/testA54hj5luZtlorr494
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
ZFS TEST OK
2016-12-19 15:01:48: Backup destination does handle subvolumes and snapshots. Snapshots enabled for image backups.
2016-12-19 15:01:48: Cleaning up 0 percent
2016-12-19 15:01:48: Cleaning up 0 bytes on backup storage
2016-12-19 15:01:48: Database cache size is 200 MB
2016-12-19 15:01:48: Starting cleanup...
2016-12-19 15:01:48: Freeing database connections...
2016-12-19 15:01:48: Deleting incomplete image file "/media/backups/SVIMPORT/161219-1418_Image_E/Image_E_161219-1418.raw"...
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1418_Image_E': umount failed
2016-12-19 15:01:48: WARNING: Deleting incomplete image "/media/backups/SVIMPORT/161219-1418_Image_E/Image_E_161219-1418.raw" failed.
2016-12-19 15:01:48: Deleting incomplete image file "/media/backups/SVIMPORT/161219-1418_Image_F/Image_F_161219-1418.raw"...
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1418_Image_F': umount failed
2016-12-19 15:01:49: WARNING: Deleting incomplete image "/media/backups/SVIMPORT/161219-1418_Image_F/Image_F_161219-1418.raw" failed.
2016-12-19 15:01:49: Deleting incomplete image file "/media/backups/SVIMPORT/161219-1418_Image_SYSVOL/Image_SYSVOL_161219-1418.raw"...
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1418_Image_SYSVOL': umount failed
2016-12-19 15:01:49: WARNING: Deleting incomplete image "/media/backups/SVIMPORT/161219-1418_Image_SYSVOL/Image_SYSVOL_161219-1418.raw" failed.
2016-12-19 15:01:49: Deleting incomplete image file "/media/backups/SVIMPORT/161219-1419_Image_C/Image_C_161219-1419.raw"...
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1419_Image_C': umount failed
2016-12-19 15:01:49: WARNING: Deleting incomplete image "/media/backups/SVIMPORT/161219-1419_Image_C/Image_C_161219-1419.raw" failed.
2016-12-19 15:01:49: Deleting incomplete image file "/media/backups/SVIMPORT/161219-1453_Image_E/Image_E_161219-1453.raw"...
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1453_Image_E': umount failed
2016-12-19 15:01:49: WARNING: Deleting incomplete image "/media/backups/SVIMPORT/161219-1453_Image_E/Image_E_161219-1453.raw" failed.
2016-12-19 15:01:49: Deleting incomplete image file "/media/backups/SVIMPORT/161219-1453_Image_F/Image_F_161219-1453.raw"...
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1453_Image_F': umount failed
2016-12-19 15:01:49: WARNING: Deleting incomplete image "/media/backups/SVIMPORT/161219-1453_Image_F/Image_F_161219-1453.raw" failed.
2016-12-19 15:01:49: Deleting incomplete image file "/media/backups/SVIMPORT/161219-1453_Image_SYSVOL/Image_SYSVOL_161219-1453.raw"...
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1453_Image_SYSVOL': umount failed
2016-12-19 15:01:50: WARNING: Deleting incomplete image "/media/backups/SVIMPORT/161219-1453_Image_SYSVOL/Image_SYSVOL_161219-1453.raw" failed.
2016-12-19 15:01:50: Deleting incomplete image file "/media/backups/SVIMPORT/161219-1454_Image_C/Image_C_161219-1454.raw"...
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1454_Image_C': umount failed
2016-12-19 15:01:50: WARNING: Deleting incomplete image "/media/backups/SVIMPORT/161219-1454_Image_C/Image_C_161219-1454.raw" failed.
2016-12-19 15:01:50: Enough free space now.
2016-12-19 15:01:50: Enough free space now.
2016-12-19 15:01:50: Deleting old logs...
2016-12-19 15:01:50: Done deleting old logs
2016-12-19 15:01:50: Cleaning history...
2016-12-19 15:01:50: Rewriting daily history...
2016-12-19 15:01:50: Reading history...
2016-12-19 15:01:50: 1 history items read
2016-12-19 15:01:50: Deleting history...
2016-12-19 15:01:50: Writing history...
2016-12-19 15:01:50: Rewriting monthly history...
2016-12-19 15:01:50: Reading history...
2016-12-19 15:01:50: 0 history items read
2016-12-19 15:01:50: Deleting history...
2016-12-19 15:01:50: Writing history...
2016-12-19 15:01:50: Rewriting yearly history...
2016-12-19 15:01:50: Reading history...
2016-12-19 15:01:50: 0 history items read
2016-12-19 15:01:50: Deleting history...
2016-12-19 15:01:50: Writing history...
2016-12-19 15:01:50: Done cleaning history
2016-12-19 15:01:50: Cleaning deleted backups history...
2016-12-19 15:01:50: Done cleaning deleted backups history.
2016-12-19 15:01:50: Cleaning up client lists...
2016-12-19 15:01:50: Done cleaning up client lists.
2016-12-19 15:01:50: Updating statistics...
2016-12-19 15:01:50: Updating image stats...
2016-12-19 15:01:50: Updating file statistics...
2016-12-19 15:01:50: Done updating statistics.
2016-12-19 15:01:50: Enough free space now.
2016-12-19 15:01:50: Cleanup successfull.
2016-12-19 15:01:50: Removing unknown for client "SVIMPORT"
2016-12-19 15:01:50: ERROR: Cannot open "/media/backups/SVIMPORT/161219-1351_Image_E": No such file or directory (2)
cannot open 'backups/images/SVIMPORT/161219-1351_Image_E': dataset does not exist
2016-12-19 15:01:50: ERROR: Cannot open "/media/backups/SVIMPORT/161219-1351_Image_F": No such file or directory (2)
cannot open 'backups/images/SVIMPORT/161219-1351_Image_F': dataset does not exist
2016-12-19 15:01:50: ERROR: Cannot open "/media/backups/SVIMPORT/161219-1351_Image_SYSVOL": No such file or directory (2)
cannot open 'backups/images/SVIMPORT/161219-1351_Image_SYSVOL': dataset does not exist
2016-12-19 15:01:50: ERROR: Cannot open "/media/backups/SVIMPORT/161219-1352_Image_C": No such file or directory (2)
cannot open 'backups/images/SVIMPORT/161219-1352_Image_C': dataset does not exist
2016-12-19 15:01:50: ERROR: Cannot open "/media/backups/SVIMPORT/161219-1352_Image_E": No such file or directory (2)
cannot open 'backups/images/SVIMPORT/161219-1352_Image_E': dataset does not exist
2016-12-19 15:01:50: ERROR: Cannot open "/media/backups/SVIMPORT/161219-1353_Image_C": No such file or directory (2)
cannot open 'backups/images/SVIMPORT/161219-1353_Image_C': dataset does not exist
2016-12-19 15:01:50: ERROR: Cannot open "/media/backups/SVIMPORT/161219-1353_Image_F": No such file or directory (2)
cannot open 'backups/images/SVIMPORT/161219-1353_Image_F': dataset does not exist
2016-12-19 15:01:50: ERROR: Cannot open "/media/backups/SVIMPORT/161219-1353_Image_SYSVOL": No such file or directory (2)
cannot open 'backups/images/SVIMPORT/161219-1353_Image_SYSVOL': dataset does not exist
2016-12-19 15:01:50: WARNING: Image backup "161219-1418_Image_E" of client "SVIMPORT" not found in database. Deleting it.
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1418_Image_E': umount failed
2016-12-19 15:01:50: WARNING: Image backup "161219-1418_Image_F" of client "SVIMPORT" not found in database. Deleting it.
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1418_Image_F': umount failed
2016-12-19 15:01:50: WARNING: Image backup "161219-1418_Image_SYSVOL" of client "SVIMPORT" not found in database. Deleting it.
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1418_Image_SYSVOL': umount failed
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1419_Image_C': umount failed
2016-12-19 15:01:50: WARNING: Image backup "161219-1453_Image_E" of client "SVIMPORT" not found in database. Deleting it.
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1453_Image_E': umount failed
2016-12-19 15:01:50: WARNING: Image backup "161219-1453_Image_F" of client "SVIMPORT" not found in database. Deleting it.
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1453_Image_F': umount failed
2016-12-19 15:01:50: WARNING: Image backup "161219-1453_Image_SYSVOL" of client "SVIMPORT" not found in database. Deleting it.
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1453_Image_SYSVOL': umount failed
umount: only root can use "--types" option
cannot unmount '/media/backups/images/SVIMPORT/161219-1454_Image_C': umount failed
2016-12-19 15:01:50: Removing dangling file entries...
2016-12-19 15:01:50: Deleted 0 file entries
2016-12-19 15:01:50: Successfully removed all unknown files in backup directory.

Snapshot test :

root@urbackup-3:~# urbackup_snapshot_helper test
Testing for btrfs...
ERROR: not a btrfs filesystem: /media/backups/testA54hj5luZtlorr494
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
ZFS TEST OK
root@urbackup-3:~#

Config

root@urbackup-3:~# uname -a
Linux urbackup-3 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.8-1~bpo8+1 (2016-10-19) x86_64 GNU/Linux
root@urbackup-3:~# cat /etc/urbackup/dataset
backups/images
root@urbackup-3:~# cat /etc/urbackup/backupfolder
/media/backups
root@urbackup-3:~# mount
[...]
backups on /media/backups type zfs (rw,relatime,xattr,noacl)
backups/images on /media/backups/images type zfs (rw,relatime,xattr,noacl)
backups/images/SVIMPORT on /media/backups/images/SVIMPORT type zfs (rw,relatime,xattr,noacl)
backups/images/SVIMPORT/161219-1418_Image_E on /media/backups/images/SVIMPORT/161219-1418_Image_E type zfs (rw,relatime,xattr,noacl)
backups/images/SVIMPORT/161219-1418_Image_F on /media/backups/images/SVIMPORT/161219-1418_Image_F type zfs (rw,relatime,xattr,noacl)
backups/images/SVIMPORT/161219-1418_Image_SYSVOL on /media/backups/images/SVIMPORT/161219-1418_Image_SYSVOL type zfs (rw,relatime,xattr,noacl)
backups/images/SVIMPORT/161219-1419_Image_C on /media/backups/images/SVIMPORT/161219-1419_Image_C type zfs (rw,relatime,xattr,noacl)
backups/images/SVIMPORT/161219-1453_Image_E on /media/backups/images/SVIMPORT/161219-1453_Image_E type zfs (rw,relatime,xattr,noacl)
backups/images/SVIMPORT/161219-1453_Image_F on /media/backups/images/SVIMPORT/161219-1453_Image_F type zfs (rw,relatime,xattr,noacl)
backups/images/SVIMPORT/161219-1453_Image_SYSVOL on /media/backups/images/SVIMPORT/161219-1453_Image_SYSVOL type zfs (rw,relatime,xattr,noacl)
backups/images/SVIMPORT/161219-1454_Image_C on /media/backups/images/SVIMPORT/161219-1454_Image_C type zfs (rw,relatime,xattr,noacl)
root@urbackup-3:~# ps faxu | grep urbackup
[...]
root      6954  1.0  3.8 1377920 39584 ?       Sl   14:17   0:31 /usr/bin/urbackupsrv run -u root --config /etc/default/urbackupsrv --daemon --pidfile /var/run/urbackupsrv.pid
[...]
root@urbackup-3:~# cat /var/urbackup/backupfolder
/media/backups
root@urbackup-3:~# ls -l /media/backups/
total 26
drwxr-x--- 2 root root  2 déc.  19 13:31 clients
drwxr-xr-x 3 root root  3 déc.  19 15:01 images
drwxr-x--- 2 root root 18 déc.  19 14:54 SVIMPORT
drwxr-x--- 2 root root 15 déc.  19 13:52 urbackup
drwxr-x--- 2 root root  2 déc.  19 14:17 urbackup_tmp_files
root@urbackup-3:~#

Any ideas ?

Regards,

You’ll need to run everything with -u root, i.e. urbackupsrv remove-unkown -u root

1 Like

Thanks. I thought that running the command as root was enough 


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.