Displaying 20 results from an estimated 4000 matches similar to: "backup via an intermediate drive"
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
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
2008 Feb 11
5
Need ideas for project
Hey everyone,
I am a final semester MCA student. I've chosen rsync as the subject of my
project for my graduation. Hence I would appreciate it if someone could
guide me with some ideas on how I can contribute to rsync. I will work hard
to implement whatever suggestions that you can all give me.
I would definitely like to know what are some of the issues concerning
rsync. May be I can then
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
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
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
2010 Jul 14
1
Linux, rsync files excluding open/busy files
Hi,
I read many posts about this, faq, googled, and finally got to write here.
The scenario/question is this:
I want to transfer files from Server B -> Server C
the problem is that, files that are to be transfered may be open/busy,
meaing they are "not still complete, " or they are open while rsync is
run.
Is there a way to automatically handle these open files using rsync ,
rsync
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 02
2
rsync transfer rates over ssh
This is just an inquiry about how rsync calculates its transfer speeds.
I'm using rsync over ssh to pull data from our central office to another
office. Our central office is connected to the internet via T1 and the
other office is connected to the internet via DSL. rsync is being run at
the remote office to pull data down from the central office so I expect
to see transfer speeds at a
2009 Oct 27
3
Optional filter files
Is it possible to call rsync and tell it to use a filter file if it
exists, but otherwise continue without errors?
If I pass "--filter=. .rsync-filter", it will fail if .rsync-filter
doesn't exist.
I know you can pass "--filter=: /.rsync-filter" to search for filter
files in each directory. That won't fail if there aren't any such
files. But I'm only