search for: avzp

Displaying 20 results from an estimated 22 matches for "avzp".

Did you mean: avp
2015 Jun 09
3
exclude directory from rsync
hey guys, I'm trying to do an rsync of the entire /var directory, but exclude just the /var/www directory. So far I've tried these approaches: rsync -avzp --exclude-from=/var/www /var/ /mnt/var/ rsync -avzp --exclude=/var/www /var/ /mnt/var/ But neither has worked. Can I get a suggestion on how to get this to happen? Thanks, Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
2015 Jun 09
0
exclude directory from rsync
On 06/08/2015 10:12 PM, Tim Dunphy wrote: > I'm trying to do an rsync of the entire /var directory, but exclude just > the /var/www directory. ... > rsync -avzp --exclude-from=/var/www /var/ /mnt/var/ --exclude-from takes a filename as an argument. That filename is expected to contain a list of patterns to exclude. > rsync -avzp --exclude=/var/www /var/ /mnt/var/ If your exclude pattern begins with '/', then it matches a filename immediate...
2002 Apr 16
1
-P option fails
Hi, It seems rsync no longer resumes partial transfers after a SIGINT (CTRL-C). I tried the following: % rsync -avzP ~/video/Gone_In_60_Seconds_-_DivX.avi 192.168.0.3:/backup/DivX building file list ... 1 files to consider Gone_In_60_Seconds_-_DivX.avi 262144 0% 10.34kB/s 19:40:22 [CTRL-C] [testing remote size] % rsync -avzP 192.168.0.3:/backup/DivX/Gone_In_60_Seconds_-_DivX.avi receiving file list...
2003 Feb 24
1
many small files bug
...piled rsync on a tru64, it needed a little cosmetics), but it throws me this error (rsync 2.5.5 on both machines): 779300 files...rsync: error writing 4092 unbuffered bytes - exiting: Broken pipe rsync error: error in rsync protocol data stream (code 12) at io.c(463) The command line was: rsync -avzP -e ssh --delete /usr/lib/sympa/spool doome@akela:/backup/lists/sympa//usr/lib/sympa/spool I tried to workaround excluding /usr/lib/sympa/spool/arc/* (the place of the web archives with many files), and rsyncing it spearately, but it seems, the --exclude option is only used at transferring, and not...
2020 Jul 15
3
Deprecation of scp protocol and improving sftp client
On Wed, 15 Jul 2020, Red Cricket wrote: > I have had this in my .bashrc for years: > > alias scp='rsync -avzP' Similar, though I named it rcp because nobody has the real rcp installed any more, but sometimes I need scp to connect to systems that lack rsync. https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=shellsnippets/shellsnippets.git;a=blob;f=mksh/rcp;hb=HEAD > maybe rsync is a better r...
2009 Dec 31
1
restoring using rysnc
Hi, My backup server (B) has a /backup/home and I'd like to restore /backup/home/userX to /home/userX in my server A I am trying to do with in the server where I want to restore. rsync -e ssh -avzp -R --exclude "*.journal" backup_server:/backup/home/userX/ /home/userX But it is creating a /home/userX/backup/home/userX What am I doing wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091...
2002 Jan 28
1
Write failed flushing stdout buffer.
3 100% 0.00kB/s 0:00:00 wrote 30496 bytes read 327051 bytes 14593.76 bytes/sec total size is 419896352 speedup is 1174.38 Write failed flushing stdout buffer. write stdout: Broken pipe time /usr/local/bin/rsync -avzP host: /bkup-zone --delete this is the command which is being run, and I get the above error message everytime. The phenomenon doesn't happen when just copying certain directories, but only when I do the full backup (size approx 126M). rsync version 2.5.1 protocol version 25 help appriciate...
2008 Jun 03
8
How to move a samba PDC to a diffrent box
Hello List, i have got a samba pdc running based on the smbldap tools and Debian Sarge. Now we would like to move everything over to Ubuntu Hardy. Can i simply: - Create the same users and groups with the same id on Hardy - Move the files and profiles over by keeping their permissions (rsync -avzp ...) - Set the samba SID to be the old orginial one (i do not know how this could be done and if it even works) Will i then simply be able to log back in with my Windows clients? Is there a HowTo explaining this scenario? Thanks, Mario
2020 Aug 01
2
Deprecation of scp protocol and improving sftp client
...s, > > Ethan > >> On Wed, Jul 15, 2020 at 7:47 AM Thorsten Glaser <t.glaser at tarent.de> wrote: >> >>> On Wed, 15 Jul 2020, Red Cricket wrote: >>> >>> I have had this in my .bashrc for years: >>> >>> alias scp='rsync -avzP' >> >> Similar, though I named it rcp because nobody has the real rcp installed >> any more, but sometimes I need scp to connect to systems that lack rsync. >> >> >> https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=shellsnippets/shellsnippets.git;a=...
2006 Aug 16
2
DO NOT REPLY [Bug 4023] New: Rsync does not copy files recursively when using ssh public key authorization and the files-from option
...signedTo: wayned@samba.org ReportedBy: swhitehouse@novell.com QAContact: rsync-qa@samba.org Setting up rsync to copy files remotely using ssh and a list of files using the files-from option works fine until adding public key authentication instead of requiring a password. rsync -avzP --files-from=$RSYNCVAR --delete --ignore-errors -e "ssh -i /home/user/.ssh/id_rsa" user@host.domain.com:/srv/www/htdocs/gwcode/files/rsync/ /opt/novell/groupwise/mail/code The file containing the list points has two directories and a list of four files in it. The files at the root of the...
2014 Oct 19
3
rsync question: building list taking forever
...shfs. The directory I'm trying to rsync from has 111GB of data in it. I don't think I've ever setup an rsync for quite so much data before. But I started the rsync at approx. 7pm last night. And as of now the rsync is still building it's file list. [root at sshproxygw ~]# rsync -avzp /mnt/db_space/timd/www1/ /mnt/db_space/timd/www2/svn2/ building file list ... So my question to you is, is this a normal amount of time to wait for the file list to be built? Considering the amount of data involved. I have it running in a screen session I can attach to to find out what's going...
2002 Aug 20
1
Files Loosing Ownership after rsync
...er (a) and sserver (b). The data from servers a & b is rsynce'd to my third machine (c). I have implemented ssh. The process is going fine. The data is being sysnced regularly. the syntax i am using is "/usr/bin/rsync --stats --partial --progress --config=/etc/rsyncd.conf -essh -avzp 123.456.11.22:/home/source /backup/dest" ONly hitch is when ever the data is reaching server (c).. all the files are losing their ownership. The file permissions (rwx) is ok. But only the ownership is failing. ON servers (a) and (b) there are various users and they are different on a...
2008 Aug 15
6
Rsync of LVM Snapshots copies whole file
...he scenario: Each night I create LVM snapshot of my volume which contains some virtual disk images (VirtualBox VDIs). Then I rsync the content of one of the snapshot directories to a backup server. Each file size is between 1.3 GB and 6GB. I run the following commmand: sudo -u rsyncbackup rsync -avzP --exclude-from /home/rsyncbackup/excludefile -e ssh "192.168.0.3:/mnt/vdi_snapshot/VDI/mit_backup" "/mnt/crypteddevice/linuxX2/mit_backup" The source directory is part of the LVM snapshot. The destination directory is a truecrypt device which is already mounted. What I would...
2020 Jul 15
2
Deprecation of scp protocol and improving sftp client
On Tue, 2020-06-23 at 08:06 +0200, Markus Friedl wrote: > I had something in mind like this for years, but with slightly > different steps: > My naive approach would be to keep the scp user interface and switch > to the sftp protocol internally. We could add a -M [scp|sftp] option > to scp and select the internal protocol. Later we switch the default > from scp to sftp. > No
2010 Oct 18
0
xen backup script
...bash for i in `virsh list | grep -v -e Id -e --- -e "Domain-0"| awk '{print $1}'`; do echo "shutting down $i"; sleep 2; virsh shutdown $i; sleep 2; echo "domain $i is shutdown"; echo; echo; \ for i in *; do echo "copying $i to nas"; sleep 2; rsync -avzp /mnt/store/xen/$i /mnt/nas/xen; sleep 2; echo "$i has been copied to nas"; echo; echo; done ssh sum2 'for i in `virsh list | grep -v -e Id -e --- -e "Domain-0"| awk '{print \$1}'`; do echo "shutting down $i"; sleep 2; virsh shutdown $i; sleep 2; echo &quot...
2004 May 13
0
2.6.2 transferring common data
...the destination has a lot of stuff which is to be discarded but does contain all of the data in the source except for about 50M. This should have been a quick transfer, even though I'm doing it over a slow link with a bwlimit=10 - especially with -z for gzipping the delta data too. ie. rsync -avzP --bwlimit=10 sourcefile.tar machine: It started off well, immediatly reconciling 30M at the destination in seconds. It then slowed down and started just transferring raw data. 8 hours later I came back and it was still only on 10% - about 350M. I say raw data, but the speed indicator was sometim...
2006 Mar 17
1
Multiplexing overflow
Hi, List! I have a problem with rsync. I was trying to synchronize directory trees on 2 servers and got following error: multiplexing overflow 101:7104843 [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(809) Complete rsync's output: > /usr/local/bin/rsync -avzp user@host:remote_path local_path receiving file list ... done ./ DelphiStudio7.rar readme.koi8.txt readme.txt .ssh/ backup/ ssl/ ssl/data/ ssl/htdocs/ www/ www/data/ www/htdocs/ www/htdocs/.htaccess www/htdocs/DelphiStudio7.rar multiplexing overflow 101:7104843 [receiver] rsync error: error in rsyn...
2014 Dec 01
2
[Bug 10977] New: Rsync path spoofing attack vulnerability (rsync 3.1.1 tested)
...version rsync(3.1.1),directly modify the file path into absolute path is not hijack succeed due to the security checks,but using symbolic links still can bypass security checks and spoofing client.When a client uses parameter -a to synchronize files of the server-side(default),for example: rsync -avzP 127.0.0.1::share /tmp/share Rsync recursive synchronous all files,An attacker can hijack the file path by modifying the code of the server-side,allows remote servers to write to arbitrary files, and consequently execute arbitrary code . Vulnerability Details : Firstly,i write a follow...
2014 Nov 14
6
[Bug 10936] New: Rsync path hijacking attack vulnerability
...umentation) Hi all: In newest version rsync,Baidu Security Team found a vulnerability which is similar to wget ftp CVE-2014-4877 (http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-4877).When a clientuses parameter -a to synchronize files of the server-side(default), for example: rsync -avzP 127.0.0.1::share /tmp/share Rsync recursive synchronous all files,An attacker can hijack the file path by modifying the code of the server-side,allows remote servers to write to arbitrary files, and consequently execute arbitrary code . Vulnerability Details : First I shared in the Rsync fo...
2007 Dec 11
0
Problem with rsync over ssh
...le = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid hosts allow = 217.24.xx.xxx/255.255.255.248 [backup] path = /home/copy50/backup read only = false list = false I run the following command on the clients's side as user copy50 =========================================== rsync -avzP --exclude-from rsyncexclude -e "ssh -l copy50" /home/copy50/backup 62.75.xx.xxx:/home/copy50/backup This is the output =========================================== $ ./rsync50.sh building file list ... 4 files to consider rsync: connection unexpectedly closed (8 bytes received so far...