On 2019-01-17 02:45, Mike Bosschaert wrote:
Hi,

I'm struggling with the configuration of a Win10 client. I'm running
4.2.1 and have several linux
clients which have backups daily for years now without any problem,
with various different
schedules of incremental backups.

For some time I'm also backing up a win10 laptop and I found out that
in certain circumstances
backups, which should have a volume of about 900G are nearly empty.
The entire directory structure
is built correctly but most directories are empty, whereas if you look
in the history, they
contain some backupped files, sometimes as old as a couple of months
(indicated with v0). I do not
see errormessages in the logs. The backups are mostly made during
nightly hours so it's unlikely
that there are massive file-locks blocking the backups. The backups
are from one smb share and all
share the same owner.

File permissions on W10 are a frothy mix of local permissions and SMB/CIFS permissions. If files are simply not visible in a full backup, these are the first things to check. smbclient is a good diagnostic tool for poking around and ensuring that you actually can remotely access files you should be able to access.

I've done some tests with different scenarios. It appears that if a
directory is copied to the
smb-share, in the incremental backups, only files are backed up with a
datetime later than the
reference file. The files which are newly copied upon the share but
have a date before the
reference date are ignored. These files are only backed up in full backups.

This is expected behavior of smb. You'll need to switch to rsync if you want rsync-like behavior.

My question is, is there a way to tell smbclient which runs an
incremental backup ( tarmode\full
-TcN) to also backup files which are NOT already present in the delta
of the directory. So the
backup would copy files which are newer than the reference AND files
which are older but not yet
backed up in the past.

Short answer:  no

Longer answer: your choices are either to switch to rsync or to run a lot more full backups. On the plus side, there are at least two well-known setups that implement rsync and shadow files, which would take care of any file locking issues. (These would show up in the logs.)

Thx
Mike
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to