[Samba] ACLs - backup and restore

Felipe felipe.piccirilo at gmail.com
Thu Aug 11 19:57:15 GMT 2005


Thanks for the link, Lee. I'm testing "star" but I didn't find many
informations about it..

I used this way to backup my files:

[root at srv1 shares]# star -c -Hexustar -acl -C /home/shares/data/ .
f=/home/tmp/backup2.tgz
star: 2 blocks + 0 bytes (total of 20480 bytes = 20.00k).

And this way to restore:

[root at srv1 shares]# star -xp -acl -C /home/shares/data/ f=/home/tmp/backup2.tgz
star: current './' newer.
star: current 'publica/' newer.
star: current 'felipe/' newer.
star: current 'felipe/teste/' newer.
star: current 'felipe/teste.txt' newer.
star: current 'felipe/aazevedo/' newer.
star: 2 blocks + 0 bytes (total of 20480 bytes = 20.00k).

But it didn't restore the acls of my files and folders.. Do anybody
know what I'm doing wrong?

thanks!

regards,
Felipe.



2005/8/10, Lee Ball <lee at effective-it.co.uk>:
> Try using star (http://freshmeat.net/projects/star/) it supports ACLs
> whereas tar doesn't.
> 
> Felipe wrote:
> > Hi all,
> >
> > How is the best way to perform backups of my files witch has acls in
> > order to don't lose then when I need to recover some file or folder?
> >
> > Is there anybody here who has problems of losing acls when backup
> > files and restore?
> >
> > thanks!
> > Felipe.
>


More information about the samba mailing list