diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2021-03-16 16:22:40 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2021-03-23 23:38:38 +0000 |
commit | 09995f780d1e75618ffc50b870b32e2375b63747 (patch) | |
tree | e72958f3f9d0e339c03c80f6a0fb7bb1ca6e3a85 /selftest | |
parent | f52e6e5345bd7cf35abe49eb67e9e4ea969493fd (diff) | |
download | samba-09995f780d1e75618ffc50b870b32e2375b63747.tar.gz |
netcmd: Determine which files are to be copied for an offline domain backup
The old behaviour attempted to check for and remove files with duplicate
names, but did not do so due to a bug, and would have left undetermined
which files were given priority when duplicate filenames were present.
Now when hardlinks are present, only one instance of each file is
chosen, with files in the private directory having priority. If one
backup dir is nested inside another, the files contained in the nested
directory are only added once. Additionally, the BIND DNS database is
omitted from the backup.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14027
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail.d/bug-14027 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/selftest/knownfail.d/bug-14027 b/selftest/knownfail.d/bug-14027 deleted file mode 100644 index f0746474be2..00000000000 --- a/selftest/knownfail.d/bug-14027 +++ /dev/null @@ -1,2 +0,0 @@ -^samba.tests.domain_backup_offline.samba.tests.domain_backup_offline.DomainBackupOfflineCmp.test_domain_backup_offline_hard_link -^samba.tests.domain_backup_offline.samba.tests.domain_backup_offline.DomainBackupOfflineCmp.test_domain_backup_offline_nested |