Displaying 5 results from an estimated 5 matches for "backup_host".
2008 Aug 13
1
no backup for excluded files?
Hi,
I use rsync 3.0.2 for daily incremental backups:
rsync -aAzHRxby -f '. -' --numeric-ids --delete-during --delete-excluded \
--suffix='' --backup-dir=$BACKUP_ROOT/$BACKUP_HOST/${TODAY} \
${DESTINATION}$BACKUP_ROOT/$BACKUP_HOST/current <<< $EXCLUDE_PATTERNS
Sometimes I add a new item to $EXCLUDE_PATTERNS but then the excluded
files are backed up in $BACKUP_ROOT/$BACKUP_HOST/$TODAY. Is there a way
to avoid that?
Thanks,
PS: the --suffix option is useless whe...
2002 Apr 11
1
why --delete dosen't work in my script?
...have --delete and --delete-excluded. Did I miss
anything obvious here?
rsync -azC
-e ssh
--relative
--one-file-system
--sparse
--numeric-ids
--vP
$IGNORE ## a long list of --exclude patterns
--delete
--delete-excluded
--bwlimit=0
--backup
--suffix=''
--backup-dir=$REMOTE_ROOT/$BACKUP_HOST/$TODAY
/{etc,home,var/lib,var/cvs,usr/local}
backup.host.com:$REMOTE_ROOT/$BACKUP_HOST/current
% rsync --version
rsync version 2.5.4 protocol version 26
Copyright (C) 1996-2002 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, s...
2004 Jun 15
1
strange rsync error message from our backup script
...c for incrmental backups in the following way:
rsync \
$EXCLUDE \
-e ssh \
--archive \
--numeric-ids \
--compress \
--relative \
--one-file-system \
--cvs-exclude \
--delete \
--delete-excluded \
--bwlimit=0 \
--backup \
--suffix='' \
--backup-dir=$BACKUP_ROOT/$BACKUP_HOST/${TODAY} \
$BACKUP_HOST_AND_PATH ${DESTINATION}$BACKUP_ROOT/$BACKUP_HOST/current
It used to work fine but since I've upgraded to 2.6.2 from 2.5.x I get
the following error messages:
make_bak_dir mkdir "/backup/naxos.premier-lnc.com/2004-06-09/home/ddegrolard/profile/Local Settings/App...
2002 Dec 16
1
--backup-dir : unrecognized option
...nc 2.3.1 and when I run it with the
option --backup-dir=<some_backup_dir>, I get an error message telling that
the option is unrecognized. I'm using the package from
www.sunfreeware.com
If I'm pushing the data:
# /usr/local/bin/rsync -azb --backup-dir=/tmp -e /bin/rsh --delete /home/
backup_host:/home
/usr/local/bin/rsync: unrecognized option `--backup-dir=/tmp'
..and If I'm pulling, I get the same:
# /usr/local/bin/rsync -b --backup-dir=/tmp -e /bin/rsh
file_host:/home13/user5 /home13/user5
/usr/local/bin/rsync: unrecognized option `--backup-dir=/tmp'
I've searched for s...
2020 Jun 09
1
Rsync sometimes decides to delete all data
...y.
Lately one of them misbehaves.
Server rsync: rsync version 3.1.2 protocol version 31
Client rsync: rsync version 3.1.3 protocol version 31
Command used:
rsync --numeric-ids --delete --delete-excluded --delete-after -f "merge
${BUFFER}" --stats -e "${SSH_CMD}" root@${BACKUP_HOST}:/ $BACKUPROOT/
Sometimes when I run this script from the server it just decides to
delete ALL files what it already have and sync is done.
I run it again couple of minutes after it syncs everything.
What can cause such a behavior? I can of course remove the delete
directives but then the loca...