Re: linux backup with ACLs - command line questions.

[email protected] (Joerg Schilling) Thu, 21 Dec 2006 23:36:31 +0100
Newsgroups gmane.comp.archivers.star.user
Message-ID <458b0c6f.a9NY52D22XZoZthS%[email protected]>
[email protected] wrote:

> I'm trying to figure out how to get STAR to backup a linux server, as a
> replacement for "dump"
> We are now using ACLs and STAR is the  onlything I know that backs them up.
>
> Something does not look correct, I get this error message:
>
>       /usr/bin/star: No such file or directory. Cannot read link
> 'proc/221/exe'.

Unless this is ACL related (in this case you are probably using an outdated
star) -> ftp://ftp.berlios.de/pub/star/alpha/

...it looks like you are not running in "dump" mode which only works with 
-M/-xdev

> And errors like this:
>
>       sys/module/nls_utf8/sections/.strtab is sparse

This (currently) is an intended informational message.


> Either I'm doing the "-not pattern=SOMETHING" wrong, or the "-xdev" option
> does not work.

Unlesy you know _exactly_ what you are doing and what's happening inside star, 
it is not recommended to use exclude patterns for (incremenatl) backups.
-M however is required.



> The command line I am using is:
>
>   star bs=256k -c -xdev -sparse -acl -not pattern=/proc -not pattern=/sys
> level=0 -wtardumps f=/dev/nst0 -C / .

-not works once for all following patterns but you don't need it!


> That should - as I understand it specify:
>
>       bs=256k -> 256K block size
>       -c    -> create
>       -xdev -> stay in one file system
>       -sparse -> handle sparse files
>       -acl  -> We are using ACLs
>       -not XXXX -> ignore the "/proc" directory
>       -not XXXX -> ignore the /sys directory
>       level=0  -> specify level 0 dump
>       -wtardumps => Create a dump date
>       f=XXXXX -> my tape drive
>       -C / .      -> I'm backing up my root file system.
>
> Any suggestions?

Did you follow the examples for incremental dumps/restores frim the man page?

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
Star-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/star-users