Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2008 23:42:56 +0200
From:      Zbigniew Szalbot <z.szalbot@lc-words.com>
To:        freebsd-questions@freebsd.org
Subject:   dump and remote file fetching
Message-ID:  <483C8060.2070003@lc-words.com>

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

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!


-- 
Zbigniew Szalbot
www.lc-words.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?483C8060.2070003>