Displaying 20 results from an estimated 9000 matches similar to: "Delete old files?"
2002 Feb 25
2
Trouble getting rsync to work....
I have read the MAN page and the Rsync page and have set up an
/etc/rsync.conf but I can't seem to get it working. I have tried starting the
daemon and adding the correct entry on the server hosts.allow file, but I
just get "Connection refused" from the server.
Surely this can't be that difficult, but I am at a bit of a loss. Can anyone
help?
Regards,
Brad
2002 Mar 23
3
Rsync permissions...
I am transferring some files from a RH7.0 machine to a RH7.2 machine as root
with a cron job, using the following:
rsync -avt /home homeserver::home
rsync -avt /etc homeserver::etc
Some of the files transfer OK, but I get:
building file list ... done
failed to set permissions on home : Operation not permitted
home/brad/
home/ftp/bin/
home/ftp/etc/
home/ftp/pub/
home/rsyncuser/
failed to set
2002 Apr 06
1
ERROR: chroot failed
I am trying to use rsync to transfer some directories from a RedHat 7.0 box
to a RedHat 7.1 rsync server via a cron job.
The cron command line:
00 00 * * * /usr/local/bin/emailbackup > /tmp/backup.log 2>&1; mail -s
"Rsync Backup Log" my@emailaddres < /tmp/backup.log
The 7.1 rsyncd.cond;
[home]
path = /home/brad/data/emailbackup
read only = no
uid = root
gid = root
The
2002 May 15
2
Problems getting rsync working...
I am having some problems getting rsync working.
No files get copied, although the server HD light DOES come on for about a
second when I run the client rsync command.
The /etc/rsyncd.conf on the server:
==============================
uid = root
gid = root
log = /var/log/rsync.log
read only = no
[email]
# Email data files from /var/spool/mail on Proxy (192.168.0.100)
path = /home/databackup/
2002 Jun 24
3
RegExpr in ---exclude
Hi there,
is it possible to use regular expressions in the exclude-paramter of rsync ?
For example:
rsync --exclude "/path/to/*/[Ff][Oo][Ll][Dd][Ee][Rr]"
I've tried it, but it will take no effect.
--
SET THE CONTROLS
FOR THE HEART OF THE SUN
Jens
2001 Dec 19
3
RSYNC: Backup Solution thoughts...
>I'm thinking of how to backup an entire server ("server A") to a
>remote area ("server B") using rsync.
>
>My initial thought was to have a shell account on server B, then have a
>cronjob running as root on server A that uses rsync to send all the files
>over to the shell account on server B.
>
>Then I thought that this is not reliable against
2001 Oct 19
4
Exclude
Hi Folks,
I'm running rsync between an NT client and a Solaris 7 Server (Ver 2.4.6).
I'd like to be able to exclude the following directory:
/opt/IBMHTTPDLOG/archivelogs
but retrieve
/opt/IBMHTTPDLOG
My setup is:
rsync -av -p -e rsync@server1.cna.com:/opt/IBMHTTPDLOG/
F:/opt/IBMHTTDLOG
(client)
rsync --daemon --exclude-from=/etc/rsync.exclude
(server)
What I get is
2002 Jan 15
3
problem with --delete if I sync part of a dir
Hi,
I'm using rsync for a couple of things but I am at a point where I could not find a solution for my problem.
this is what I want to do:
rsync only the files i_* from a directory from machine A to machine Bi and delete them from machine B if they on longer exist on machine A.
so I use the command:
rsync -azv --stats -e ssh --delete i_* user@host:/dir/
When using this command the files
2002 Jul 24
1
secrets file
I am planning on rsyncing between 3 different computers that all have the
same username, but different passwords. Is there a way to specify which
user from which host belongs to which password? Or do I have to use
different users between the 3 boxes?
Thanks for the help,
Mike
2002 Jul 29
1
problems preserving permissions -
Hi All,
I recently installed Rsync to perform backup features - this
includes backing up a /home dir and keeping ownerships/permissions
intact is obviously very important....
However when I perform.
(current working path is /home)
rsync -azv --progress --stats * andrew@192.168.0.2::tmp/home
and on the server side of things... I have it setup like so -
motd file = /etc/rsyncd.motd
2002 Jan 27
3
option --delete still not completely working (2.5.2)
This problem has persisted for as long as I've used rsync. When
the --delete option is used, not all files are deleted from the
target, even though said files are not present in the source.
The particular cases that cause this are when the target has a
directory with files, and the source is something else, at least
a symlink (this is the case I have seen). I'm taking a guess to
say that
2002 Jun 11
1
include-from
Estimated gurus.
I execute this sencente from a Server X to a Server Y
/usr/local/bin/rsync -av --include=/usr/local/mysql/bin/listado_images.txt
192.168.1.23::mysql_prueba
I'd like to rsync only files contained in listado_images.txt but I don't
get it.
Text of file listado_images.txt is
/datos/web/neweb/images/noticia41309_fotoLP.jpg
/datos/web/neweb/images/noticia41309_foto1N.jpg
2002 Feb 12
4
Rsync with script
Hi,
I am trying to mirror a server every night using rsync. I have to backup
multiple directories and multiple individual files. I also want to use ssh
as transport.
The problem is that I cannot get ssh to work without asking password for
each step. I tried the public key thing but it doesnt work.
Can some one give instructions for a layman like me.
Also I want to know how to pass argument to
2002 Jul 05
1
Rsync 2.4.6 error : transfer interrupted (code 12) at token.c(255)
Hi,
I got the following error synchronising between to servers :
2002/07/04 20:58:39 [68722] transfer interrupted (code 12) at token.c(255)
Between other servers rsync is OK without any error. Is it a know bug ?
I can't easily upgrade rsync because it's running on a server running
24h/24h 7/7. So before upgrading I need elements to explain the problem
which occurs.
Thank's for your
2002 Jan 12
2
Error Message!!
When rsync starts I get the following messages in my log file
Jan 11 11:00:04 WEB1 rsyncd[31281]: rsync: bind failed on port 873
Jan 11 11:00:04 WEB1 rsyncd[31281]: rsync error: error in socket IO (code
10) at socket.c(361)
Anybody know what might be causing this?
David
2001 Dec 01
3
include/exclude ?
All,
Could someone please help me resolve this:
[admx:test] $ ls
ERR01 ah01 ah02 an01 an02 mp01 mp02
[admx:test] $ ls {an,mp,ERR}*
ERR01 an01 an02 mp01 mp02
I want to rsync only the "{an,mp,ERR}*" files across using the following
command but do not see the expected results.
[admx:test] $ rsync -va --exclude="*" --include="{an,mp,ERR}*" ./*
2002 Jul 17
1
rsync memory usage
Hi,
we are using rsync to mirror large trees (>> 50 GB, >> 2 mio files)
offsite (rsync -e ssh with forced ssh command on the remote side).
The main problem occuring is memory usage (especially as the remote
system has no swap space configured for security reasons):
It seems that the rsync processes' RSS on both sides increases with
the number of files in the tree. Rsyncing the
2001 Oct 18
2
problems between different versions of rsync
Are there issues between different versions of rsync? Specifically I
have a 2.4.6 on solaris 8 pushing to a 2.3.0 on solaris 2.6 over
ssh(F-Secure version). The issue that I am seeing is that when I use
the following command:
rsync --delete -rlvp -e ssh2 $localdir user@host:remotedir
The user and group are different on both boxes(neither being root).
Any help would be appreciated.
--Jeff
2002 Apr 23
5
Dynamic address problem
Hi All,
We have clients which dynamic IPs which we have setup with
<host>.dyndns.org addresses. We have added these to the rsync.conf
'hosts allow=" but they are being denied access.. Is there anyway
around this?
Matt
2002 Feb 05
3
Doubt in Rsync !!
Sir,
How to run the rsync server in the remote machine.
I want to mirror the set of directories from one machine to another
machine
which are in the network.
I used the following command :
/usr/sbin/rsync -vv --delete --recursive --times --perms --update
source directory
destinationmachine:destination directory.
I got the error:
Permission denied.
How to tackle this error ?
thanks
laks