Hi,

Ali Bendriss wrote on 28.06.2007 at 18:17:09 [Re: [BackupPC-users] Scoket 
Files]:
> You don't need to backup any "socket files", try to stop you mail or whatever 
> service and you will not see that file anymore. There are created automaticly 
> and are used as a way of communication for local process,

while it is perfectly true that backing up a socket file won't save any data
transfered through the socket, much less the state of the process on the
other end of it, it is far from pointless. It documents system state, which
may or may not be of interest at some point in the future (this is probably
true of *any* data in a backup: it very often turns out you didn't need it,
though you might have). If I found a socket named
"/usr/local/innoccuous/password_sniffer" on my system, I'd certainly be
interested in finding out when it first appeared. Likewise if a socket I was
expecting was not to be found.

> You can safely exclude those files from the backup, just keep the directories.

Excluding sockets by name is cumbersome and error-prone. What's wrong about
the recommendations usually given when this FAQ pops up once again?

Ali Bendriss wrote on 28.06.2007 at 18:49:40 [Re: [BackupPC-users] Scoket 
Files]:
> I reply to myself,
> As suggested by Rodrigo Real, 
> the option  --specials is missing from your rsync command.
> 
> from the man 
> --specials    
> This option causes rsync to transfer special files such as named sockets and 
> fifos.

While this is basically correct, the common advice to use '-D' is better:
it works both with old and new versions of rsync on the remote end. If you
are backing up more than one computer, you may in fact have both old and new
versions of rsync on the remote end.


I apologize if my original answer was a bit unfriendly, but I maintain that
replacing '--devices' with '-D' in $Conf{RsyncArgs} is the generic fix to
the generic issue of getting "fileListReceive failed" after upgrading rsync
on the remote end to version 2.6.8 or newer. If you look at BackupPC 3.0.0,
you'll find '-D' in the RsyncArgs in the default configuration, though
you'll notice that Craig generally prefers the verbose options over their
one-letter equivalents.


This issue first appeared on this list in March 2006. Luckily it has been
reappearing less frequently lately. I should probably get into the habit of
pointing to existing threads rather than repeating explanations.

Regards,
Holger

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to