problem with exlude/include on root (::/) target

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with exlude/include on root (::/) target

didldum
i'm having troubles using the include exclude option when backuping up the / directory of a remote server. the same operation with a non-root target (like ::/etc) works fine.

simplified example:
rdiff-backup --include /etc/httpd  --exclude / myserver.com::/ root
-> backups nothing but an empty /etc directory, although /etc/httpd contains files.

what i am really trying to do:
rdiff-backup --include /vservers/default --exclude /vservers --exclude=/dev myserver.com::/ root
-> does not backup /vservers at all

i'm using v1.0.4 - any ideas?

thanks!

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: problem with exlude/include on root (::/) target

Ben Escoto
>>>>> didldum <[hidden email]>
>>>>> wrote the following on Wed, 18 Jan 2006 10:02:08 +0100

> i'm having troubles using the include exclude option when backuping up the /
> directory of a remote server. the same operation with a non-root target
> (like ::/etc) works fine.
>
> simplified example:
> rdiff-backup --include /etc/httpd  --exclude / myserver.com::/ root
> -> backups nothing but an empty /etc directory, although /etc/httpd contains
> files.

Hmm this should do what you want it to do.  Are you sure this just backs
up the empty /etc directory?  If so it is a bug.


--
Ben Escoto


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki