Re: [SLE] (with better English) Re: [SLE] backup operation: back up the files belong to www-run
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Sun, 29 Oct 2006 13:03:26 +0100 (CET)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Saturday 2006-10-28 at 17:33 +0200, Leendert Meyer wrote:
A fifth one: rsync, perhaps via ssh transport.
Yes, but IMHO this seems only a partial solution, as it does not take
care of the read-permission problem. ;-) 600 means only wwwrun or
root have read-access.
Well, the rsync daemon runs as root: it would have access:
An example that copies all the files in a remote module named
"src":
rsync -av host::src /dest
Some modules on the remote daemon may require authentication. If
so, you will receive a password prompt when you connect. You can
avoid the password prompt by setting the environment variable
RSYNC_PASSWORD to the password you want to use or using the
--password-file option. This may be useful when scripting rsync.
That's without ssh transport, but the manual explains how to add that.
Like:
rsync -av --rsh=ssh host::module /dest
There are many combinations. I think that the remote user can be
"www-run", but perhaps not if that requires a shell. I'm not sure about
that.
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFFRJiXtTMYHG2NR9URAijKAKCN1GsWcsmpNvLB7j2ye+cz7B8BQgCcDDBj
SRTPQQpGcTymiDPrI3kvk9M=
=XpO9
-----END PGP SIGNATURE-----
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Follow-Ups:
- References:
- [SLE] backup operation: back up the files belong to www-run
- From: 张韡武
- [SLE] (with better English) Re: [SLE] backup operation: back up the files belong to www-run
- From: 张韡武
- Re: [SLE] (with better English) Re: [SLE] backup operation: back up the files belong to www-run
- From: Carlos E. R.
- Re: [SLE] (with better English) Re: [SLE] backup operation: back up the files belong to www-run
- From: Leendert Meyer
- [SLE] backup operation: back up the files belong to www-run
- Prev by Date: Re: [SLE] Can't boot boot iso
- Next by Date: Re: [SLE] email
- Previous by thread: Re: [SLE] (with better English) Re: [SLE] backup operation: back up the files belong to www-run
- Next by thread: Re: [SLE] (with better English) Re: [SLE] backup operation: back up the files belong to www-run
- Index(es):
Relevant Pages
|