I think, I solved my problem. After I removed    '\\*\\.*' from file exclusions, all subdirectories are there. These are my exclusions

$Conf{BackupFilesExclude} = {
  '*' => [
    '\\*\\.*',
    '*.TMP',
    '*.tmp',
    '*.lock',
    '\\*\\Temp',
    '\\*\\TEMP',
    '\\\\DfsrPrivate'
  ]
};

I wonder why other BackupPC is working properly with the same exclusions, when backing up the same shares. I also tested to backup another Windows to problematic BackupPC and there was no difference, directories were not there.

The only difference is, problematic server runs Ubuntu 20.04 and smbclient 4.13.14, the working one Ubuntu 18.04 and smbclient 4.7.6. Nedd to study changelogs.

--------------------
/*Kārlis Irmejs*
mob. 29484569/



On 02.12.2021 10:59, Kārlis Irmejs via BackupPC-users wrote:

SMB. All shares are on the same disk and the same partition.

I tested backup from these servers to another BackupPC in remote location, backups are shown correctly in this another BackupPC server. Will try to test in reverse direction.

--------------------
/*Kārlis Irmejs*
/


On 02.12.2021 10:48, Dave Sherohman via BackupPC-users wrote:

What file transfer method are you using with the Windows hosts?  I've seen a couple mentions on the mailing list that BPC4 added --one-file-system to the default set of flags for rsync file transfers, which would prevent rsync from crossing over onto a remotely-mounted filesystem, such as an SMB share.  It may have also added an equivalent setting for SMB-based transfers, although I haven't seen anyone say anything one way or the other about that.

On 12/2/21 9:06 AM, Kārlis Irmejs via BackupPC-users wrote:

Hi, I have a problem and cannot solve it by myself.

I'm running BackupPC 4.4.0 on Ubuntu 20.04. Backups are made for 2 Windows hosts with couple of SMB shares. Configuration mostly default, at least regarding server and CGI config.

Here is my problem. In web GUI under host 'Browse backups' there are no folders, only files in share root. Backups are running without errors, logs showing files transferred, the disk is filling and there are files in topdir/pc, pool and cpool. Under topdir/pc/hostname there are all subfolders as they should be.

What I have done. I deleted everything related to BackupPC, including topdir contents (reformatted partition which is mounted there), reinstalled BackupPC using script from Wiki 'Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu' and recreated configuration from scratch. No luck.

I have another BackupPC in another location, the same version, same config, no problems at all.

Localhost tar backups are shown properly. I have no other Linux machines on that location to test.

Perhaps some ideas what to do. Or some more info needed?
--
--------------------
/*Kārlis Irmejs*
/




_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to