Displaying 17 results from an estimated 17 matches for "rsync_exclud".
Did you mean:
rsync_exclude
2009 Jun 10
2
rsync excluded file syntax errors
I cannot figure out where I am going wrong with my excluded files
syntax! rsync backups up those folders I'm trying to exclude.
rsync -av --exclude-from=/etc/rsync_excluded.conf --delete
root@polaris::polhome /pol_home_bkup
cat /etc/rsync_excluded.conf
- /home/agokhale
- /home/anand
- /home/asalazar
etc.
These are all top level folders with the same names.
On the rsync server rsyncd.conf:
[snip]
[polhome]
path = /home
I'm stumped!
--
Rahul
2011 Sep 12
2
Ignoring /boot
...#!/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="--exclude=/usr/portage/distfiles --exclude=/tmp
--exclude=/var --exclude=/home --exclude=/root --exclude=/usr --exclude=/bin
--exclude=/opt --excl$
MOUNT_FOR_RSYNC="/boot"
mount ${MOUNT_FOR_RSYNC}
#ls -la /boot
rsync --dry-run ${RSYNC_OPTS} --rsync-path="sudo rsync"...
2003 Feb 16
1
rsync-exclude.patch.
...t;include;
}
}
diff -ru rsync-2.5.6/flist.c rsync-2.5.6J/flist.c
--- rsync-2.5.6/flist.c Sat Jan 18 11:00:23 2003
+++ rsync-2.5.6J/flist.c Thu Feb 13 09:59:40 2003
@@ -39,6 +39,7 @@
extern int always_checksum;
extern int cvs_exclude;
+extern const char *rsync_exclude;
extern int recurse;
@@ -62,6 +63,7 @@
extern int write_batch;
static struct exclude_struct **local_exclude_list;
+static struct exclude_struct **recur_local_exclude_list;
static struct file_struct null_file;
@@ -258,7 +260,8 @@
if ((f == -1) && delete_excluded) {
return...
2003 Jan 14
3
.rsync-/.rsync+ patch and --link-dest example
...ids --link-dest=previous /home nimbus:current"
diff -ru rsync-2.5.6cvs/flist.c rsync-2.5.6cvsJ/flist.c
--- rsync-2.5.6cvs/flist.c Tue Dec 24 00:42:04 2002
+++ rsync-2.5.6cvsJ/flist.c Sat Jan 11 03:47:14 2003
@@ -39,6 +39,7 @@
extern int always_checksum;
extern int cvs_exclude;
+extern int rsync_exclude;
extern int recurse;
@@ -64,6 +65,7 @@
static char topsrcname[MAXPATHLEN];
static struct exclude_struct **local_exclude_list;
+static struct exclude_struct **recur_local_exclude_list;
static struct file_struct null_file;
@@ -260,6 +262,9 @@
if (check_exclude(fname, local_exclude_li...
2011 Jan 20
5
DO NOT REPLY [Bug 7927] New: Rsync does not sync folders named "tags"
...portedBy: bugzilla at abruti.org
QAContact: rsync-qa at samba.org
All is in the subject.
An example below, on stable debian.
Regards,
Antony
[0]root at debian-lenny32:/tmp # tree
.
|-- a
| |-- file2
| |-- file3
| |-- logs
| | `-- log1
| `-- tags
| `-- file1
|-- b
`-- rsync_exclude.txt
4 directories, 5 files
[0]root at debian-lenny32:/tmp # cat rsync_exclude.txt
/logs
[0]root at debian-lenny32:/tmp # rsync -azC --force --delete --progress
--exclude-from=rsync_exclude.txt a/ b
sending incremental file list
./
file2
2 100% 0.00kB/s 0:00:00 (xfer#1, to-check=...
2004 Apr 09
3
include/exclude bug in rsync 2.6.0/2.6.1pre1
...: -1);
}
}
diff -ru rsync-2.6.1pre-1/flist.c rsync-2.6.1pre-1J/flist.c
--- rsync-2.6.1pre-1/flist.c 2004-02-11 03:48:58.000000000 +0100
+++ rsync-2.6.1pre-1J/flist.c 2004-04-08 10:50:46.000000000 +0200
@@ -39,6 +39,7 @@
extern int numeric_ids;
extern int cvs_exclude;
+extern const char *rsync_exclude;
extern int recurse;
extern char curr_dir[MAXPATHLEN];
@@ -66,6 +67,7 @@
extern struct exclude_struct **exclude_list;
extern struct exclude_struct **server_exclude_list;
extern struct exclude_struct **local_exclude_list;
+static struct exclude_struct **recur_local_exclude_list;
int io_er...
2007 Jul 14
1
DO NOT REPLY [Bug 4786] New: deletes files in parent directory when destination directory doesn't exist
...9;m using the PHP Symfony framework's rsync application publication feature to
publish an application from my development box to a ~archives/symfony directory
on our production box. This invokes the following rsync command:
rsync --progress --dry-run -azC --force --delete
--exclude-from=config/rsync_exclude.txt -e ssh ./
archives@archivesofdevelopment.org:symfony/
I notice that when the ~archives/symfony directory doesn't already exist on the
production box, rsync will delete all files and directories in the parent
directory (in our case ~archives). Once I create the ~archives/symfony
directory,...
2003 May 07
1
Bug report: "exclude from" in rsyncd.conf is not effective.
...and to register, visit http://www.reuters.com/messaging
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Reuters Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsync_exclude
Type: application/octet-stream
Size: 16971 bytes
Desc: rsync_exclude
Url : http://lists.samba.org/archive/rsync/attachments/20030506/5cf353ea/rsync_exclude.obj
2015 Jul 17
4
clone a disk
Hello
i have a machine A with 2 disks 1 et 2 running Debian Jessie
on 1 is the system and the boot and the swap
on 2 different partitions like /home /opt ETC.....
i have a machine B with 1 disk running kali-linux and *100G free*
Can i clone the disk 1 of machine A on the 100G free on machine B with
rsync?
If it is possible, how to do that?
Many thanks
TG
-------------- next part --------------
2015 Jul 17
0
clone a disk
...?
>
> If it is possible, how to do that?
Yes, it's easy to do, I do that for the primary backup on all my systems.
Lets say you are doing it from machine a, and backing up to directory /backup_a on b. Logged in as root then you could do it with :
rsync -avH --delete --exclude-from=/etc/rsync_excludes / root at b:/backup_a/
-a means "archive" and sets several parameters, v simply makes things verbose, H means correctly handle hard linked files. --delete means delete files from the destination that have been removed from the source, and --exclude-from specifies a file containing a lis...
2005 Jun 20
1
--exclude-from options
...some db.* files that I dont want to
backup. The tricky part is that subdirectories /source/a, /source/b and
/source/c can have their own db* files wich I do want to keep.
so how should my exclude file look?
I'm executing rsync from a source system as follows:
rsync -avz --exclude-from=/etc/rsync_exclude.file --delete --delete-excluded
/source/ remote:/source/
thanks,
aleksey
2006 Feb 22
1
Include Exclude .. a canonical way
I'm wrestling with include/exclude rules and not finding a way to do
this:
Simplified command: rsync -avv --exclcude-from=rsync_exclude \
~/ /dest/
Backup ~/ including ~/.kde3.5/share/apps/konqueror/bookmarks.xml
but excluding everything else under ~/.kde3.5
Here are some of what hasn't worked in an EXCLUDE file.
+ /.kde3.5/share/apps/konqueror/bookmarks.xml
/.kde3.5/
+ .kde3.5/share/apps/konqueror/book...
2011 Jul 09
0
Problem with --dry-run
Hi Gents,
I have written a backup script with rsync, which is working fine for a long
time. Now a problem has occured. which I am not able to solve by my own:
Before I am doing the backup I am checkig if there are any changes to backup
...
rsync --delete $RSYNC_EXCLUDE -avzne "$RSYNC_SSH" $RSYNC_SOURCE
$RSYNC_DESTINATION
But when I have created a path of new directories in $RSYNC_SOURCE e. g.
$RSYNC_SOURCE/new_dir/new_dir/new.file then its fails with ...
skipping daemon-excluded directory "$RSYNC_SOURCE/new_dir/new_dir"
*** Skipping any con...
2002 Oct 24
1
Using rsync for backup trashes st_atime
...inks \
--owner \
--group \
--devices \
--times \
--sparse \
--partial \
--force \
--numeric-ids \
${RSYNC_EXCLUDE} \
"root@${1}:/" \
"/mnt/backup/${1}"
Note: $1 is a machine name, and RSYNC_RSH=ssh.
I think '--preserve-server-atime' would be a nice additional feature,
and I tend to implement it on monday or so. I haven't yet looked at the
sour...
2005 Feb 17
4
Incremental Backups
...emove the delete as I would like to at any point
be able to go back in time and look at a snapshot of the server. Is
this a correct assessment? And if so, would the more appropriate rsync
command go as follows?
sudo rsync -azRv -e ssh
--exclude-from=/Users/someuser/scripts/Server_Scripts/etc/rsync_exclude
--link-dest=../Server_Backup.1 administrative_user@someserver.com:/
Server_Backup.current
Thanks much for any help!
-George
2015 Jul 17
1
clone a disk
...to do that?
>
> Yes, it's easy to do, I do that for the primary backup on all my
> systems.
>
> Lets say you are doing it from machine a, and backing up to
> directory /backup_a on b. Logged in as root then you could do it
> with : rsync -avH --delete --exclude-from=/etc/rsync_excludes /
> root at b:/backup_a/ -a means "archive" and sets several parameters, v
> simply makes things verbose, H means correctly handle hard linked
> files. --delete means delete files from the destination that have
> been removed from the source, and --exclude-from specifies a f...
2006 Nov 03
0
a strange behavior on a small memory system with tun0
...8/32.8/32.8 ms
Sat Jan 1 01:00:15 CET 2000 --> storing crontabs
Sat Jan 1 01:00:15 CET 2000 --> restarting cron
Sat Jan 1 01:00:15 CET 2000 --> getting systime from server 172.27.0.1
Sat Jan 1 01:00:15 CET 2000 --> creating rsync_key
Fri Nov 3 11:47:00 CET 2006 --> creating rsync_exclude
Fri Nov 3 11:47:00 CET 2006 --> activating swap
Fri Nov 3 11:47:00 CET 2006 --> swap is activated ( 249976 kb)!
Fri Nov 3 11:47:00 CET 2006 --> client is ready and waiting for cron_start!
Fri Nov 3 11:46:59 CET 2006 <-- Unlock partition --- key slot 0 unlocked.
Fri Nov 3 11:47...