dump and remote file fetching

Jeff Dickens jeff at m2.seamanpaper.com
Fri Jun 6 19:36:52 UTC 2008


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 at domain.tld:/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!
>
>


More information about the freebsd-questions mailing list