On Sun, 2 May 2004, Buhus Teodor-Marius wrote: > EXT3
Am cautat pe google "how to backup ext3 extended attributes" si primul link am: http://homex.subnet.at/~max/fs/ext23_acl.php#backups Backups There is no direct way of correctly backing up your data with your ACLs as most backup software does not take care of ACLs. Nevertheless, there's a workaround: Install the Debian package "acl" (if not already done). It provides the programs getfacl and setfacl. These can be used to get the current ACLs respectively change them or set new ones. (The most basic commands are shown at http://acl.bestbits.at/about-acl.html: getfacl * setfacl -m u:ursula:rw file1 A more complete example can be found here.) >From http://acl.bestbits.at/using.html: Backing up: Choose whether you want to back up all your system's ACLs to one file, or whether you want several split lists. (I chose to back up ACLs separately for each filesystem, as it should be a bit easier to recover from a fatal system crash). For each directory tree you want to back up, issue a command like the following: [EMAIL PROTECTED]:/home # getfacl -R --skip-base . > backup.acl The `--skip-base' option excludes all files that only have the three base ACL entries (user, group and other). You do not need to back these up separately as the base ACL entries correspond to the file mode permission bits, which I assume your backup utility handles already. The `-R' option tells getfacl to recurse into subdirectories. Restoring: The data written to the backup file is the same output you are used to from using getfacl all the time. The setfacl utility is able to parse this output, and restore all the all permissions (including the owner and owning group, if you have privilege to change these). For restoring the backup from above, type: [EMAIL PROTECTED]:/home # setfacl --restore=backup.acl Personal add-on: The package "acl" also provides "chacl" which is an SGI program in order to change ACLs. "chacl -l" and "chacl -r" are Linux-only options and might also do something similar to the backup process described above. (http://acl.bestbits.at/man/man.shtml linking to http://acl.bestbits.at/cgi-man/chacl.1.) Iar al treilea link: http://acl.bestbits.at/pipermail/acl-devel/2001-November/000795.html Hello, the most important news first: After a very long time, we have a backup utility that supports Access Control Lists. J"org Schilling <[EMAIL PROTECTED]> has added Access Control List support to his tar/pax clone called Star. Read more about this on our Web site, <http://acl/bestbits.at/>. Si cautand pe freshmeat.net (the one and only) star am gasit: http://freshmeat.net/projects/star/ About: Star is a very fast, POSIX-compliant tar archiver. It reads and writes POSIX compliant tar archives as well as non-POSIX GNU tar archives. Star is the first free POSIX.1-2001 compliant tar implementation. It saves many files together into a single tape or disk archive, and can restore individual files from the archive. It includes command line interfaces for the "tar", "Sun-Tar", "cpio", "pax" and "gnutar" cmdline syntax. It includes a FIFO for speed, a pattern matcher, multi-volume support, the ability to archive sparse files and ACLs, the ability to archive extended file flags, automatic archive format detection, automatic byte order recognition, automatic archive compression/decompression, remote archives, and special features that allow star to be used for full and incremental backups. It includes the only known platform independent "rmt" server program that hides Linux incompatibilities. The "rmt" server from the star package implements all Sun/GNU/Schily/BSD enhancements and allows any "rmt" client from any OS to contact any OS as server. PS: timp pt aflarea acestor informatii 2 minute, was that easy ? -- Mihai RUSU Email: [EMAIL PROTECTED] GPG : http://dizzy.roedu.net/dizzy-gpg.txt WWW: http://dizzy.roedu.net "Linux is obsolete" -- AST --- Detalii despre listele noastre de mail: http://www.lug.ro/
