Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2008 15:36:17 -0400
From:      Jeff Dickens <jeff@m2.seamanpaper.com>
To:        z.szalbot@lc-words.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dump and remote file fetching
Message-ID:  <484991B1.3050400@m2.seamanpaper.com>
In-Reply-To: <483C8060.2070003@lc-words.com>
References:  <483C8060.2070003@lc-words.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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!
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?484991B1.3050400>