Archive parameter doesn't preserve owner:group property!
David (Spartoo)
david.spartoo at gmail.com
Thu May 31 10:19:40 GMT 2007
Thanks for your reply but even with --numeric-ids parameter it still doesn't
work!!
this is my backup.sh
#!/bin/bash
#
logpath=/var/log/sauvegarde.log
excludepath=exclude
/usr/bin/time -f%E sh -c "rsync -avb --numeric-ids
--backup-dir=previous_version --exclude-from=$excludepath --progress
--delete /etc dev_server::rsync_david --log-file=$logpath"
and my rsyncd.conf
log file = /var/log/rsyncd.log
max connections = 3
transfer logging = yes
comment = Synchro fichiers internes
use chroot = yes
hosts deny = *
[rsync_david]
path = /home/ftp/sauvegarde/david/
read only = false
uid = root
gid = root
hosts allow = 192.168.1.168
2007/5/31, Paul Slootman <paul at debian.org>:
>
> On Thu 31 May 2007, David (Spartoo) wrote:
> >
> > For example If I want to backup /etc, in this folder I have a file
> root:1001
> > in my local machine...
> > When I see this file to the server I have
> > root:name_group_correspond_to_this_id for exemple root:subadmin, the
> problem
> > is that I don't have this group (subadmin) in my local machine...so it's
> not
> > really a backup.
>
> You want the --numeric-ids option for this.
>
>
> Paul Slootman
> --
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list