From 70b553c227edd8f95acdd1033f80633c86edb5ac Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Mon, 2 Jan 2023 14:39:33 +0200 Subject: [PATCH] do not try to preserve everything --- files/rsync-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/rsync-backup b/files/rsync-backup index 4fc6499..8ebd589 100755 --- a/files/rsync-backup +++ b/files/rsync-backup @@ -103,7 +103,7 @@ class RSB: if os.path.exists(tgt_dir): raise FileExistsError("Folder {} already exists".format(tgt_dir)) - subprocess.call(["cp", "-la", self.current, tgt_dir], shell=False) + subprocess.call(["cp", "-ldr", "--preserve=xattr", self.current, tgt_dir], shell=False) def make_backup(self): if self.options.no_backup: