Re: dump and remote file fetching



Zbigniew Szalbot wrote:
Hello,

Need a word of advice. I use dump to backup my data. All fine. Dump saves compressed *.bz2 files. Nice. All I need now is a way to copy them from the server to a remote backup machine. The problem I am facing is that bz2 files are owned by root:wheel. So if I use scp user@xxxxxxxxxx:/path/to/*.bz2, it does not have sufficient permissions to fetch the files. I can use sudo, but then I need to interactively type the password, which I would like to avoid.

Add user "user" to a group "xyz". Arrange for dump files to get group "xyz" and permissions g+w. You can probably do this by changing the group of the directory the dumps are written into and setting the sticky bit.
Can you suggest simple ways of getting around this? I don't mind using special tools for the job, especially if they are not too complicated... :)

Before firing this email off I took a look at rsync and it seems easy enough to do just what I need but still many thanks for suggestions!


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"