Displaying 15 results from an estimated 15 matches for "rsync_opt".
Did you mean:
rsync_opts
2003 Feb 27
1
Problems with rsync -e ssh
I'm doing the following from a linux box to a solaris box:
rsync_options="-aPvrz --progress --stats --delete --delete-after"
rsync $rsync_options -e ssh root@207.156.7.100:/usr2/docs/ /export/export/www/current/www
rsync $rsync_options -e ssh root@207.156.7.100:/usr2/was/ /export/export/www/current/www
rsync $rsync_options -e ssh root@207.156.7.100:/usr2/s...
2008 Apr 04
2
scripting rsync ssh port issue
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 3088 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20080404/a87f68ba/attachment.gif
2003 Oct 22
1
Feature Request - Recursive Rsync Parameter - Example Script
...g is order dependent."
exit 1
fi
# Some debugging help, fifth parm will echo args
if [ -n "$5" -a "$5" = "args" ]
then
for arg in "$@"
do
echo "Arg #$index = $arg"
done
fi
# Assign parameters to some variables.
r_level=$1
rsync_options=$2
source_path_parm=$3
dest_path_parm=$4
rsync_no_r_options=`echo $rsync_options | sed -e "s/r//" | sed -e "s/a/lptgoD/"`
# Let's support the rsync test mode.
test_run=`echo $rsync_options | grep n`
# We need to decide if the source is a remote host
# Parse out the &...
2004 Mar 24
1
rsync --files-from with symlink in path
...nc(This is condinced version of
the main script that runs):
#!/usr/local/bin/bash
SSH=/usr/local/bin/ssh
RSYNC=/usr/local/bin/rsync
SED=/usr/bin/sed
USER=vmladmin
ROLLLISTDIR=/home/vmladmin/rolllists/
ROLLFILE=${ROLLLISTDIR}rollfile.${CELERITYID}
EXCLUDEFILE=${ROLLLISTDIR}rollfile.exclude
RSYNC_OPT="-zrc --delete"
EXCLUDE="--exclude-from=${EXCLUDEFILE}"
BACKUP="--backup-dir=/opt/staging/rollbackup/${CELERITYID}-`date
+%Y%m%d%H%M`"
rsyncfiles ()
{
SERVER=${1}
SRCDIR=${2}
DESTDIR=${3}
for FILES in `cat ${ROLLFILE} | sed 's~ $~~g' | tr " &q...
2007 Jul 06
1
quiet option doesnt seem to work
Guys im running Rsync 2.6.8 on Solaris. I use the following options :-
RSYNC_BIN="/usr/local/bin/rsync"
RSYNC_OPTS=" -PaRz --quiet --stats --delete --delete-excluded
--copy-unsafe-links --numeric-ids"
RSYNC="${RSYNC_BIN} ${RSYNC_OPTS}"
Its part of a script see.
Now everything works but in my log file im getting each file which is
transferred listed and i didnt want that to occur. Im sure...
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"
RSYNC_PATH="/"
RSYNC_EXCLUDES="--exc...
2018 Aug 07
3
Best practices for backing up small mailserver to remote location
My webserver also houses our mailserver. There's about six users on that
mail system and I'm thinking it would be good to back up the mailboxes to
my always on HTPC computer at home, which is reachable via a dynamic IP
service.
I know (or think) I need to use doveadm-backup for this but rather than
reinvent the wheel (or use the wrong wheel altogether) I'm wondering if
anyone can
2018 Mar 19
4
rsync time machine backup permissions
...;t create group and other permissions.
I use rsync 3.1.3.
Did I use the correct parameters? Who has an idea, what mistake?
Thanks!
Best, André
--
The bash script:
#!/bin/bash
source=/Volumes/LaCie\ d2\ Quadra\ v3/Backups.backupdb
destination=/Volumes/G-DRIVE\ Thunderbolt\ 3
#rsync_test=-n
rsync_opt=-aHEAXXN
echo "Kopiere Time Machine Backup ..."
echo
sudo /usr/local/bin/rsync \
$rsync_test $rsync_opt --fileflags --fake-super --delete --stats \
--log-file=/Users/andre/Desktop/log/rsync-$(date "+%Y%m%d%H%M").log \
"$source" "$destination"
exit 0
--
T...
2018 Aug 09
2
Best practices for backing up small mailserver to remote location
...ons. The --one-file-system prevents rsync from
trying to back up /dev, /proc, and /sys. The --delete option will remove
local files that were deleted on the remote server. Use that set of
options once you're happy that the backup is working right.
#!/bin/sh
#set -e
set -x
#DRYRUN=--dry-run
#RSYNC_OPTIONS="$DRYRUN --one-file-system -avH --delete"
RSYNC_OPTIONS="$DRYRUN --one-file-system -avH"
DEST=/home/rsync/Server1
# Allow one hour so we don't burn up our bandwidth allowance
# from a command error
time timeout 1h \
rsync -e 'ssh -C -p 1234' $RSYNC_OPTIONS exam...
2007 Jun 06
2
omit /etc/issue message when running rsync
Is there a way to omit the text printed out by issue(5) on some
systemes? Like what --no-motd does for motd-texts.
2008 Apr 15
1
rsync man page
Hi there.
Someone might want to notice that - compared to the official rsync man page - this page has a lot more information about each option, when to use and what to expect:
http://www.ss64.com/bash/rsync_options.html
Thanks
Hiran Chaudhuri
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
2007 Feb 16
1
Destination directory creation
...ile on the remote
server. I then loop these lines and do an rsync for each item to pull
the files back to my local machine.
The rsync syntax im using is this (there is much more in the script im
just pulling out important bits) :-
RSYNC_BIN=$(/usr/bin/which rsync)
# May want to drop the v verbose
RSYNC_OPTS=" -Pvprtlz --delete --delete-excluded --copy-unsafe-links
--numeric-ids"
RSYNC="${RSYNC_BIN} ${RSYNC_OPTS}"
# Ok here is the Rsync loop
for RLIST in ${remote_get_list}
do
# Going to put a safety test here in case / is file list...
2008 Sep 13
1
tricky rsync setup quit working
Hi,
some time ago I had started working on a rsync-based backup system.
After I longer break; I now tried to continue this project but can't
get it to work anymore. Maybe somebody here has any idea. The basic
setup looks like this:
client:
$rsync $rsync_opts --rsh="'ssh -i $ssh_key'" $filesystems $bak_host::backup_module/path
on the server side, the ssh key triggered a shell script that generated
a configuration like
[backup_module]
path=/some/path
use chroot=1
...
and eventually invoked rsync with the command line:
rsync --daemon...
2014 Nov 21
4
[Bug 10951] New: Emtpy parameter triggers unwanted behavior, but no error message
https://bugzilla.samba.org/show_bug.cgi?id=10951
Bug ID: 10951
Summary: Emtpy parameter triggers unwanted behavior, but no
error message
Product: rsync
Version: 3.1.0
Hardware: x64
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: core
Assignee:
2004 Aug 10
2
out of memory in receive_file_entry rsync-2.6.2
...le count greater than 2mil, recursing into subdirs."
for file in `ssh root@$srchost "ls $srcdir"`
do
dstpath=`echo $2/$file`
DC $1/$file $dstpath
done
else
rsync $rsync_opts $1 $2
fi
}
</snip>
Comments? Better ideas?
--
James Bagley | CDI Innovantage
jabagley@cvs.agilent.com | Technical Computing UNIX Admin Support
DON'T PANIC | Agilent Technologies IT
--