after using rsync -a to copy my home folder to another disk, I used diff -rq --no-dereference to check if everything is intact, but I got weird results from diff:
file … is a socket while file … is a socket
file … is a fifo while file … is a fifo
So if I restore this stuff, I guess it would confuse manjaro and break stuff?
Would that non-file stuff (whatever fifos/sockets are) not be there if I did the backup while the system is shutdown, booting another OS from a flash drive ?
Can’t I safely backup /home of a running system?
Do I have to redo the backup or can I somehow remove fifos/sockets and it would be safe?
For special files, the rsync manpage is only giving sockets and fifos as examples, but sounds like there are more. I guess special files are not important to backup, but how do I know for sure?
So what would you recommend for checking if everything was copied safely - just run rsync again and see if it complains? I ran rsync with --info=progress2 and it finished at 99%, so I wanted to be sure.
I use backintime that does the job very well. I restored several times without any issues. It uses rsync and copies only files that has changed since last backup. I run it every night and backup / to a USB-drive.
I also tried to just read the manual of rsync … tooo complicated for me and why should i understand this endless command line options and their dependencies on each other?