Displaying 20 results from an estimated 283 matches for "avz".
Did you mean:
avi
2008 Nov 03
3
[rsync -avz] total size/disk usage difference between source and destination
Hi folks
We migrated storage from local disk to SAN with:
# rsync -avz /mnt/lvol00045/* /lvol00045
Why there is a difference in size? How to explain this? Do we have
inconsistency? What we did wrong?
[...]
/dev/mapper/vg01-lvol00045_old
10321208 3930336 6286016 39% /mnt/lvol00045
[...]
/dev/mapper/vg01-lvol00045
10321...
2002 Nov 01
2
Help on rsync delete option
Hello,
Any help on the following issue will be appreciated.
How do I delete files or directories in my first level of directory that is
specified as host. Here is an example :
rsync -avz --delete ${SOURCE_HOST}:/mlinkfam/extract/sccs/pa/*
/mlinkfam/extract/sccs/pa
Giving above command I find redundant files or directory not getting deleted
from the first level of target directory /mlinkfam/extract/sccs/pa. However,
files or directories do get deleted from subdirectories
/mlinkf...
2002 Jul 25
2
rsync with --exclude files
HI,
I'm trying to exclude some files & directories from a filesystem which I
would like to copy to a different site. I did:
# rsync -avz --exclude-file=/fs21/tmp/perl_scripts/exclude.txt
/fs22/a/circuit_design mickey.willow.com:/cpu/store/design
where file /fs21/tmp/perl_scripts/exclude.txt contains the following
directories and files to be excluded from /fs22/a/circuit_design :
# cat /fs21/tmp/perl_scripts/exclude.txt
/fs22...
2002 Aug 03
1
Rsync from windows to unix
...m Windows to Unix.
I've followed the directions on :
http://optics.ph.unimelb.edu.au/help/rsync/rsync_pc1.html
I can see ssh running on the windows machine, because
I tested it using telnet localhost 22 and I can see
the result "SSH-2.0-OpenSSH_3.4p1".
But when I try
"$ rsync -avz -e ssh user@windowsserver::/rsync/* ."
from the Linux machine I'm getting the error message
"ERROR: The remote path must start with a module
name"
Even when I try
"$ rsync -avz -e ssh user@windowsserver:/rsync/* ."
I'm getting the error
$ rsync -avz -e ssh speram@...
2002 Aug 12
3
--include option
...yout
test_simulations
pattern_flow
I would only like to rsync the following 2 subdirectories to the destination
machine:
clock_speed
fub_layout
and they're contained in the file called files_included:
# cat files_included
clock_speed
fub_layout
Hence, I invoked rsync as below:
# rsync -avz --include-from=files_included /stor/circuit_design/
mickey.willowglen.com:/stor/circuit_design/
However, after rsync is invoked, the other sub-directories i.e
test_simulations and pattern_flow were also included in the destination
filesystem.
I've tried with the following pattern combinatio...
2006 May 23
2
cross platform rsync avz lists all directory names in tree
Hi,
I have tried googling and reading the docs and examples but haven't yet
managed to solve this issue.
rsyncing from Mac OS X to FreeBSD and from Linux to Windows XP, with the
arguments avz I get the same thing in the reports (mailed from cron):
path/
path/to/
path/to/directories/
path/to/directories/changedfile.txt
another/path/
another/path/withoutanychangedfiles/
yet/anotherpath/
yet/anotherpath/withoutanychangedfiles/
...
and so on. With biggish directories this results in huge...
2004 Dec 06
3
rsync: a bit of confusion
...e,
max connections = 20
syslog facility = local3
read only = true
hosts allow = 192.168.10.10
[qmail-control]
comment = qmail-control
path = /var/qmail/control
read only = yes
list = yes
uid = root
gid = root
Then from 192.168.10.10, I tried,
rsync -avz -e ssh root@192.168.10.1:/var/qmail/control/* .
and it worked. So far so good. But then again it worked from 192.168.10.11
too and that too for other directories too. Even deleting the rsync.conf
file had no effect. What is wrong here? Is this not the way to
use rsync client?
With warm regards,
-...
2009 Jun 16
7
Rsync, SSH and authorized_keys problem
...o the other (automatically via
cron) using rsync and ssh password-less public key authentication.
I having been trying to set this up following an article in a Linux
magazine[1] by only allowing the specific rsync command to run on the
remote box.
I am using the following rsync command:
$ rsync -avz -e "ssh -i ~/.ssh/backup-key" /backup
stewart at name.of.remote.server:/backup
This runs, connects using keys asking for no password and completes
successfully until I add the above command to my authorized_keys file on
the remote box:
command="rsync -avz -e "ssh -i ~/.ssh/bac...
2001 Nov 20
3
modules madness / ssh regardless of daemon
.../var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[auth]
path = /var/www/auth
comment = apache authentication files.
read only = yes
Then for a test, I fired up /usr/local/bin/rsync --daemon on the
remote machine.
On the local machine, I did:
% rsync -avz -e ssh defiance:auth /var/www/auth
root@defiance's password:
receiving file list ... link_stat auth : No such file or directory
done
client: nothing to do
FYI, /var/www/auth on the remote machine _does_ exist.
So that obviously didn't work, but then I did this:
% rsync -avz -e ssh defian...
2003 Aug 13
1
Rsync Folder level Synchronizing Problem
...synchronizing two development work areas(geographically
seperated).
My Task: To copy abc/USER/xyz/123/456/..... to indiavidual developers remote
machines atrting from xyz folder.
here USER will vary, so for that i have created module till directory
structure abc
and the command runs like
rsync -avz --times vangrish@ruskin::MODULE/%USERNAME%
<mailto:vangrish@ruskin::MODULE/%USERNAME%> .
the above mentioned command works fine, but it copies the username folder
also, where as my requirement is from xyz folder, as then another process
runs on the resulted folder.
i tried:
rsync -avz --tim...
2008 Nov 26
2
rsync command exclude option
Hi
I do rsync -avz oldUnicelFiles hostB:/home/kaushal
--exclude-from=exclude.txt
but it rsynced the excluded files too
my exclude.txt file contains
####################
/home/kaushal/oldUnicelFiles/*.gz
/home/kaushal/oldUnicelFiles/*.txt
####################
Any ideas as what am i doing wrong
Thanks and Regards...
2008 Dec 16
6
logging mechanism in rsync
Hi Friends,
Does rsync V3 has the feature for logging the files which have not been
transferred? Its already logs the file which have been transfered.
Thanks,
Jignesh
-------------- next part --------------
HTML attachment scrubbed and removed
2009 Jun 29
2
include-from with different source points
.../usbbackup); here's what's in my include file:
+ /home/gravyface/www/*
+ /mnt/datadisk1/music/*
+ /mnt/datadisk2/projects/*
If I run the following, nothing happens, so I checked the man and I'm
not specifying a source (I thought the include-from was the source):
sudo rsync --progress -avz --include-from=/home/gravyface/backup.list
/mnt/usbbackup/localbackup/
I then tried the following, thinking "/" would be a common denominator
in the paths in my include list:
sudo rsync --progress -avz --include-from=/home/gravyface/backup.list
/ /mnt/usbbackup/localbackup/
...which the...
2003 Mar 28
2
Rsync error main.c
Rsync Ver: 2.5.5
OS: HPUX-11
Hello List,
I'm using rsync with ssh with this command line:
rsync -avz -e ssh some_file user-b@hostname-b:/home/user-b
Which does work, however I get the following error output:
rsync error: protocol incompatibility (code 2) at main.c(578)
Since the file does transfer, is the error output just some sort of bug? I
looked in the maillist archives, and I found only on...
2005 Oct 10
8
Help with sincronizing two directories on remote servers
...a newbie here.
we have two webservers, a and b, both of them with rsync
installed.
We would like to rsync one directory on one server with
another directpory on another server.
What I do is to go to one of the server (server a) as root
using ssh, navigate to the directory, and write
rsync -avz username@serverb:directory/ ./
But it does not work.
Am I doing something wrong?
Thanks in advance
--
symbulos - ethical services for your organisation
website www.symbulos.com
2012 Oct 17
2
Rsync - include only files containing matching string
...including *only* filenames that contain the matching string? I've
read the man page and googled around but can't seem to get the syntax
right. I either end up syncing all the files, or none of them.
Here's how the code looks now (I will remove the dry run once it is
working):
rsync -avz --dry-run --include=*$YESTERDAY* remotehost:remotedir/
localdir/transfer/
2002 Sep 06
3
Error on Solaris 9 (2.5.5)
...sabled in /etc/inetd.conf.
c). no rysnc is running as daemon.
d). kashmir and archer are on the same local segment behind a firewall
which has all outbound ports open.
Examples:
This is the error I get. I get this error for *any* rsync operation I
try from kashmir to vortac:
kashmir:~> rsync -avz -e ssh /web/aviate/53sf vortac:/usr1
mikec@vortac's password:
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
kashmir:~> ssh vortac ls -ld /usr1
mikec@vortac's password:
drwxrwxrwx 3 root root...
2013 May 15
3
exclude a pattern but only in the top level
...#39;t want to exclude /foo/bbb/aaa or /foo/ccc/111/aaa or
/foo/ccc/111/foo/aaa etc...
Destination is running rsync daemon and has a module named root that
points to "/" such that normally, for the full /foo with no exclude,
it's very simple, my rsync command would just be:
rsync -avz /foo ${DEST}::root
That works fine without the exclude.
So, to that I want to add a filter file. (Well, I assume that's what I want)
rsync -avz -f ". filter" /foo ${DEST}::root
If I construct a filter file like this:
- aaa
+ *
or like this
- aaa/
+ *
or like this
- foo/aaa/
+ *...
2009 Aug 03
1
the protect flag - P doesn't work with --relative option ?
...Basically, I want to preserve some of directories on destination side
conditionally and hence, I choose to use --filter option mentioned in rsync
man pages. I noticed that --filter option works as expected when I don't
have --relative option used but in below case it doesn't work.
rsync -avz --relative --delete --filter='H /mydir2' --exclude='-
/preserve' mydir1/. destHost:/tmp/mydir
I want to sync "/tmp/mydir/mydir1", delete "mydir2" and protect and hide
"preserve" directory on destination host.
I noticed that rsync doesn't delete...
2002 Feb 19
4
push data instead of pull
Hi,
I have a rsync server set up.
Can i push data from the server to another machine
instead of pulling data from that machine.
when i try to do that i get this error.
mkdir tohost:/tmp ; No such file or directory.
But the directory exists. This is the command i
executed.
rsync -avz --rsync-path=/usr/bin/rsync
fromhost::test tohost:/tmp
This works fine if iam logged onto "tohost" and pull
data i.e
rsync -avz --rsync-path=/usr/bin/rsync
fromhost::test /tmp
This works fine if i do it without the server
rsync -avz --rsync-path=/usr/bin/rsync
/disk1/tmp tohost:/tm...