Displaying 20 results from an estimated 4000 matches similar to: "Linux, rsync files excluding open/busy files"
2010 Jun 26
1
--recursive and -H
Hello,
I have a question regarding using the --recursive option when preserving hard link with -H. How is it, that these two options are compatible when used together? I would think that RSYNC would need to see all files/inodes before transferring, to preserve hard links. But yet it still starts transferring before reading the entire file list.
Don't get me wrong, this is excellent as
2009 Jun 21
1
Running filesystem backup?
Hi all. I currently have a problem. I try to make a backup of a running /
filesystem to a second disc. I've read tha some people use rsync for it. I
mount the second harddisc at /mnt/hdb1 and issue a command:
rsync -vaHx --progress --numeric-ids --delete \
--exclude-from=asylum_backup.excludes --delete-excluded \
/ /mnt/hdb1
Then I shutdown the system, remove the first disc and try
2005 Jun 23
2
hanging pxelinux.0 and menu.c32 on Dell 1850
Hello all.
I've got this weird problem. If I try to boot a simple menu using
syslinux's (v 3.09) pxelinux.0 and menu.c32 -files my Dell 1850 loses
the keyboard / hangs straight after loading menu.c32. The machine has to
be powered off completely.
I did some research and got it working by using menu.c32 v3.09 and
pxelinux.0 v3.07 -combo.
It seems that from version 3.08 on something has
2012 Jul 05
4
rsync based on checksum only
Is it possible to tell rsync *not* to use file names, date stamps, etc and
only use the checksum for deciding if a file is the same?
the remote machine "normalizes" a set of file names to remove all
punctuation marks and forces all file names to lower case. The files
themselves are unchanged.
--checksum looks promising but it does not say anything about file names:
-c, --checksum
2008 Oct 23
2
asking for root password
We are using rsync to pull backups created on our server.
The command below is run as a cronjob and it works great.
rsync -avu --rsh "ssh -l root" root@servername:/var/lib/mysql/backups/ /backups/mysql/
We have a new server that will replace the old server that rsync pulls backups from.
On the system that is running rsync, I switched the servername in the command above to the new
2007 Mar 24
1
extracting info from a minidump via winedbg
Hello Wine users!
I've got a minidump from a ("real") Windows user of our game and would like to
extract information from it using winedbg.
The information winedbg gives me by default, is this:
WineDbg starting on minidump on pid 068c
warzone2100.exe was running on #1 Intel ???-0.521 CPU on Windows XP (2600)
Register dump:
CS:001b SS:0023 DS:0023 ES:0023 FS:003b GS:0000
2008 Jan 25
2
rsync on multiple ports?
Hi all,
I need my rsync to listen on port 8090 as well as on the standard rsync port. Is this possible, and if so, how does one do this? Thanks!
Robert
-------------- next part --------------
HTML attachment scrubbed and removed
2008 Feb 11
1
backup via an intermediate drive
Hi,
I have a backup server running for a media company i work with that's
being moved offsite to a server house. Obviously I still want to run
the regular backups but the problem is that the outgoing connection
from the companies studio can not handle the amount of data that needs
to be transferred. Due to this the server housing company has
provided a service through which they
2009 May 22
1
rsync read block size
Hi All
We want to use rsync to backup a live Berkley db to a remote site. BDB
has a requirement that read has to be in the unit of db page size. So
wonder how could we make sure that rsync can follow that? If we need
to change the code, where we should begin to look at? Thanks!
Ming
2009 Jul 28
1
Possibly bug in rsync-3.0.6 when spaces are there in destination path
The below command works perfectly and it creates "test file" on destination
host.
rsync -avz /tmp/test\ file destination:/tmp/
sending incremental file list
test file
sent 91 bytes received 31 bytes 27.11 bytes/sec
total size is 0 speedup is 0.00
The below two command doesn't work. The rsync creates "test" file on
destination host in both of below cases.
1. I want to
2009 Dec 29
3
[Bug] having parentheses in filenames causes failure
Hi,
I don't know how to exactly describe the bug, but the following
test-case reproduces the bug in 3.0.6
mkdir rsync-test
cd rsync-test
mkdir -p "src/directory (name)"
touch "src/directory (name)/somefile"
mkdir dest
rsync --archive --dry-run --verbose "src/directory (name)/"
"$USER at 127.0.0.1:$PWD/dest/directory (name)"
The error is:
bash: -c:
2010 Jan 05
2
Ignoring parts of stat(2)
How do I make rsync ignore and not report or update certain parts
of the [l]stat(2) struct or checksum when selecting which items to
report or update in a hierarchy?
For example, I want to run:
rsync -Haxi --delete /hier1/ /hier2/
and have it NOT do anything if say ONLY the modtime differs.
Leaving out or in the --times [-t] option from the expansion of -a
to -rlptgoD obviously does not do this.
2010 Jun 17
2
feature request: lzma compresion (7zip)
Hello,
many linux SW is starting to implement new lzma compresson instrad of old zlib (gzip) od bzip2.
lzma is default comrpession in very good compression SW 7-zip, which is faster and have higher compression ratio then bzip2 or rar.
Currently its probalby the best compressor in therms of compression and decompression speed / compression ratio.
In linux there is GNU lzma SW which implements
2012 Aug 29
1
Destination file is larger than source file
We are using the standard -av switch. And both filesystems are the same -
UFS.
/opt/rsync/bin/rsync -av -e "ssh -l root" --delete
--exclude-from=/var/scripts/exclude
--password-file=/var/scripts/transfer.passwd <username>@<source
host>::<source dir>/ /<destination dir>
Source system
<source host>:<source dir># du -sh *
1K nohup.out
20G
2012 Sep 27
1
I found a buggie
Hello, people. Sorry but I found that when you do rsync to a not created
destination it makes a mkdir in order to accomplish the work. The problem
comes when there are some uncreated parents in the destination directories.
That's just because in the builtin mkdir isn't specified the -p option.
Thus, the problem is solved just adding the -p option to the built in mkdir
in the code you
2007 May 05
1
rsync --delete-existing needed
Hi,
I made the mistake of doing an rsync of a directory into the wrong
destination,
so that the destination became a mix of two directories of unrelated files.
Top unravel the mess, I could need something like a --delete-existing
option.
The semantics would be to delete at the destination ONLY those files that
exists at the
source.
I tried to concoct a combination of options that would do
2011 Sep 12
2
Ignoring /boot
Hi,
I have the following script that I'm writing to backup my gentoo linux
system.
----- start of script -----
#!/bin/sh
#
#
RSYNC_OPTS="--archive --one-file-system --perms --executability --progress
--stats --delete-after --hard-links --keep-dirlinks --verbose --inplace"
RSYNC_USER="bs"
RSYNC_SERVER="192.168.6.6"
RSYNC_MODULE="ben-desktop"
2009 Aug 16
1
Rsync completed successfully, but files are not identical
Hi All,
I came into a strange issue running rsync on directory with ~500,000 files.
Some of the file, although with same time stamps and size on source and destination, were different on the destination.
The destination is just a mirrored area, and the data written to it, is just the one that comes through rsync.
Needless to mentioned, that when I remove files and synced them again it works, or
2010 May 13
1
Sync different copies of a filesystem
I have 5 or 6 :-( different copies of a filesystem on various Linux
boxen, all backups taken at different times, with different exclusions,
and squirreled away. Now's the time to clean up my attic. I'd like to
merge them all into one big filesystem. When there are different copies
of the same files, I'd like to keep the newest; I don't know what else
to do. My plan (assuming
2009 Jul 14
3
--delete-before doesn't seem to actually be deleting before transfer
I have a script transferring some backup files onto a USB stick, which
has limited space. I use rsync 3.0.5 with the following command:
rsync -av --delete-before /local/backups/dir/backup1_todaysdate
/local/backups/dir/backup2_todaysdate
/local/backups/dir/backup3_todaysdate /USBstick/backups/dir
The USB stick runs out of space if more than 1 backup set is put on it,
so I'd assumed that by