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: