Displaying 20 results from an estimated 68 matches for "avh".
Did you mean:
ah
2010 Jun 04
2
Backup to NTFS USB drive --compare-dest not working
...hare/USBDisk2/TMP/NtfsFullBackupDir/
NtfsIncBackupDir -> /share/USBDisk2/TMP/NtfsIncBackupDir/
Following commands work as expected, the files are copied from the source
directory only to the "full backup" directories and not to the "inc backup"
directories:
[~/test] # rsync -avh --delete SourceDir/ FullBackupDir/
[~/test] # rsync -avh --compare-dest=/root/test/FullBackupDir SourceDir/
IncBackupDir/
But for some reason following commands have different results: nothing is
copied to IncBackupDir (absolutely correct behaviour!) however all files are
copied from SourceDir to...
2015 Apr 28
2
Options for a "I'm done" flag file
...el Johnson - MJ <mj at revmj.com> wrote:
> rsync -av /src/ /dst/ && touch /dst/done
Aaaaahhhh, knew I'd miss some detail.
All the syncs are pushed to the backup server.
But that does give me an idea. I guess I could do that on the source, then sync the flag file over.
rsync -avH ${other_gubbins} / user at remote.machine:/dest/ &&
touch /etc/donefile &&
rsync -av ${some_other_gubbins} /etc/donefile user at remote.machine:/dest/
That (or some variation of it) could work.
2019 Apr 03
1
Possible not expected behaviour with "delete" option
Hi, I was trying to make a mirror backup of a folder in my machine with the
following command:
rsync -avh --delete /source/ /destination
But the extra files that where on "destination" didn't got deleted. Where
as doing:
rsync -avh --delete /source/ /destination/
worked as expected.
I wonder if this is correct, or it shouldn't be like that.
-------------- next part --------------
An...
2003 Dec 17
1
TODO hardlink reporting problem - fixed?
...29 Mar 25 17:30 a5
> 2568311 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b1
> 2568311 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b2
> 2568311 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b3
> mbp/2 build$ rm -r /tmp/b && ./rsync -avH /tmp/a/ /tmp/b
> building file list ... done
> created directory /tmp/b
> ./
> a1
> a4
> a2 => a1
> a3 => a2
> wrote 350 bytes read 52 bytes 804.00 bytes/sec
> total size is 232 speedup is 0.58
> mbp/2 build$ rm -r /tmp/b
> mbp/2 build...
2009 Dec 24
2
Include and Exclude
I thought this command would do what I wanted, but instead it doesn't transfer any files:
rsync -avh --stats --password-file=/var/rsync.passwd --include=Maildir/ --exclude=* mail::root/usr/home /backup/usr/
I want to backup ONLY the /usr/home/*/Maildir directories. I don't want any other files from any other directories to be transferred.
I can see in the man page where this is a problem:...
2014 Apr 09
2
[Bug 10545] New: Rsync first time deletes files, second time it synchronates files with same name
...isk-20
Disk-20 is a 3 Tb Harddisk
It has a directory backup with 2 sub-dirs; one is daily, one is month.
Every first Monday of the month the fullbackup from Sunday is moved from daily
to month.
The backup is copied to another host with rsync.
I use the command:
su - rsync -c "/usr/bin/rsync -avh --delete --progress /var/disk/disk-20/
--exclude={lost+found} rsync:192.168.0.5:/var/disk-01 >/$logpath/rsync.log"
(disk-01 is a partition 2 of 146 Gb on a 200Gb Harddisk; partition 1 is Debian)
I noticid that synchronizing on Monday was just a few minutes,
but on thuesday it took about 2...
2006 Jul 07
1
rsync: failed to hard-link error message
...h
"ignore permissions on the volume" turned off, so I have real unix
permissions on the disk. I'm running rsync as root on both ends, in order
to create all the permissions and user/groups structure etc.
To create the initial directory structure (works fine)
/Users/foo/bin/rsync -avH --numeric-ids --exclude=/proc --delete \ -e ssh
root@vanguard:/ backup.0
To create the hard-linked snapshot backup: (produces the error message)
/Users/foo/bin/rsync -avH --link-dest=/Volumes/backups/vanguard/backup.0 \
--numeric-ids --exclude=/proc --delete -e ssh root@vanguard:/ backup.new
T...
2005 Apr 23
1
--link-dest / --hard-links problem
...GNU
General Public Licence for details.
[rjaffey@shadow tmp]$ cat /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla)
[rjaffey@shadow tmp]$
[rjaffey@shadow tmp]$ mkdir from to-1 to-2
[rjaffey@shadow tmp]$ touch from/a
[rjaffey@shadow tmp]$ ln from/a from/b
[rjaffey@shadow tmp]$ rsync -avH from/ to-1/
building file list ... done
./
b
a => b
sent 168 bytes received 56 bytes 448.00 bytes/sec
total size is 0 speedup is 0.00
[rjaffey@shadow tmp]$ ls -l to-1
total 0
-rw-rw-r-- 2 rjaffey rjaffey 0 Apr 23 13:40 a
-rw-rw-r-- 2 rjaffey rjaffey 0 Apr 23 13:40 b...
2012 Apr 12
3
Rsync takes long time to finish
...lders for each date folder like folder2 which ultimately will contain the file. Files are not too big but just design of folder structure is complex. Folder structure design is done by application and we can't change it at the moment. I am using following command in cron to run rsync.
rsync -avh --delete --exclude-from 'ex_file.txt' /reports/ 10.10.10.100:/reports/ | tee /tmp/rsync_report.out >> /tmp/rsync_report.out.$today
Initially we were running it every 5 mins then we increased it to every 30 mins since one instance was not getting finished in 5 mins. Now we have made...
2004 Feb 10
3
rsync 2.6.1cvs dumps core when preserve_hard_links and backup
I tried rsync 2.6.1cvs on my FreeBSD 4.X boxes.
It dumps core when preserve_hard_links and backup.
And SUPPORT_HARD_LINKS is true.
rsync -avH --delete --backup --backup-dir=/some/backup/dir \
srchost::dir/ dir/
The core says...
------------------------------------------------------------------------
Program terminated with signal 11, Segmentation fault.
#0 0x80536c0 in keep_backup (fname=0x808f060 "rsync.core") at backup...
2008 Aug 31
5
DO NOT REPLY [Bug 5727] New: rsync crashes while copying large directory.
https://bugzilla.samba.org/show_bug.cgi?id=5727
Summary: rsync crashes while copying large directory.
Product: rsync
Version: 2.6.9
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: r.e.wolff@bitwizard.nl
2024 Oct 29
0
Possible bug that deletes all data in cwd except dst
...es sense now thanks for the information
On Tue, Oct 29, 2024, at 21:32, Robin Lee Powell wrote:
> --exclude takes an argument, so "--exclude --exclude ." means
> "exclude files named --exclude, followed by . as a bare argument".
>
> So this is equivalent to: rsync -avh src dst .
>
> IOW, you're copying src and dst to the current directory.
>
> So, no, not a bug. Although --exclude throwing a warning when its
> argument starts with - would perhaps be reasonable.
>
> On Tue, Oct 29, 2024 at 08:30:31PM +0200, Markus Niemi via rsync wrote...
2007 Jan 08
0
snom 190 (etc.?) dialscript for * debugging and kaddressbook
...meout of 3 secs for POTS or 15
secs for my mobile guaranteed that no voicebox would take over but I
heard a short ring when calls got through, to add a real life ringtone
to remote visual feedback from asterisk -rvvvvv.
httpsnom-dialtest
-------------------------
#!/bin/bash
# Created 070107 by AvH
# $1 is the extension to dial
if [ "$1" = "" ]
then echo enter number please ; exit
fi
# command for snom 190 phone, taken from
# http://80.237.155.31/kb/index.php?View=entry&CategoryID=21&EntryID=40
SOURCE="command.htm?number=$1"
# origin
EXT=2 # IP num...
2007 Mar 24
1
Timeout for conferences
...fect of checking whether there
is only one participant in the conference, and when this is the case, to
cancel the call after a predefined time (perhaps 5 or 10 mins. to allow
for some waiting for latecomers).
Has someone already written some code or a quick idea for this scenario?
Regards,
--AvH
2004 Jan 22
1
Moving linux server with rsync
Jw,
Thank you so much for your reply. The commandline:
rsync -avH --rsh=/usr/bin/ssh /www/kunder/web/ MYHOST:/www/kunder/web
Solved all of my problems, and I'm now much closer to completing a servermove. I however have one last question.
When enetring the above command, I'm asked to type the SSH password to start the transferr. Is there any way to includ...
2004 Jul 06
0
UID -1 and --link-dest problem
Hi,
I'm not sure if it's rsync or Cygwin problem, but most probably both..
Here is a short description:
I run rsync daemon on Windows machine (either latest cwRsync or Cygwin
versions) and synchronize a Windows directory to Linux server as root:
linux# rsync -avH --numeric-ids 10.0.0.1::test /export/test1/
receiving file list ... done
created directory /export/test1
./
43524353.upd
43534354.upd
<snip>
Directory is synced properly, but when I try to sync it again (nothing
has changed on Windows machine since previous sync) using --link-dest to
creat...
2005 Feb 25
1
Feature request: Being able specify that the destination should follow source directory structure.
Greetings.
If I do this:
rsync --hard-links
one.server.com::"module/somedir/images/redhat/3.0WS/en/os/i386
module/someotherdir/1.0/images/redhat/3.0WS/en/os/i386" /export/distros
I get:
/export/distros/i386/... and a conflict between the two sources.
I want for destination:
/export/distros/images/redhat/3.0WS/en/os/i386
/export/distros/1.0/images/redhat/3.0WS/en/os/i386
In other
2006 Dec 24
4
DO NOT REPLY [Bug 4310] New: Not correct transferring files
...Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: peter.schubnell@gmx.de
QAContact: rsync-qa@samba.org
I have a local harddisk (mounted as root /), which i want to copy to another
harddisk (mounted as /mnt/root1). If i start e.g.:
rsync -avH --delete --force /usr /mnt/root1
the contents of /usr and /mnt/root1 afterwards are NOT the same. But some other
directories ARE the same afterwards.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA cont...
2011 Feb 07
1
Incremental backup with only delta into a separate file.
...tion.
Used the config and ideas from:
http://www.mikerubel.org/computers/rsync_snapshots/
The commands executed on two machines in sequence
Machine 1:
root at Andruil:~# vim testfile
root at Andruil:~# ls -lh testfile
-rw-r--r-- 1 root root 71 2011-02-07 17:10 testfile
root at Andruil:~# rsync -avh testfile vxadmin at 192.168.155.151:/tmp --stats
--progress
vxadmin at 192.168.155.151's password:
sending incremental file list
testfile
71 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/1)
sent 147 bytes received 31 bytes 20.94 bytes/sec
total size is 71 speedup is 0.40
Machine...
2005 Jan 14
2
"connection unexpectedly closed" error
...0.0
secrets file = /etc/rsyncd.secrets
[validation]
path = /var/net/validation
uid = root
gid = root
read only = no
list = false
auth users = sync
From the client, also Fedora Core 2, also running 2.6.2-1 I'm doing the
following:
rsync -avH --delete-excluded --delete \
--password-file=/etc/rsyncval.pwd \
FOCUS sync@192.168.13.252::validation
The output is as follows:
building file list ... done
rsync: connection unexpectedly closed (69 bytes read so far)
rsync error: error in rsync protocol data stream (code 12)...