similar to: --delete-excluded not working on local rsync

Displaying 20 results from an estimated 10000 matches similar to: "--delete-excluded not working on local rsync"

2003 Apr 23
1
trying to get incremental backups working
So I'm trying to write up a short script to do some backups over rsync. The goal is to have multiple client machines push the backups to the backup server nightly. The backup server will have a complete copy of the selected directories as well as revisions for the last 7 days. Here is the brief script I have. Btw if you're wondering about all the variables, I eventually want to set it to
2003 Jul 30
1
Basic doubts
Hi all, I am very new to the rsync world (as well as the linux world) and have some really basic doubts. Please bear with me. I installed RH 9 on two systems in the same network and Rsync 2.5.5 was automatically installed with it. When I executed the command “rsync –avz test.txt /backupdir/ ”, it backed up the file test.txt into backupdir/test.txt. But when I tried the command “rsync
2003 Mar 07
3
Questions about exclude-file
Is there anyway to keep rsync from reporting an error when attempting to sync pagefile.sys (through a samba share)? It seems like any type of exclusion of the file gets ignored, why is that? Anyway around it? Also, of experimented with the exclude-from syntax quite a bit and haven't figure out how you could just backup all .doc files on a file system and exclude everything else. Thanks - Max
2003 Aug 14
1
Incremental Backup
Hi folks, What is the purpose of following statements? [ -d $HOME/emptydir ] || mkdir $HOME/emptydir rsync --delete -a $HOME/emptydir/ $BSERVER::$USER/$BACKUPDIR/ Expecting reply. Baskar
2003 Feb 18
2
Include files though directory excluded
Hi, I got a little question on the rsync-option include/exclude: I excluded all hidden files in my home-directory but I want two files to be included. I used following command: gregor@notebook:~> rsync -avzuPn -e ssh --exclude=.* --exclude=* --include=.kderc --include=.gaimrc /home/gregor/ 192.168.0.1:/home/gregor/ building file list ... 1 file to consider wrote 69 bytes read 20 bytes
2003 Aug 03
3
Include-from ?
Hello - I just finished doing a search of the archives and couldn't seem to get this answered. Example, I have a root directory containing the following directories: /Test1 /Test2 /Test3 I want to rsync only /Test2 and all subdirs under. So my include-from file looks like: + Test2/* - /* This doesn't work as nothing is synced, and if I do a -vv it tells me that nothing is being
2003 Jul 29
2
Logging problem
Hi, I'm using rsync version 2.5.5 on OpenBSD 3.3 to backup the users /home directory over the Internet. It's started by a cron job every night. For logging I've add the -vv parameter and redirect the output to a logfile. Like this: rsync -vv --stats --archive --delete --backup --backup-dir=/home/backupdir --compress --rsh 'ssh -2 -i keyfile.key' /home
2003 Jun 25
1
delete exclusion
Is it possible to use rsync to mirror a group of files, deleteing most files from the mirror when they disappear from the source, but not deleting a certain set of files that match a pattern if they disappear from the source? Thanks. Greg Brauer greg@wildbrain.com
2003 Aug 20
1
including file from excluded directory
I'm trying to explicitly include a file that exists under a directory that I otherwise want excluded. Here are my command and include list: rsync -e ssh -Cavz --delete --update \ --include-from=$HOME/.rsync.laptop . $DEST: where $DEST contains the remote machine name and this is being run from the top of my home directory. My include list is: + /.addressbook + /.ICAClient +
2002 Dec 10
2
include-exclude patterns
Hi, I just subscribe to ask you a question about patterns in exclude-include files. I just want some folders to be rsynced to a remote machine. What I tried is : IncludeFile ------------------------- /etc/ /var/lib/zope/ - /* ----------------------- result of $$ rsync -avvrn --delete --delete-excluded --include-from=/backup-include -e ssh / /backup is expand file_list to 4000 bytes, did move
2008 Jun 23
1
fully-qualified symlinks & --exclude question
Greetings! I've ran into a couple difficulties for a particular rsync use-case I'm involved in implementing - hoping someone here might be able to clue me in! I've got an existing linux box, with a particular directory that needs to be mirrored onto another server, into a different base path on that server - i.e.: server1:/var/lib/bar/ to server2:/backupdir/var/lib/bar/ Now,
2003 May 06
2
Recursive ssh
Hi all, I want to copy files from a remote server to a local directory with ssh. I've some difficulties with that because on the Remoteserver I have a directory "/www/ftp" with a lot of subdirectories with each of them 4 other subdirectories. I want to sync only */data/* to the local machine without */images/* or */doc/* or */movies/* Any solution would be appreciated. regardsMac
2002 Nov 04
4
making --exclude-from=- read from stdin
--- exclude.c.org 2002-11-04 04:17:05.000000000 +0100 +++ exclude.c 2002-11-04 04:21:13.000000000 +0100 @@ -219,8 +219,15 @@ int fatal, int include) { struct exclude_struct **list=list1; - FILE *f = fopen(fname,"r"); + FILE *f; char line[MAXPATHLEN]; + + if( fname[0]=='-' &&
2004 Sep 23
1
rsync script from homepage: trouble
Hello, I'm new to this and am trying to modify the "backup to a central backup server with 7 day incremental" script from http://samba.anu.edu.au/rsync/examples.html to suit my situation. I have ended up with the script attached below and when running it from command line I get these errors: rsync error: syntax or usage error (code 1) at main.c(726) and a plethora of this >
2003 Mar 03
1
excluding patterns from the --delete option?
Please could someone tell me if it is possible to specify in a single rsync command that the --delete option should apply to all files except those matching a certain pattern? I want to do a -a archive, except that a few directories should not have --delete applied. Do I need to use two rsync commands to achieve this? Thanks in advance for any help! ___ Mason Lee Berkeley, CA
2016 Feb 04
2
Is there a parameter in rsync to clean $BACKUPDIR before writing to it (--backup-dir=$BACKUPDIR)?
Hi, I am runing rsync --backup --backup-dir=$BACKUPDIR where the BACKUPDIR=$(date +%d) to recycle the $BACKUPDIR in a month. But rsync does not clean the $BACKUPDIR before writing to it in cycling. I guess you have to clean it manually before the rsync can write to it. As my $BACKUPDIR is in remote machine, do you have to run ssh to delete it first before calling rsync in a script? Or if there
2006 Dec 06
2
May I merge several increment backups to one?
Hi all, I have the following situation: Backup /mysource to /backupdir, /backupdir/full ---------an old full backup /backupdir/back2 -------previous increment backup(based on the full backup mentioned above) /backupdir/back1 ------most recent increment backup (based on the two backups mentioned above) How can I merge the two increment backups into one directory,say
2009 Jun 12
1
--compare-dest= dir list ?
Hi, I would like to compare a backup dir with a directory list in --compare-dest= but I don't know how to specify this list. If a have only one dir it's ok, but if I have 2 or more dir I have an error ? Here is my script: #!/bin/bash SSH_USER= SSH_HOST= TOBCK=/ EXCLUDES=/root/bckscript/ns200176/excludes LOG=/root/bckscript/ns200176/rsync_$(date +'%Y-%m-%d_%H.%M.S').log
2016 Feb 04
1
Is there a parameter in rsync to clean $BACKUPDIR before writing to it (--backup-dir=$BACKUPDIR)?
Hi Kevin, Thank you very much for the response. Actually, I don't think I need to clean the backup dir defined in --backup-dir=<backup dir>, when the contents has already been deleted in the destination (no exist), it will delete from the backup dir as well in next cycle, correct? Regards, - j On Thu, Feb 4, 2016 at 12:39 PM, Kevin Korb <kmk at sanitarium.net> wrote: >
2005 Jan 27
5
iax.cc / sixtel are they legitimate?
Does anyone have any experience with iax.cc/sixtel? Are they a legitimate company? From their website it looks like you can get a private incoming 800 number for 30 cents/month plus 2 cents/minute. Somehow that pricing seems a little cheap for a DID number. I assume there has to be some minimum usage or something. Any info as far as actual costs and/or voice quality would be appreciated.