On Thu, 2022-10-27 at 16:06 +0200, Maarten de Vries wrote: [snip]
Maarten, you did not reply to the mailing list ;).
On 27/10/2022 16:02, Ralf Mardorf wrote:
Verify the copy by running
# diff -r --no-dereference /mnt/old/ /mnt/new/
PS: I'm not sure, if diff might warn about missing sockets or similar.
If "cp -a" returned exit status 0, the copy is most likely ok, running diff isn't necessarily needed.
If tar --xattrs... returns exit status 0, you can't trust it. After doing a backup by tar always (try to) open the archive. However, making a backup using tar first and then restoring from the archive doesn't make sense at all.