On Sunday 29 May 2005 02:23, Walter Dnes wrote:
I think you're going about it the wrong way.
- can you set up a cron job on the remote machine to push the backup
to your machine (or where-ever)? The cron job can run the backup as
root, so you wouldn't need to worry about
On Saturday 28 May 2005 01:33 pm, Pupeno [EMAIL PROTECTED] wrote:
My question is, how do I run a
command like this:
rsync --verbose --checksum --archive --partial --progress --rsh=ssh
[EMAIL PROTECTED]:/var/ ./var/
having root-privileges on the server.
I never use rsync myself, but why not
On Sunday 29 May 2005 16:53, Boyd Stephen Smith Jr. wrote:
I never use rsync myself, but why not just use --rsh=ssh 'su -' instead
of --rsh=ssh?
It'd have to be ssh 'sudo su -', but that doesn't work:
# rsync --verbose --checksum --archive --partial --progress --rsh=ssh 'sudo
su -' [EMAIL
On Sunday 29 May 2005 04:42 pm, Pupeno [EMAIL PROTECTED] wrote:
On Sunday 29 May 2005 16:53, Boyd Stephen Smith Jr. wrote:
I never use rsync myself, but why not just use --rsh=ssh 'su -'
instead of --rsh=ssh?
It'd have to be ssh 'sudo su -', but that doesn't work:
'sudo su -' is definately
Obviously, if you've never used sudo you'll have to emerge the package
app-admin/sudo. Then, configure /etc/sudoers with the visudo command.
Find #%wheel ALL=(ALL)ALL and uncomment it. Then, add the
user you want to be able to use sudo to the wheel group (usermod -g
name). And that's
oops. It's Then, add the user you want to be able to use sudo to the
wheel group (usermod -g wheel name).
On 5/28/05, Mark Shields [EMAIL PROTECTED] wrote:
Obviously, if you've never used sudo you'll have to emerge the package
app-admin/sudo. Then, configure /etc/sudoers with the visudo
On Saturday 28 May 2005 10:47, Mark Shields wrote:
Obviously, if you've never used sudo you'll have to emerge the package
app-admin/sudo. Then, configure /etc/sudoers with the visudo command.
Find #%wheel ALL=(ALL)ALL and uncomment it. Then, add the
user you want to be able to use
On Sat, May 28, 2005 at 09:47:20AM -0400, Mark Shields wrote
Obviously, if you've never used sudo you'll have to emerge the package
app-admin/sudo. Then, configure /etc/sudoers with the visudo command.
Find #%wheel ALL=(ALL)ALL and uncomment it. Then, add the
user you want to be
On Sat, May 28, 2005 at 03:33:51PM -0300, Pupeno wrote
My question is, how do I run a command like this:
rsync --verbose --checksum --archive --partial --progress --rsh=ssh [EMAIL
PROTECTED]:/var/ ./var/
having root-privileges on the server.
I think you're going about it the wrong way.
Hello,
I'm trying to set up my computers so I make backups of my server from my
workstation (we don't have a backup server). The thing is that I have a
normal user on that server and I'm on the sudoers file to perform any
root-task.
Now, to back up, I'm running an rsync thru ssh to the server,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Run sudo after you ssh. On my network, I backup my servers by setting
up sudoers on the server I want to backup and running the following
command from my workstation:
ssh flags user@hostname sudo dump -udumplevelf- filesystem |
gzip
11 matches
Mail list logo