From nobody Fri Nov 10 19:08:42 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SRpJW5LF4z4yxF0 for ; Fri, 10 Nov 2023 19:08:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SRpJW4BY2z4QNm for ; Fri, 10 Nov 2023 19:08:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699643323; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uLLJAcQ5d2julh72Z1E90SLM7NglZWP7WWokU9ELW0w=; b=fNSOkj3m6nCEZGSg3cc8jFKkr45+hrSRtQgbZdfFoL7/IO4rUCTJPnWBx1j51t6Qz52LqA 0oXdX7AJavSGFydDOUS+r4wRm8GprMfgQqNaHS+Ea5bgCC/D1GdSJMiAXpzozY+ozs8o/M eSoWFtwXz1WGORQLoQWVFJ3lS3IfPx8j3vVji5xQdm2Z+Jgf3wJZdfAfX7rvvohFgBQFjo UZd5xZH2ANZLaysJhs20eGlmSZtWEDFfgEW1diShuGvtSTDAe96NvAUcn0XpuAqZeKd96f yaEfBOLMF9SX6LYN2GXHvPg5jTFJxzUVPoX2uYjsvE3Kk0Ky0J2u8NrtdGSHBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699643323; a=rsa-sha256; cv=none; b=js4pvDHitHrqRYWGWErGX8Jp3HUOnl9hqbeUviYFW2xSWNmf5o/rKxRwNKdyNuCZGo+ie5 6PDWCE6DSr76gRCUQt7PaydqEHvK8jf6OpgeJzRRltdL5mD79Lz/mLKb+ZV1HN+hSVhfeF BaG3IXMVBZR5pQC0D0MkUvg2LGmNzW2sjOE8Go/1d8TgCXg1nQ0zdk0UzZOLRDJja4GrKj Zc3uRhYGxJ4z1xLKIfOjaL1RpjMZJk4ktpTNkhhWLhK3ccwiMgsJZksvdncwdCG+TRQPDl ccDKPDyLdVA5rlcbH3gBeWbEoTz5YFodAw2ZEm/IJJK5oYTfbolLzZq8S5yvcQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SRpJW39j9z18Vk for ; Fri, 10 Nov 2023 19:08:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AAJ8h9h049852 for ; Fri, 10 Nov 2023 19:08:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AAJ8hoK049851 for ports-bugs@FreeBSD.org; Fri, 10 Nov 2023 19:08:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275017] sysutils/backuppc4 Problem backing up multiple SMB share (broken config from web interface) Date: Fri, 10 Nov 2023 19:08:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olivierw1+bugzilla-freebsd@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275017 Bug ID: 275017 Summary: sysutils/backuppc4 Problem backing up multiple SMB share (broken config from web interface) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: olivierw1+bugzilla-freebsd@hotmail.com CC: moiseev@mezonplus.ru Flags: maintainer-feedback?(moiseev@mezonplus.ru) CC: moiseev@mezonplus.ru Hello, I'm using BackupPC 4.4.0 on FreeBSD 13.2 and I need to backup a new Windows computer which has 2 SMB shares. But there's a bug in the current version of BackupPC. The problem is, when setting up "BackupFilesOnly" and "SmbShareName" through backuppc's web interface, it doesn't save the configuration correctly, it d= oes save: $Conf{BackupFilesOnly} =3D ( 'Share1$' =3D> [ '*.a' ], 'Share2$' =3D> [ '*.b' ] ); $Conf{SmbShareName} =3D ( 'Share1$', 'Share2$' ); While the correct configuration should be: $Conf{BackupFilesOnly} =3D { 'Share1$' =3D> [ '*.a' ], 'Share2$' =3D> [ '*.b' ] }; $Conf{SmbShareName} =3D [ 'Share1$', 'Share2$' ]; Notice the differences how the array are saved: "(", ")" instead of "{", "}" and "[", "]" Fortunately, there is a patch available, but there are no new releases since v4.4.0 from 2020. The patch is available here: https://github.com/backuppc/backuppc/commit/2c9270b9b849b2c86ae6301dd722c97= 757bc9256 (add ".patch" or ".diff" to the end of this URL if needed) There are bug reports here: https://github.com/backuppc/backuppc/issues/466= and here: https://github.com/backuppc/backuppc/issues/472 (and some others one linked in this two) On my backuppc install, I have manually patched "/usr/local/libexec/backuppc/configure.pl" and "/usr/local/lib/BackupPC/Storage/Text.pm" and the problem is solved: the web interface works correctly and both my Windows' share are saved! :-D Can someone merge the patch, while hping someday a 4.4.1 releasde is done? Thanks in advance! :-) --=20 You are receiving this mail because: You are the assignee for the bug.=