You can subscribe to this list here.
2003 |
Jan
(11) |
Feb
(50) |
Mar
(10) |
Apr
(10) |
May
(7) |
Jun
(44) |
Jul
(23) |
Aug
(13) |
Sep
(27) |
Oct
(41) |
Nov
(21) |
Dec
(21) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(23) |
Feb
(20) |
Mar
(9) |
Apr
(6) |
May
(5) |
Jun
(10) |
Jul
(8) |
Aug
(16) |
Sep
(8) |
Oct
(7) |
Nov
(8) |
Dec
(11) |
2005 |
Jan
(6) |
Feb
(3) |
Mar
(11) |
Apr
(14) |
May
(17) |
Jun
(19) |
Jul
(9) |
Aug
(5) |
Sep
(6) |
Oct
(1) |
Nov
|
Dec
(3) |
2006 |
Jan
(7) |
Feb
(5) |
Mar
(4) |
Apr
(8) |
May
(10) |
Jun
|
Jul
(5) |
Aug
(11) |
Sep
|
Oct
(6) |
Nov
(7) |
Dec
(1) |
2007 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
(4) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
(1) |
Dec
(1) |
2008 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
|
May
(1) |
Jun
(8) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(9) |
Nov
(3) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
(3) |
Feb
|
Mar
(11) |
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
(11) |
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
2017 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <Erw...@sy...> - 2005-05-03 17:40:18
|
I'm using the following /dev/nst0 And then=20 [root@annuaire21 root]# flexbackup -test-tape-drive flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Testing will *erase* the tape currently in the drive! | Hit CTRL-C to abort within 10 seconds... |------------------------------------------------------------ | If for some reason this program does not exit within a few mi | Hit CTRL-C, and try adjusting $blksize, $pad_blocks, or $mt_b |------------------------------------------------------------ | Rewinding & erasing tape... /dev/nst0: Input/output error | Creating index key 200505031834 Here is my config file # Block size (in kilobytes!) to use for archive programs and dd. Default is # 10 for most things. Some tape drives need 32 or 64. Set to '0' to # disable all blocking $blksize =3D '10'; # Block size (in bytes!) to use for the tape device, with "mt setblk" or # equivalent. If set to 0, will use "variable" block size for the tape # device (which is recommended). Comment out or set to "$blksize * 1024" to # have it be the same as the archiver block size above. $mt_blksize =3D "0"; # Padding. True to pad blocks to blocksize # (devices only, not used when archiving to files) $pad_blocks =3D 'true'; I suppose that it come from my blksize or pad but I don't know anything abo= ut it, and I try all settings. Moreover, it that I can't made lot of test cause when I made any test , it take too much time, so I don't know how begin ? Any suggestion? Erwan CHEVALIER=20 Consulting & Systems Integration Email : Erw...@sy...=20 T=E9l. : +33 (0)1 58 13 88 41 Web : www.bt.com/consulting ******************************************************************** This email may contain information which is privileged or confidential. If = you are not the intended recipient of this email, please notify the sender = immediately and delete it without reading, copying, storing, forwarding or = disclosing its contents to any other person Thank you Check us out at http://www.bt.com/consulting ******************************************************************** |
From: Doug S. <do...@da...> - 2005-05-02 21:03:28
|
I'm using the following /dev/nsa0 as the nonrewinding tape device under FreeBSD 5.3 and when backing up using Flexbackup 1.2.1 as follows: flexbackup -set all -type pax -noerase I am prompted to insert tape after each set (6 sets altogether) although I reply 'y' and stick to the same tape. Typing 'flexbackup -toc' produces a listing showing six sets in the expected format. When I tested flexbackup using the following: flexbackup -set home -type pax -norewind -noerase ; \ flexbackup -set boot -type pax -norewind -noerase ; \ flexbackup -set etc -type pax -norewind -noerase ; \ flexbackup -set var -type pax -norewind -noerase ; \ flexbackup -set usr -type pax -norewind -noerase ; \ flexbackup -set os -type pax -noerase I am not prompted to insert tapes. However, I am getting six separate email with a log attached to each. The device is defined as $device='/dev/nsa0' in /etc/flexbackup.conf. Changing $erase_tape_set_level_zero = 'true' to 'false' makes no difference. I had Debian 3.0r1 on this machine in a previous life (using '/dev/nst0' as the tape device) and when using flexbackup, did not receive such messages. The Flexbackup documentation says for FreeBSD users to use /dev/nsa0 as the nonrewinding device. Suggestions? ~Doug |
From: Miquel R. <mr...@da...> - 2005-04-28 08:47:51
|
Hi, Along two years I've been using flexbackup in different distros and I haven't been any problem with flexbackup But now I'm using Suse Standard Server 8.0 , and i report this error when i tried to extract files I test the tape and it works great, if i use backup with tar it backups and restore perfectly, so i don't have any idea about it. | Logging output to "flexbackup.extract.200504201705.log" | Positioning tape at file number 1 |------------------------------------------------------------ At block 1. |------------------------------------------------------------ | Extracting single file gestio/bases/DBT/dbt32/GS32.MDB | dd ibs=10k obs=10k conv=noerror if="/dev/nst0" | gzip -dq | cpio -i -E \ | /tmp/extract.14086 -m -d -v -C 10240 |------------------------------------------------------------ cpio: warning: skipped 98323 bytes of junk cpio: warning: skipped 12285 bytes of junk cpio: warning: skipped 19966 bytes of junk cpio: warning: skipped 33026 bytes of junk cpio: warning: skipped 81567 bytes of junk gzip: stdin: invalid compressed data--format violated 17+0 records in 16+0 records out cpio: premature end of file |------------------------------------------------------------ At block 18. |------------------------------------------------------------ -------------------> Version of rpm.. cpio-2.5.-54 flexbackup 1.2.1 -------------------> This is flexbackup.conf # -*-Mode: perl-*- # ---------------------------------------------------------------------- # Flexbackup configuration file # check "flexbackup -help" for usage information # ---------------------------------------------------------------------- # General configuration section # Archive type? afio, dump, tar, cpio, star, pax, zip, lha, ar, shar # 'copy' or 'rsync' are extra options if running in archive-to-disk mode. # 'filelist' dumps a list of files in your cwd - for debugging setup/exclusion $type = 'cpio'; # "-set all" will back up all defined sets. If you are doing a full backup # using tapes, each "set" will go onto a different tape and you will be # prompted for tape change in between. # $set{'docs'} = "/usr/omnium /home"; # # Subtree pruning # A space-separated list of directories to prune from each backup. # Key is a filesystem or host:dir spec as outlined above # regular expressions allowed (not shell-type wildcards!) $prune{'/'} = "tmp proc"; # Compression $compress = 'gzip'; # one of false/gzip/bzip2/lzop/zip/compress/hardware $compr_level = '1'; # compression level (1-9) (for gzip/bzip2/lzop/zip) # Buffering program - to help streaming $buffer ='false'; # one of false/buffer/mbuffer $buffer_megs = '10'; # buffer memory size (in megabytes) $buffer_fill_pct = '75'; # start writing when buffer this percent full $buffer_pause_usec = '100'; # pause after write (tape devices only) # Device to backup to. -->> non-rewinding version, please! <<-- # # Examples: # Linux SCSI: /dev/nst0 Linux IDE: /dev/nht0 # Linux ftape: /dev/nqft0 FreeBSD SCSI: /dev/nrsa0 (4.x compat device node) # FreeBSD SCSI: /dev/nsa0 (5.x) # # If a directory, will archive to files in that directory rather than a device # If "host:/dev/tapedevice", will use remote tape drive via rsh/ssh # $device = '/dev/nst0'; # Block size (in kilobytes!) to use for archive programs and dd. Default is # 10 for most things. Some tape drives need 32 or 64. Set to '0' to # disable all blocking $blksize = '10'; # Block size (in bytes!) to use for the tape device, with "mt setblk" or # equivalent. If set to 0, will use "variable" block size for the tape # device (which is recommended). Comment out or set to "$blksize * 1024" to # have it be the same as the archiver block size above. $mt_blksize = "0"; # Padding. True to pad blocks to blocksize # (devices only, not used when archiving to files) $pad_blocks = 'true'; # Other global flags $remoteshell = 'rsh'; # command for remote shell (rsh/ssh/ssh2) $remoteuser = ''; # if non-null, secondary username for remote shells $label = 'true'; # somehow store identifying label in archive? $verbose = 'true'; # echo each file? $sparse = 'true'; # handle sparse files? $indexes = 'true'; # false to turn off all table-of-contents support # If backing up to files, use static filenames - no date stamp # (same level backup of same directory will overwrite old backups) $staticfiles = 'false'; # True to try and preserve file access times during backup, if the selected # archive program can do so. Note that if this is true, -cnewer checks (file # permission/status changes only, not content) are turned off when deciding # which files to archive on the local system. $atime_preserve = 'false'; # Span across filesytems? ("dump" will ignore this option) # Set to "false" (don't) , "local" (all but nfs/smbfs), or "all" (everything) $traverse_fs = 'false'; # Exclude files that match these *regular expressions* (not shell wildcards) # from the backups (no affect on 'dump' archives). You can list more than one, # just keep incrementing the index in the brackets for each. Also, strip off # leading directories (the filesystem specs above or the "-dir" flag). # Matches paths, not filenames, so put .* on the front/back as needed. # Comment these out to exclude nothing. $exclude_expr[0] = '.*/[Cc]ache/.*'; $exclude_expr[1] = '.*~$'; # If true (default), and using a tape device, level zero "set" backups # assume you want to erase and use a new tape for each set. If false, level # zero "set" backups append to tapes. To force an erase for any backup, # use "-erase" on the commandline. $erase_tape_set_level_zero = 'true'; # Set this to "true" to make erase operations just call "mt rewind" - not # "mt rewind' followed by "mt erase". (For some tape drives, erase takes # hours rather than seconds or is otherwise undesirable) $erase_rewind_only = 'true'; # ---------------------------------------------------------------------- # Log/stamp files, path for temporary files $logdir = '/var/log/flexbackup'; # directory for log files $comp_log = 'gzip'; # compress log? false/gzip/bzip2/lzop/compress/zip $staticlogs = 'false'; # static log filenames w/ no date stamp $prefix = 'omc-'; # log files will start with this prefix $tmpdir = '/tmp'; # used for temporary refdate files, etc $stampdir = '/var/lib/flexbackup'; # directory for backup timestamps $index = '/var/lib/flexbackup/index'; # DB filename for tape indexes $keyfile = '00-index-key'; # filename for keyfile if archiving to dir $sprefix = 'omc-'; # stamp files will start with this prefix # ---------------------------------------------------------------------- # Parameters for 'afio' only # File extensions that should not be compressed (seperate with spaces) $afio_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; # True to show block numbers $afio_echo_block = 'true'; # Files less than this size (kilobytes) won't be compressed $afio_compress_threshold = '3'; # Maximum amount of memory (megabytes) to use for temporary storage of # compression results. If a compressed file is bigger than this, compression # will have to run twice on the file (see manpage). $afio_compress_cache_size = '2'; # ---------------------------------------------------------------------- # Parameters for 'tar' only # True to show record numbers $tar_echo_record_num = 'false'; # ---------------------------------------------------------------------- # Parameters for 'cpio' only # Format of cpio archive $cpio_format = 'newc'; # ---------------------------------------------------------------------- # Parameters for 'dump' only # Estimated tape size (in kilobytes). This number doesn't really do much # but help 'dump' get size estimates if set to zero uses 'dump -a' $dump_length = '0'; # True to use /etc/dumpdates (could mess things up if you dump subdirectories # of mount points). False to use flexbackup's timestamps. $dump_use_dumpdates = 'false'; # ---------------------------------------------------------------------- # Parameters for 'star' only # Use fifo (buffering)? (you probably want to set $buffer=false above if so) $star_fifo = 'true'; # Handle ACLs? $star_acl = 'true'; # Format of star archive $star_format = 'exustar'; # True to show block numbers $star_echo_block_num = 'false'; # ---------------------------------------------------------------------- # Parameters for 'pax' only # Format of pax archive $pax_format = 'ustar'; # ---------------------------------------------------------------------- # Parameters for 'zip' only # File extensions that should not be compressed (seperate with spaces) $zip_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; # ---------------------------------------------------------------------- # Parameters for 'package delta' backups # Archive a list of all installed packages in the top level of each backup? # Can be 'false', 'true' (save it for any backup), or # 'rootonly' (saves list only if the filesystem is '/') $pkgdelta_archive_list = 'rootonly'; # Archive files not "owned" by packages? $pkgdelta_archive_unowned = 'true'; # Archive any package-owned files which have been modified? $pkgdelta_archive_changed = 'true'; # ---------------------------------------------------------------------- # Paths to commands. Default will look for them in $PATH. Use this if # you want to set commands explicitly. You can use full paths or just # change command names. # # Example: If GNU tar is called "gtar" on your system: # $path{'tar'} = 'gtar'; # # Or can be used to "sudo" certain commands. Examples: # $path{'find'} = 'sudo find'; # $path{'dump'} = 'sudo dump'; # $path{'afio'} = 'sudo -u nonrootuser afio'; # # ---------------------------------------------------------------------- # mt operation overrides. Set if flexbackup doesn't know the right mt # command(s) for your OS/device, or you want to override things. # # Example: use "mt status" instead of "mt tell" # $mt{'tell'} = 'status'; ###################################################################### # # $Id: flexbackup.conf,v 1.74 2003/09/21 22:59:58 edwinh Exp $ # $Name: v1_2_1 $ # # Leave '1;' on the the next line - for perl 'require' 1; -- Miquel Rubio DAT_UM C/ Massevà 2 08302 Mataró Telf: 937414433 |
From: s. k. <ke...@sp...> - 2005-04-28 04:51:08
|
Incoming from Gregory Gregory Malsack: > Does anyone know what this means? > > | File number 3, tape index 200504262359 > | Backup of: /etc > | Date of this level 0 backup: Wed Apr 27 00:46:50 2005 > | Date of last level 0 backup: the epoch > |------------------------------------------------------------ > | cd "/etc" && /tmp/collectexit.7772.sh find . -depth -xdev ! -type s ! \ > | -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | \ > | /tmp/collectexit.7772.sh tar --create --null --files-from=- \ > | --ignore-failed-read --same-permissions --no-recursion --totals --label \ > | "level 0 /etc Wed Apr 27 00:46:50 2005 tar+gzip from fs.gmellc.local" \ > | --verbose --sparse -b 20 --file - | /tmp/collectexit.7772.sh gzip -4 | \ > | /tmp/collectexit.7772.sh buffer -m 10m -p 75 -s 10k -t -u 100 -B -o \ > | "/dev/nst0" > | [ ! -e /tmp/exitstatus.7772 ] ....^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test not exists /tmp/exitstatus.7772 Is /tmp a separate partition? Is it full? Can your backup user create files in /tmp? -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - - |
From: Gregory G. M. <gma...@gm...> - 2005-04-28 03:42:40
|
Does anyone know what this means? | File number 3, tape index 200504262359 | Backup of: /etc | Date of this level 0 backup: Wed Apr 27 00:46:50 2005 | Date of last level 0 backup: the epoch |------------------------------------------------------------ | cd "/etc" && /tmp/collectexit.7772.sh find . -depth -xdev ! -type s ! \ | -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | \ | /tmp/collectexit.7772.sh tar --create --null --files-from=- \ | --ignore-failed-read --same-permissions --no-recursion --totals --label \ | "level 0 /etc Wed Apr 27 00:46:50 2005 tar+gzip from fs.gmellc.local" \ | --verbose --sparse -b 20 --file - | /tmp/collectexit.7772.sh gzip -4 | \ | /tmp/collectexit.7772.sh buffer -m 10m -p 75 -s 10k -t -u 100 -B -o \ | "/dev/nst0" | [ ! -e /tmp/exitstatus.7772 ] |------------------------------------------------------------ -- ERROR: exiting |------------------------------------------------------------ Thanks, Greg |
From: Goran T. <go...@go...> - 2005-04-27 08:22:20
|
Thanks for your reply... But same error occurrs when trying that: root@server:/mnt/backup/server# afio -tZ home.0.afio-gz afio: "home.0.afio-gz" [offset 6]: Fatal error: afio: "home.0.afio-gz": Unrecognizable archive My guess is that flexbackup is running the same command in the background maybe, I don't know. Any other ideas? Best Regards Goran ----- Original Message ----- From: "s. keeling" <ke...@sp...> To: <fle...@li...> Sent: Tuesday, April 26, 2005 4:16 PM Subject: Re: [flexbackup-help] afio: Unrecognizable archive > Incoming from Goran Tornqvist: >> >> I'm trying to list the files in an archive home.0.afio-gz but get the >> error below. >> Is the archive corrupt and beyond rescue or is it still possible to >> retrieve files from the archive? > > Just a guess, but try "afio -tZ /full/path/to/home.0.afio-gz" > > > -- > Any technology distinguishable from magic is insufficiently advanced. > (*) http://www.spots.ab.ca/~keeling > - - > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > flexbackup-help mailing list > fle...@li... > https://lists.sourceforge.net/lists/listinfo/flexbackup-help > |
From: s. k. <ke...@sp...> - 2005-04-26 14:17:18
|
Incoming from Goran Tornqvist: > > I'm trying to list the files in an archive home.0.afio-gz but get the error below. > Is the archive corrupt and beyond rescue or is it still possible to retrieve files from the archive? Just a guess, but try "afio -tZ /full/path/to/home.0.afio-gz" -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - - |
From: Goran T. <go...@go...> - 2005-04-26 09:36:12
|
Hello, I'm trying to list the files in an archive home.0.afio-gz but get the = error below. Is the archive corrupt and beyond rescue or is it still possible to = retrieve files from the archive? Best Regards Goran =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) |------------------------------------------------------------ | Checking /bin/sh on this machine... unknown (probably Bourne Shell) |------------------------------------------------------------ | Logging output to "flexbackup.list.log" | Auto-set to type=3Dafio compress=3Dgzip | Reading from on-disk file home.0.afio-gz |------------------------------------------------------------ | dd ibs=3D10k obs=3D10k conv=3Dnoerror if=3D"home.0.afio-gz" | afio -t = -z -D \ | /usr/local/bin/flexbackup -P gzip -Q -d -Q -q -Z -v -b 10k - |------------------------------------------------------------ afio: "-" [offset 4288270336m+6]: Fatal error: afio: "-": Unrecognizable archive |------------------------------------------------------------ |
From: Kris Z. <zab...@it...> - 2005-04-19 18:42:07
|
I'm having a weird problem with my backups, that was brought to my attention after I had to restore from tape. Im using FlexBackup and my Backup Set is defined as this in my flexbackup.conf $set{'backup'} = "/home /usr/local /etc /var/log"; And the backup is executed by: /usr/bin/flexbackup -set backup -level full -norewind However, when the backup kicks off, it will go through and back up the specified directories. When I do a flexbackup -list, only the last directory is show. It appears as though FlexBackup will do a directory, rewind and overwrite. Can anyone please help! -- Kris Zabriskie I-Tech, Inc. Network Administrator / Consultant zab...@it... |
From: <twi...@ti...> - 2005-04-13 06:27:26
|
Hello. I have a trouble with backing up samba shared directory. I wrote my own script. First, it will mount shared direcotry and than it runs flexbackup. And the problem... While flexbackup is working and user reboots the PC, flexbackup crashes with samba error, but it creates an archive and $? in Bash is equal to zero. So everything looks fine, but next day, when I will run flexbackup with -level incremental, it will work normally even the full backup isn't complete... Can anybody know how to solve this? Thanks. |
From: Charlie B. <cha...@e-...> - 2005-04-11 20:19:42
|
On Mon, 11 Apr 2005, Gregory Malsack wrote: > Hello All, > > I have an ide tape drive. (AIX2) 35/90gb tape drive. When I run a backup job > I get several i/o errors. ... > I find that the dd command freezes up and I cannot even kill -9 the process. > (most likely because it is a kernel processes). Does anyone know why this > processess might be looking up. I have the feeling it has something to do > with ide-scsi. There's more chance that someone will be able to help you if you provide full information about your deployment. What OS, what kernel version, what tape drive? I'd suggest ide-scsi too, but I don't have any advice to offer as to how to fix or workaround the problem. -- Charlie |
From: Jim C. <jc...@tl...> - 2005-04-11 19:35:18
|
For the last few days I've been getting problems with flexbackup not = completing backups. I'd like to say that it is just a strange = phenomenon and has nothing to do with anything I've done but that would = be a lie. :) However, I am not sure what I've done to keep it from working. A couple = of things I've done is change the type of backup from star to afio to = dump to tar and then finally back to star. The weird thing is that afio = and star used to work and now they don't. Additionally, whenever I try = and do anything with flexbackup I get an "Out of Memory" error now. Any suggestions? Thoughts? Below is a copy of the config file I use. = I am running commands like: flexbackup -set tlb or flexbackup -newtape = (which doesn't success either). This morning I even tried to do a -list = with a -n and *that* didn't even finish!! Suggestions? TIA - Jim -- snip -- # -*-Mode: perl-*- # ---------------------------------------------------------------------- # Flexbackup configuration file # check "flexbackup -help" for usage information # ---------------------------------------------------------------------- # General configuration section # Archive type? afio, dump, tar, cpio, star, pax, zip, lha, ar, shar # 'copy' or 'rsync' are extra options if running in archive-to-disk = mode. # 'filelist' dumps a list of files in your cwd - for debugging = setup/exclusion $type =3D 'star'; # Configure backup "sets". # Not needed if you use "-dir <dir>" to backup one tree at a time. # Each set is a simple space-separated list of filesystems # Remote filesystems should denoted as 'host:dir' # You can use anything (other than 'all') as set names # # Example: # $set{'set1'} =3D "/home /usr"; # $set{'set2'} =3D "/dir3 machine2:/dir4 machine3:/dir5"; # # "-set all" will back up all defined sets. If you are doing a full = backup # using tapes, each "set" will go onto a different tape and you will be # prompted for tape change in between. # $set{'tlb'} =3D 'lb1:/etc ' . 'lb1:/var/log ' . 'lb1:/var/backup ' . 'lb1:/boot ' . 'lb1:/home ' . 'lb1:/usr/bin ' . 'lb1:/usr/sbin ' . 'lb1:/bin ' . 'lb1:/sbin ' . 'lb1:/lib ' . 'lb1:/usr/lib ' . 'lb1:/usr/local/src '. 'web1:/etc ' . 'web1:/var/log ' . 'web1:/boot ' . 'web1:/var/backup ' . 'web1:/home ' . 'web1:/usr/bin ' . 'web1:/usr/sbin ' . 'web1:/bin ' . 'web1:/sbin ' . 'web1:/lib ' . 'web1:/usr/lib ' . '/etc ' . '/var/log ' . '/boot ' . '/var/backup ' . '/home ' . '/usr/bin ' . '/usr/sbin ' . '/bin ' . '/sbin ' . '/lib ' . '/usr/lib ' . 'web3:/etc ' . 'web3:/var/log ' . 'web3:/boot ' . 'web3:/var/backup ' . 'web1:/home ' . 'web3:/usr/local ' . 'web3:/usr/bin ' . 'web3:/usr/sbin ' . 'web3:/bin ' . 'web3:/sbin ' . 'web3:/lib ' . 'web3:/usr/lib'; ## Individual sets (requires a tape per set $set{'lb1'} =3D 'lb1:/boot '. 'lb1:/etc '. 'lb1:/usr/sbin '. 'lb1:/usr/bin '. 'lb1:/home '. 'lb1:/bin '. 'lb1:/sbin '. 'lb1:/lib '. 'lb1:/var/log '. 'lb1:/var/backup '. 'lb1:/usr/lib '. 'lb1:/usr/local/src'; $set{'web1'} =3D 'web1:/home '. 'web1:/var/log '. 'web1:/boot '. 'web1:/etc '. 'web1:/var/backup '. 'web1:/usr/bin '. 'web1:/usr/sbin '. 'web1:/sbin '. 'web1:/bin '. 'web1:/usr/lib '. 'web1:/lib'; $set{'web2'} =3D '/home /var/log /boot /etc /var/backup /usr/sbin'. '/usr/bin /sbin /bin /lib /usr/lib'; $set{'web3'} =3D 'web3:/etc '. 'web3:/var/log '. 'web3:/boot '. 'web3:/var/backup '. 'web3:/usr/local '. 'web3:/usr/bin '. 'web3:/usr/sbin '. 'web3:/bin '. 'web3:/home '. 'web3:/lib '. 'web3:/usr/lib'; # Subtree pruning # A space-separated list of directories to prune from each backup. # Key is a filesystem or host:dir spec as outlined above # regular expressions allowed (not shell-type wildcards!) $prune{'/'} =3D "tmp proc lost+found"; $prune{'/usr'} =3D "lost+found"; $prune{'/boot'} =3D "lost+found"; # Compression $compress =3D 'gzip'; # one of = false/gzip/bzip2/lzop/zip/compress/hardware $compr_level =3D '9'; # compression level (1-9) (for = gzip/bzip2/lzop/zip) # Buffering program - to help streaming $buffer =3D 'buffer'; # one of false/buffer/mbuffer $buffer_megs =3D '10'; # buffer memory size (in megabytes) $buffer_fill_pct =3D '75'; # start writing when buffer this percent = full $buffer_pause_usec =3D '100'; # pause after write (tape devices only) # Device to backup to. -->> non-rewinding version, please! <<-- # # Examples: # Linux SCSI: /dev/nst0 Linux IDE: /dev/nht0 # Linux ftape: /dev/nqft0 FreeBSD SCSI: /dev/nrsa0 (4.x compat = device node) # FreeBSD SCSI: /dev/nsa0 (5.x) # # If a directory, will archive to files in that directory rather than a = device # If "host:/dev/tapedevice", will use remote tape drive via rsh/ssh # $device =3D '/dev/tape'; # Block size (in kilobytes!) to use for archive programs and dd. Default = is # 10 for most things. Some tape drives need 32 or 64. Set to '0' to # disable all blocking $blksize =3D '10'; # Block size (in bytes!) to use for the tape device, with "mt setblk" or # equivalent. If set to 0, will use "variable" block size for the tape # device (which is recommended). Comment out or set to "$blksize * 1024" = to # have it be the same as the archiver block size above. $mt_blksize =3D "0"; # Padding. True to pad blocks to blocksize # (devices only, not used when archiving to files) $pad_blocks =3D 'true'; # Other global flags $remoteshell =3D 'ssh'; # command for remote shell (rsh/ssh/ssh2) $remoteuser =3D 'backup'; # if non-null, secondary username for remote = shells $label =3D 'true'; # somehow store identifying label in archive? $verbose =3D 'true'; # echo each file? $sparse =3D 'true'; # handle sparse files? $indexes =3D 'true'; # false to turn off all table-of-contents = support # If backing up to files, use static filenames - no date stamp # (same level backup of same directory will overwrite old backups) $staticfiles =3D 'false'; # True to try and preserve file access times during backup, if the = selected # archive program can do so. Note that if this is true, -cnewer checks = (file # permission/status changes only, not content) are turned off when = deciding # which files to archive on the local system. $atime_preserve =3D 'true'; # Span across filesytems? ("dump" will ignore this option) # Set to "false" (don't) , "local" (all but nfs/smbfs), or "all" = (everything) $traverse_fs =3D 'false'; # Exclude files that match these *regular expressions* (not shell = wildcards) # from the backups (no affect on 'dump' archives). You can list more = than one, # just keep incrementing the index in the brackets for each. Also, = strip off # leading directories (the filesystem specs above or the "-dir" flag). # Matches paths, not filenames, so put .* on the front/back as needed. # Comment these out to exclude nothing. $exclude_expr[0] =3D '.*/[Cc]ache/.*'; $exclude_expr[1] =3D '.*~$'; $exclude_expr[2] =3D '^#.*'; $exclude_expr[2] =3D 'lost\+found'; # If true (default), and using a tape device, level zero "set" backups # assume you want to erase and use a new tape for each set. If false, = level # zero "set" backups append to tapes. To force an erase for any backup, # use "-erase" on the commandline. $erase_tape_set_level_zero =3D 'false'; # Set this to "true" to make erase operations just call "mt rewind" - = not # "mt rewind' followed by "mt erase". (For some tape drives, erase = takes # hours rather than seconds or is otherwise undesirable) $erase_rewind_only =3D 'true'; # ---------------------------------------------------------------------- # Log/stamp files, path for temporary files $logdir =3D '/var/log/flexbackup'; # directory for log files $comp_log =3D 'gzip'; # compress log? = false/gzip/bzip2/lzop/compress/zip $staticlogs =3D 'false'; # static log filenames w/ no date = stamp $prefix =3D ''; # log files will start with this = prefix $tmpdir =3D '/tmp'; # used for temporary refdate files, = etc $stampdir =3D '/var/lib/flexbackup'; # directory for backup timestamps $index =3D '/var/lib/flexbackup/index'; # DB filename for tape indexes $keyfile =3D '00-index-key'; # filename for keyfile if archiving = to dir $sprefix =3D ''; # stamp files will start with this = prefix # ---------------------------------------------------------------------- # Parameters for 'afio' only # File extensions that should not be compressed (seperate with spaces) $afio_nocompress_types =3D 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG = taz tgz deb rpm bz2 lzo'; # True to show block numbers $afio_echo_block =3D 'false'; # Files less than this size (kilobytes) won't be compressed $afio_compress_threshold =3D '3'; # Maximum amount of memory (megabytes) to use for temporary storage of # compression results. If a compressed file is bigger than this, = compression # will have to run twice on the file (see manpage). $afio_compress_cache_size =3D '2'; # ---------------------------------------------------------------------- # Parameters for 'tar' only # True to show record numbers $tar_echo_record_num =3D 'false'; # ---------------------------------------------------------------------- # Parameters for 'cpio' only # Format of cpio archive $cpio_format =3D 'newc'; # ---------------------------------------------------------------------- # Parameters for 'dump' only # Estimated tape size (in kilobytes). This number doesn't really do much # but help 'dump' get size estimates if set to zero uses 'dump -a' $dump_length =3D '0'; # True to use /etc/dumpdates (could mess things up if you dump = subdirectories # of mount points). False to use flexbackup's timestamps. $dump_use_dumpdates =3D 'false'; # ---------------------------------------------------------------------- # Parameters for 'star' only # Use fifo (buffering)? (you probably want to set $buffer=3Dfalse above = if so) $star_fifo =3D 'true'; # Handle ACLs? $star_acl =3D 'true'; # Format of star archive $star_format =3D 'exustar'; # True to show block numbers $star_echo_block_num =3D 'false'; # ---------------------------------------------------------------------- # Parameters for 'pax' only # Format of pax archive $pax_format =3D 'ustar'; # ---------------------------------------------------------------------- # Parameters for 'zip' only # File extensions that should not be compressed (seperate with spaces) $zip_nocompress_types =3D 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG = taz tgz deb rpm bz2 lzo'; # ---------------------------------------------------------------------- # Parameters for 'package delta' backups # Archive a list of all installed packages in the top level of each = backup? # Can be 'false', 'true' (save it for any backup), or # 'rootonly' (saves list only if the filesystem is '/') $pkgdelta_archive_list =3D 'rootonly'; # Archive files not "owned" by packages? $pkgdelta_archive_unowned =3D 'true'; # Archive any package-owned files which have been modified? $pkgdelta_archive_changed =3D 'true'; # ---------------------------------------------------------------------- # Paths to commands. Default will look for them in $PATH. Use this if # you want to set commands explicitly. You can use full paths or just # change command names. # # Example: If GNU tar is called "gtar" on your system: $path{'tar'} =3D 'sudo tar'; $path{'afio'} =3D 'sudo afio'; $path{'cpio'} =3D 'sudo cpio'; $path{'dump'} =3D 'sudo /sbin/dump'; $path{'star'} =3D 'sudo star'; $path{'find'} =3D 'sudo find'; $path{'buffer'} =3D 'sudo buffer'; # # Or can be used to "sudo" certain commands. Examples: # $path{'find'} =3D 'sudo find'; # $path{'dump'} =3D 'sudo dump'; # $path{'afio'} =3D 'sudo -u nonrootuser afio'; # # ---------------------------------------------------------------------- # mt operation overrides. Set if flexbackup doesn't know the right mt # command(s) for your OS/device, or you want to override things. # # Example: use "mt status" instead of "mt tell" # $mt{'tell'} =3D 'status'; ###################################################################### # # $Id: flexbackup.conf,v 1.74 2003/09/21 22:59:58 edwinh Exp $ # $Name: v1_2_1 $ # # Leave '1;' on the the next line - for perl 'require' 1; -- !snip -- ---------------------------------------- Jim Conner -- Senior Systems Engineer=20 818.735.8970- Perl Developer TLBCreative http://www.tlbcreative.com 32123 Lindero Cyn Rd Ste 200 Westlake Village,CA 91361 --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 4/11/2005 =20 |
From: Gregory M. <gma...@gm...> - 2005-04-11 19:01:54
|
Hello All, I have an ide tape drive. (AIX2) 35/90gb tape drive. When I run a backup job I get several i/o errors. Here is a cutout of my syslog: Apr 5 23:00:02 fs1 kernel: st0: Block limits 32768 - 32768 bytes. Apr 5 23:00:02 fs1 kernel: st0: Error with sense data: Current st0: sense key Illegal Request Apr 5 23:00:02 fs1 kernel: Additional sense: Parameter not supported Apr 5 23:00:02 fs1 kernel: st0: Error with sense data: Current st0: sense key Illegal Request Apr 5 23:00:02 fs1 kernel: Additional sense: Invalid field in cdb Apr 5 23:00:18 fs1 kernel: st0: Error with sense data: Current st0: sense key Illegal Request Apr 5 23:00:18 fs1 kernel: Additional sense: Invalid field in cdb Apr 5 23:00:18 fs1 kernel: st0: Can't set default block size to 0 bytes and density ffffffff. Apr 5 23:00:19 fs1 kernel: st0: Error with sense data: Current st0: sense key Illegal Request Apr 5 23:00:19 fs1 kernel: Additional sense: Invalid field in cdb Apr 5 23:00:19 fs1 kernel: st0: Can't set default block size to 0 bytes and density ffffffff. I find that the dd command freezes up and I cannot even kill -9 the process. (most likely because it is a kernel processes). Does anyone know why this processess might be looking up. I have the feeling it has something to do with ide-scsi. Thank You, Greg |
From: Charlie B. <cha...@e-...> - 2005-04-07 15:02:42
|
On Thu, 7 Apr 2005, Dan wrote: > Problem: > > The system does not provide effectively for incremental backups, and in > any case that would require sensible tape management. I want a full > nightly backup on a new tape each night. However, the data set is too > large for the tape, and restoring can be complex. I don't know how much it will help, but you could take a look at spantape - might not be too hard to fit underneath flexbackup: http://freshmeat.net/projects/spantape/ spantape is a replacement for dd that features the ability to sequentially span a stream of bytes across multiple SCSI tapes. It supports both fixed and variable block sizes and assures the correct order of tapes during data recovery. Author: Sebastian Zagrodzki -- Charlie |
From: Simon M. <sim...@ch...> - 2005-04-07 11:54:34
|
> I am writing some [minimal] oss software, after 5 years of just using i= t. > > Background: > > Simplified "unmanaged" distributions like e-smith / SME server > (www.contribs.org) are not supposed to require a full-time admin. > > Once setup by someone competent, they require nil maintenance unless > something breaks. > > I am unsatisfied with the backup solutions available. Hard drives are > now large, but large tape drives are expensive, especially for the s in > SME. > > I like the DDS2 tape drives that are almost free and plentiful around > here, as are tapes used once only. > > > Problem: > > The system does not provide effectively for incremental backups, and in > any case that would require sensible tape management. I want a full > nightly backup on a new tape each night. However, the data set is too > large for the tape, and restoring can be complex. > > Solution: > > 1) Get flexbackup to prompt for the next tape via email. I couldn't > figure this out, and in a full backup every 24 hours you may find a tap= e > drive which is permanently in use. > > 2) Split the backup into five flexbackup sets, named by the days of the > week. Call flexbackup with date +%A as the set name. Define the sets, > each small enough to fit on a certain part of the drive. Automate this > using bash scripts and du, and a script to detect when the sets are too > large to fit on the tape > > Question: > > How can I determine the capacity of a tape in a generic fashion? I > want this to run on any e-smith machine. I think it's almost impossible to determine the capacity of a tape withou= t disabling hardware compression, which is on by default. Just yesterday I've built an rpm package of a tool I discovered which may be exactly what you want. It's called SpanTape and is available here http://sokrates.mimuw.edu.pl/~sebek/spantape/ and the rpm is here http://www.invoca.ch/pub/packages/spantape/ It works like dd but outputs to SCSI tapes and lets you span the output t= o multiple tapes. I didn't use it yet but it sounds very useful. Regards, Simon |
From: Dan <dr...@dt...> - 2005-04-07 08:35:03
|
I am writing some [minimal] oss software, after 5 years of just using it. Background: Simplified "unmanaged" distributions like e-smith / SME server (www.contribs.org) are not supposed to require a full-time admin. Once setup by someone competent, they require nil maintenance unless something breaks. I am unsatisfied with the backup solutions available. Hard drives are now large, but large tape drives are expensive, especially for the s in SME. I like the DDS2 tape drives that are almost free and plentiful around here, as are tapes used once only. Problem: The system does not provide effectively for incremental backups, and in any case that would require sensible tape management. I want a full nightly backup on a new tape each night. However, the data set is too large for the tape, and restoring can be complex. Solution: 1) Get flexbackup to prompt for the next tape via email. I couldn't figure this out, and in a full backup every 24 hours you may find a tape drive which is permanently in use. 2) Split the backup into five flexbackup sets, named by the days of the week. Call flexbackup with date +%A as the set name. Define the sets, each small enough to fit on a certain part of the drive. Automate this using bash scripts and du, and a script to detect when the sets are too large to fit on the tape Question: How can I determine the capacity of a tape in a generic fashion? I want this to run on any e-smith machine. |
From: s. k. <ke...@sp...> - 2005-03-23 19:37:48
|
Incoming from ale...@ca...: > "s. keeling" <ke...@sp...> wrote: > > > > cd /tmp > > tar xf /dev/tape /directory/you/wish/to/restore > > > > Change "/dev/tape" to whatever you call your tape drive. This should > > ok i will try that, but how do I find out what our tape drive is called? I It's mentioned in your flexbackup config file, assuming you used flexbackup to create the backup. Otherwise, it's /dev/st0 (SCSI drive) or /dev/nst0 (non-rewinding SCSI drive). If it's on an IDE interface, you'll have to figure out where (/dev/hda, /dev/hdb, /dev/hdc, ...). All of that is for Linux based systems. If you're on something else (FreeBSD, OpenBSD, Solaris, ...), it'll be completely different so you'll have to search their help for information. Type: uname -a to determine what you're running. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - - |
From: s. k. <ke...@sp...> - 2005-03-23 18:32:58
|
Incoming from ale...@ca...: > "s. keeling" <ke...@sp...> wrote: > > Incoming from ale...@ca...: > > > > > > I am trying to restore a whole folder using flexbackup 1.1.7 I am using the > > > command flexbackup -restore <path to folder> but whenever I do this I get the > > > following error message - > > > > > > flexbackup version 1.1.7 (http://flexbackup.sourceforge.net) > > > /etc/flexbackup.conf syntax OK > > > > > > |------------------------------------------------------------ > > > | Checking 'buffer' on this machine... Ok > > > | Checking /bin/sh on this machine... bash2 > > > |------------------------------------------------------------ > > > | Logging output to "flexbackup.extract.200503221458.log" > > > | Auto-set to type=copy compress=false > > > | Reading from on-disk file /home/e-smith/files/users/stagecoach/ > > > |------------------------------------------------------------ > > > Ummm... just copy your files, you have the whole tree... at > > > /usr/bin/flexbackup line 1988. > > > > > > What does this mean I am doing worng? > > > > Just a guess, but I believe it's saying you didn't compress the > > backup, and the files are still in their original format (as opposed > > to being stuffed into a tar or afio archive), so you should just "cp" > > them back into place: > > Thanks for your reply, I forgot to say the backups are on a tape, any idea? Then you should be able to get at them with tar: cd /tmp tar xf /dev/tape /directory/you/wish/to/restore Change "/dev/tape" to whatever you call your tape drive. This should write it all to /tmp. You might need to lose the leading "/" on the name of the stuff you're pulling out: tar xf /dev/tape directory/you/wish/to/restore Then, when you have it all, copy individual files: cp /tmp/blah/blah.txt /home/blah/blah.txt or copy recursively with -R: cp -R /tmp/blah /home/blah -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - - |
From: s. k. <ke...@sp...> - 2005-03-23 15:35:23
|
Incoming from ale...@ca...: > > I am trying to restore a whole folder using flexbackup 1.1.7 I am using the > command flexbackup -restore <path to folder> but whenever I do this I get the > following error message - > > flexbackup version 1.1.7 (http://flexbackup.sourceforge.net) > /etc/flexbackup.conf syntax OK > > |------------------------------------------------------------ > | Checking 'buffer' on this machine... Ok > | Checking /bin/sh on this machine... bash2 > |------------------------------------------------------------ > | Logging output to "flexbackup.extract.200503221458.log" > | Auto-set to type=copy compress=false > | Reading from on-disk file /home/e-smith/files/users/stagecoach/ > |------------------------------------------------------------ > Ummm... just copy your files, you have the whole tree... at > /usr/bin/flexbackup line 1988. > > > What does this mean I am doing worng? Just a guess, but I believe it's saying you didn't compress the backup, and the files are still in their original format (as opposed to being stuffed into a tar or afio archive), so you should just "cp" them back into place: # cd /path/where/they're/to/be/written/ # cp -R /where/the/archive/was/written/to . -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - - |
From: <ale...@ca...> - 2005-03-22 15:05:56
|
Hi, I am trying to restore a whole folder using flexbackup 1.1.7 I am using the command flexbackup -restore <path to folder> but whenever I do this I get the following error message - flexbackup version 1.1.7 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Logging output to "flexbackup.extract.200503221458.log" | Auto-set to type=copy compress=false | Reading from on-disk file /home/e-smith/files/users/stagecoach/ |------------------------------------------------------------ Ummm... just copy your files, you have the whole tree... at /usr/bin/flexbackup line 1988. What does this mean I am doing worng? Also I have done an interactive restore on a diffrent server using the command flexbackup -restore but this comes up wih an error message on this machine that is running 1.1.7.? I hope you can help me with this problem. Thankyou Alex |
From: Jim C. <jc...@tl...> - 2005-03-18 17:33:06
|
I have four machines (including the machine that is doing the backing up) that I am backing up to DAT. I will paste the config file below. I continue to get an error (that doesn't fail if I do it by command line) I am still not sure why the backup continues to try and grab a copy of lost+found. Clearly, there is a permissions problem but sudo is working on all the machines I'm backing up. The keyless ssh connections also work. (note, I have more comments after the screen dump and config dump in this mail). Here's a dump of my session: [backup@web2 ~]$ sudo flexbackup -set tlb flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking /bin/sh on this machine... bash2 | Checking shell on lb1... bash2 | Checking shell on web3... bash2 | Checking shell on web1... bash2 | Checking for required programs on host lb1... ------------- W A R N I N G ------------- THIS IS A PRIVATE COMPUTER SYSTEM. This computer system including all related equipment, network devices (specifically including Internet access), are provided only for authorized use. All computer systems may be monitored for all lawful purposes, including to ensure that their use is authorized, for management of the system, to facilitate protection against unauthorized access, and to verify security procedures, survivability and operational security. Monitoring includes active attacks by authorized personnel and their entities to test or verify the security of the system. During monitoring, information may be examined, recorded, copied and used for authorized purposes. All information including personal information, placed on or sent over this system may be monitored. Uses of this system, authorized or unauthorized, constitutes consent to monitoring of this system. Unauthorized use may subject you to criminal prosecution. Evidence of any such unauthorized use collected during monitoring may be used for administrative, criminal or other adverse action. Use of this system constitutes consent to monitoring for these purposes. Ok | Checking for required programs on host web3... ------------- W A R N I N G ------------- THIS IS A PRIVATE COMPUTER SYSTEM. This computer system including all related equipment, network devices (specifically including Internet access), are provided only for authorized use. All computer systems may be monitored for all lawful purposes, including to ensure that their use is authorized, for management of the system, to facilitate protection against unauthorized access, and to verify security procedures, survivability and operational security. Monitoring includes active attacks by authorized personnel and their entities to test or verify the security of the system. During monitoring, information may be examined, recorded, copied and used for authorized purposes. All information including personal information, placed on or sent over this system may be monitored. Uses of this system, authorized or unauthorized, constitutes consent to monitoring of this system. Unauthorized use may subject you to criminal prosecution. Evidence of any such unauthorized use collected during monitoring may be used for administrative, criminal or other adverse action. Use of this system constitutes consent to monitoring for these purposes. Ok | Checking for required programs on host web1... ------------- W A R N I N G ------------- THIS IS A PRIVATE COMPUTER SYSTEM. This computer system including all related equipment, network devices (specifically including Internet access), are provided only for authorized use. All computer systems may be monitored for all lawful purposes, including to ensure that their use is authorized, for management of the system, to facilitate protection against unauthorized access, and to verify security procedures, survivability and operational security. Monitoring includes active attacks by authorized personnel and their entities to test or verify the security of the system. During monitoring, information may be examined, recorded, copied and used for authorized purposes. All information including personal information, placed on or sent over this system may be monitored. Uses of this system, authorized or unauthorized, constitutes consent to monitoring of this system. Unauthorized use may subject you to criminal prosecution. Evidence of any such unauthorized use collected during monitoring may be used for administrative, criminal or other adverse action. Use of this system constitutes consent to monitoring for these purposes. Ok |------------------------------------------------------------ | Doing level 0 backup of set tlb using star | ERROR: Tape doesn't have an index! (use -newtape?) | Making sure tape is at end of data... | Backup set "tlb" (lb1:/boot lb1:/etc lb1:/root lb1:/usr/sbin lb1:/usr/bin lb1:/home lb1:/bin lb1:/sbin lb1:/lib lb1:/var/log lb1:/var/backup lb1:/usr/lib lb1:/usr/local/src web1:/home web1:/var/log web1:/boot /root web1:/etc web1:/var/backup web1:/usr/bin web1:/usr/sbin web1:/sbin web1:/bin web1:/usr/lib web1:/lib /home /var/log /root /boot /etc /var/backup /usr/sbin /usr/bin /sbin /bin /lib /usr/lib web3:/etc web3:/boot web3:/root web3:/var/log web3:/var/backup web3:/usr/local web3:/usr/bin web3:/usr/sbin web3:/bin) | Tape #0 |------------------------------------------------------------ At block 0. |------------------------------------------------------------ | Backup of: lb1:/boot | Date of this level 0 backup: Fri Mar 18 09:01:55 2005 | Date of last level 0 backup: the epoch |------------------------------------------------------------ | ssh -l backup lb1 'cd "/boot" && find . -depth -xdev ! -type s ! -regex \ | ".*/[Cc]ache/.*" ! -regex ".*~"$ ! -regex "lost+found" -print | sudo \ | star -c list=3D- -p -l -D -B -dirmode VOLHDR=3D"level 0 lb1:/boot = Fri Mar \ | 18 09:01:55 2005 star+gzip from web2.tlb.local" H=3Dexustar -fifo \ | -fifostats -acl -v -sparse -atime blocks=3D20 file=3D- | gzip -9; \ | x=3D(${PIPESTATUS[@]}); i=3D0; while [ $i -lt ${#x[@]} ]; do [ = ${x[$i]} -eq \ | 0 ] || exit ${x[$i]}; i=3D$(($i+1)); done' | dd ibs=3D10k obs=3D10k = \ | conv=3Dnoerror,sync of=3D"/dev/tape" |------------------------------------------------------------ ------------- W A R N I N G ------------- THIS IS A PRIVATE COMPUTER SYSTEM. This computer system including all related equipment, network devices (specifically including Internet access), are provided only for authorized use. All computer systems may be monitored for all lawful purposes, including to ensure that their use is authorized, for management of the system, to facilitate protection against unauthorized access, and to verify security procedures, survivability and operational security. Monitoring includes active attacks by authorized personnel and their entities to test or verify the security of the system. During monitoring, information may be examined, recorded, copied and used for authorized purposes. All information including personal information, placed on or sent over this system may be monitored. Uses of this system, authorized or unauthorized, constitutes consent to monitoring of this system. Unauthorized use may subject you to criminal prosecution. Evidence of any such unauthorized use collected during monitoring may be used for administrative, criminal or other adverse action. Use of this system constitutes consent to monitoring for these purposes. find: ./lost+found: Permission denied a level 0 lb1:/boot Fri Mar 18 09:01:55 2005 star+gzip from web2.tlb.local special a lost+found directory a grub/grub.conf 565 bytes, 2 tape blocks a grub/splash.xpm.gz 11050 bytes, 22 tape blocks a grub/menu.lst symbolic link to ./grub.conf a grub/device.map 82 bytes, 1 tape blocks a grub/stage1 512 bytes, 1 tape blocks a grub/stage2 106364 bytes, 208 tape blocks a grub/e2fs_stage1_5 7840 bytes, 16 tape blocks a grub/fat_stage1_5 7536 bytes, 15 tape blocks a grub/ffs_stage1_5 6880 bytes, 14 tape blocks a grub/jfs_stage1_5 8448 bytes, 17 tape blocks a grub/minix_stage1_5 7040 bytes, 14 tape blocks a grub/reiserfs_stage1_5 9408 bytes, 19 tape blocks a grub/vstafs_stage1_5 6528 bytes, 13 tape blocks a grub/xfs_stage1_5 9320 bytes, 19 tape blocks a grub directory a message.ja 21282 bytes, 42 tape blocks a message 23108 bytes, 46 tape blocks a boot.b 5824 bytes, 12 tape blocks a chain.b 612 bytes, 2 tape blocks a os2_d.b 640 bytes, 2 tape blocks a vmlinuz symbolic link to vmlinuz-2.4.20-20.8.um.1 a System.map symbolic link to System.map-2.4.20-20.8.um.1 a module-info symbolic link to module-info-2.4.20-20.8.um.1 a kernel.h 473 bytes, 1 tape blocks a module-info-2.4.20-20.8.um.1 15438 bytes, 31 tape blocks a System.map-2.4.20-20.8.um.1 519383 bytes, 1015 tape blocks a config-2.4.20-20.8.um.1 44790 bytes, 88 tape blocks a initrd-2.4.20-20.8.um.1.img 148886 bytes, 291 tape blocks a vmlinux-2.4.20-20.8.um.1 3175731 bytes, 6203 tape blocks a vmlinuz-2.4.20-20.8.um.1 1120646 bytes, 2189 tape blocks a . directory star: fifo had 125 puts 520 gets. star: fifo was 1 times empty and 0 times full. star: fifo held 5181440 bytes max, size was 8396800 bytes star: 520 blocks + 0 bytes (total of 5324800 bytes =3D 5200.00k). 0+688 records in 688+0 records out ERROR: non-zero exit from: ssh -l backup lb1 'cd "/boot" && find . -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ ! -regex "lost+found" -print | sudo star -c list=3D- -p -l -D -B -dirmode VOLHDR=3D"level 0 lb1:/boot Fri = Mar 18 09:01:55 2005 star+gzip from web2.tlb.local" H=3Dexustar -fifo = -fifostats -acl -v -sparse -atime blocks=3D20 file=3D- | gzip -9; = x=3D(${PIPESTATUS[@]}); i=3D0; while [ $i -lt ${#x[@]} ]; do [ ${x[$i]} -eq 0 ] || exit = ${x[$i]}; i=3D$(($i+1)); done' | dd ibs=3D10k obs=3D10k conv=3Dnoerror,sync = of=3D"/dev/tape" ERROR: exiting |------------------------------------------------------------ | Backup start: Fri Mar 18 09:01:55 2005 | Backup end: Fri Mar 18 09:02:03 2005 |------------------------------------------------------------ At block 688. |------------------------------------------------------------ | Rewinding... | Compressing log (tlb.0.200503180901.gz) | Linking tlb.latest.gz -> tlb.0.200503180901.gz |------------------------------------------------------------ Here's a dump of my config file: [backup@web2 ~]$ sudo cat /etc/flexbackup.conf # -*-Mode: perl-*- # ---------------------------------------------------------------------- # Flexbackup configuration file # check "flexbackup -help" for usage information # ---------------------------------------------------------------------- # General configuration section # Archive type? afio, dump, tar, cpio, star, pax, zip, lha, ar, shar # 'copy' or 'rsync' are extra options if running in archive-to-disk mode. # 'filelist' dumps a list of files in your cwd - for debugging setup/exclusion $type =3D 'star'; # Configure backup "sets". # Not needed if you use "-dir <dir>" to backup one tree at a time. # Each set is a simple space-separated list of filesystems # Remote filesystems should denoted as 'host:dir' # You can use anything (other than 'all') as set names # # Example: # $set{'set1'} =3D "/home /usr"; # $set{'set2'} =3D "/dir3 machine2:/dir4 machine3:/dir5"; # # "-set all" will back up all defined sets. If you are doing a full backup # using tapes, each "set" will go onto a different tape and you will be # prompted for tape change in between. # $set{'tlb'} =3D 'lb1:/boot ' . 'lb1:/etc ' . 'lb1:/root ' . 'lb1:/usr/sbin ' . 'lb1:/usr/bin ' . 'lb1:/home ' . 'lb1:/bin ' . 'lb1:/sbin ' . 'lb1:/lib ' . 'lb1:/var/log ' . 'lb1:/var/backup ' . 'lb1:/usr/lib ' . 'lb1:/usr/local/src '. 'web1:/home ' . 'web1:/var/log ' . 'web1:/boot /root ' . 'web1:/etc ' . 'web1:/var/backup ' . 'web1:/usr/bin ' . 'web1:/usr/sbin ' . 'web1:/sbin ' . 'web1:/bin ' . 'web1:/usr/lib ' . 'web1:/lib ' . '/home ' . '/var/log ' . '/root ' . '/boot ' . '/etc ' . '/var/backup ' . '/usr/sbin ' . '/usr/bin ' . '/sbin ' . '/bin ' . '/lib ' . '/usr/lib ' . 'web3:/etc ' . 'web3:/boot ' . 'web3:/root ' . 'web3:/var/log ' . 'web3:/var/backup ' . 'web3:/usr/local ' . 'web3:/usr/bin ' . 'web3:/usr/sbin ' . 'web3:/bin'; ## Individual sets (requires a tape per set $set{'lb1'} =3D 'lb1:/boot '. 'lb1:/etc '. 'lb1:/root '. 'lb1:/usr/sbin '. 'lb1:/usr/bin '. 'lb1:/home '. 'lb1:/bin '. 'lb1:/sbin '. 'lb1:/lib '. 'lb1:/var/log '. 'lb1:/var/backup '. 'lb1:/usr/lib '. 'lb1:/usr/local/src'; $set{'web1'} =3D 'web1:/home '. 'web1:/var/log '. 'web1:/boot /root '. 'web1:/etc '. 'web1:/var/backup '. 'web1:/usr/bin '. 'web1:/usr/sbin '. 'web1:/sbin '. 'web1:/bin '. 'web1:/usr/lib '. 'web1:/lib'; $set{'web2'} =3D '/home /var/log /root /boot /etc /var/backup = /usr/sbin'. '/usr/bin /sbin /bin /lib /usr/lib'; $set{'web3'} =3D 'web3:/etc '. 'web3:/boot '. 'web3:/root '. 'web3:/var/log '. 'web3:/var/backup '. 'web3:/usr/local '. 'web3:/usr/bin '. 'web3:/usr/sbin '. 'web3:/bin'; # Subtree pruning # A space-separated list of directories to prune from each backup. # Key is a filesystem or host:dir spec as outlined above # regular expressions allowed (not shell-type wildcards!) $prune{'/'} =3D "tmp proc lost+found"; $prune{'/usr'} =3D "lost+found"; $prune{'/boot'} =3D "lost+found"; # Compression $compress =3D 'gzip'; # one of false/gzip/bzip2/lzop/zip/compress/hardware $compr_level =3D '9'; # compression level (1-9) (for gzip/bzip2/lzop/zip) # Buffering program - to help streaming $buffer =3D 'false'; # one of false/buffer/mbuffer $buffer_megs =3D '10'; # buffer memory size (in megabytes) $buffer_fill_pct =3D '75'; # start writing when buffer this percent full $buffer_pause_usec =3D '100'; # pause after write (tape devices only) # Device to backup to. -->> non-rewinding version, please! <<-- # # Examples: # Linux SCSI: /dev/nst0 Linux IDE: /dev/nht0 # Linux ftape: /dev/nqft0 FreeBSD SCSI: /dev/nrsa0 (4.x compat device node) # FreeBSD SCSI: /dev/nsa0 (5.x) # # If a directory, will archive to files in that directory rather than a device # If "host:/dev/tapedevice", will use remote tape drive via rsh/ssh # $device =3D '/dev/tape'; # Block size (in kilobytes!) to use for archive programs and dd. Default is # 10 for most things. Some tape drives need 32 or 64. Set to '0' to # disable all blocking $blksize =3D '10'; # Block size (in bytes!) to use for the tape device, with "mt setblk" or # equivalent. If set to 0, will use "variable" block size for the tape # device (which is recommended). Comment out or set to "$blksize * 1024" to # have it be the same as the archiver block size above. $mt_blksize =3D "0"; # Padding. True to pad blocks to blocksize # (devices only, not used when archiving to files) $pad_blocks =3D 'true'; # Other global flags $remoteshell =3D 'ssh'; # command for remote shell (rsh/ssh/ssh2) $remoteuser =3D 'backup'; # if non-null, secondary username for remote shells $label =3D 'true'; # somehow store identifying label in archive? $verbose =3D 'true'; # echo each file? $sparse =3D 'true'; # handle sparse files? $indexes =3D 'true'; # false to turn off all table-of-contents = support # If backing up to files, use static filenames - no date stamp # (same level backup of same directory will overwrite old backups) $staticfiles =3D 'false'; # True to try and preserve file access times during backup, if the selected # archive program can do so. Note that if this is true, -cnewer checks (file # permission/status changes only, not content) are turned off when deciding # which files to archive on the local system. $atime_preserve =3D 'true'; # Span across filesytems? ("dump" will ignore this option) # Set to "false" (don't) , "local" (all but nfs/smbfs), or "all" (everything) $traverse_fs =3D 'false'; # Exclude files that match these *regular expressions* (not shell wildcards) # from the backups (no affect on 'dump' archives). You can list more than one, # just keep incrementing the index in the brackets for each. Also, strip off # leading directories (the filesystem specs above or the "-dir" flag). # Matches paths, not filenames, so put .* on the front/back as needed. # Comment these out to exclude nothing. $exclude_expr[0] =3D '.*/[Cc]ache/.*'; $exclude_expr[1] =3D '.*~$'; $exclude_expr[2] =3D '^#.*'; $exclude_expr[2] =3D 'lost+found'; # If true (default), and using a tape device, level zero "set" backups # assume you want to erase and use a new tape for each set. If false, level # zero "set" backups append to tapes. To force an erase for any backup, # use "-erase" on the commandline. $erase_tape_set_level_zero =3D 'false'; # Set this to "true" to make erase operations just call "mt rewind" - not # "mt rewind' followed by "mt erase". (For some tape drives, erase takes # hours rather than seconds or is otherwise undesirable) $erase_rewind_only =3D 'false'; # ---------------------------------------------------------------------- # Log/stamp files, path for temporary files $logdir =3D '/var/log/flexbackup'; # directory for log files $comp_log =3D 'gzip'; # compress log? false/gzip/bzip2/lzop/compress/zip $staticlogs =3D 'false'; # static log filenames w/ no date stamp $prefix =3D ''; # log files will start with this prefix $tmpdir =3D '/tmp'; # used for temporary refdate files, etc $stampdir =3D '/var/lib/flexbackup'; # directory for backup timestamps $index =3D '/var/lib/flexbackup/index'; # DB filename for tape indexes $keyfile =3D '00-index-key'; # filename for keyfile if archiving to dir $sprefix =3D ''; # stamp files will start with this prefix # ---------------------------------------------------------------------- # Parameters for 'afio' only # File extensions that should not be compressed (seperate with spaces) $afio_nocompress_types =3D 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; # True to show block numbers $afio_echo_block =3D 'false'; # Files less than this size (kilobytes) won't be compressed $afio_compress_threshold =3D '3'; # Maximum amount of memory (megabytes) to use for temporary storage of # compression results. If a compressed file is bigger than this, compression # will have to run twice on the file (see manpage). $afio_compress_cache_size =3D '2'; # ---------------------------------------------------------------------- # Parameters for 'tar' only # True to show record numbers $tar_echo_record_num =3D 'false'; # ---------------------------------------------------------------------- # Parameters for 'cpio' only # Format of cpio archive $cpio_format =3D 'newc'; # ---------------------------------------------------------------------- # Parameters for 'dump' only # Estimated tape size (in kilobytes). This number doesn't really do much # but help 'dump' get size estimates if set to zero uses 'dump -a' $dump_length =3D '0'; # True to use /etc/dumpdates (could mess things up if you dump subdirectories # of mount points). False to use flexbackup's timestamps. $dump_use_dumpdates =3D 'false'; # ---------------------------------------------------------------------- # Parameters for 'star' only # Use fifo (buffering)? (you probably want to set $buffer=3Dfalse above = if so) $star_fifo =3D 'true'; # Handle ACLs? $star_acl =3D 'true'; # Format of star archive $star_format =3D 'exustar'; # True to show block numbers $star_echo_block_num =3D 'false'; # ---------------------------------------------------------------------- # Parameters for 'pax' only # Format of pax archive $pax_format =3D 'ustar'; # ---------------------------------------------------------------------- # Parameters for 'zip' only # File extensions that should not be compressed (seperate with spaces) $zip_nocompress_types =3D 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG = taz tgz deb rpm bz2 lzo'; # ---------------------------------------------------------------------- # Parameters for 'package delta' backups # Archive a list of all installed packages in the top level of each backup? # Can be 'false', 'true' (save it for any backup), or # 'rootonly' (saves list only if the filesystem is '/') $pkgdelta_archive_list =3D 'rootonly'; # Archive files not "owned" by packages? $pkgdelta_archive_unowned =3D 'true'; # Archive any package-owned files which have been modified? $pkgdelta_archive_changed =3D 'true'; # ---------------------------------------------------------------------- # Paths to commands. Default will look for them in $PATH. Use this if # you want to set commands explicitly. You can use full paths or just # change command names. # # Example: If GNU tar is called "gtar" on your system: $path{'tar'} =3D 'sudo tar'; $path{'afio'} =3D 'sudo afio'; $path{'cpio'} =3D 'sudo cpio'; $path{'dump'} =3D 'sudo dump'; $path{'star'} =3D 'sudo star'; # # Or can be used to "sudo" certain commands. Examples: # $path{'find'} =3D 'sudo find'; # $path{'dump'} =3D 'sudo dump'; # $path{'afio'} =3D 'sudo -u nonrootuser afio'; # # ---------------------------------------------------------------------- # mt operation overrides. Set if flexbackup doesn't know the right mt # command(s) for your OS/device, or you want to override things. # # Example: use "mt status" instead of "mt tell" # $mt{'tell'} =3D 'status'; ###################################################################### # # $Id: flexbackup.conf,v 1.74 2003/09/21 22:59:58 edwinh Exp $ # $Name: v1_2_1 $ # # Leave '1;' on the the next line - for perl 'require' 1; I ran the -newtape option and it didn't solve the problem. Additionally, I changed from using buffer and afio to star and that didn't help anything either. You know, just troubleshooting. I thought there may be an application error or something. Any help would be greatly appreciated. Note, that I'm using the tlb set only (not the all set) because I want to put all the backups onto one tape for now. ---------------------------------------- Jim Conner -- Senior Systems Engineer=20 818.735.8970- Perl Developer TLBCreative http://www.tlbcreative.com 13232 Lindero Rd. Ste 200 Westlake Village,CA 91361 |
From: Tobias T. <tob...@gm...> - 2005-03-18 12:55:30
|
Hi, I've got a Problem running the Extract Command with Flexbackup. I've configured FlexBackup to create tar archives with gzip compression. Backup seems to work fine. No Error is reported. When I try to restore (extract) Files from the Archive the following Error is reported: gzip: stdin: not in gzip format tar: ./VV.ShopSystemNG/class/class.shop.php: Not found in archive tar: Error exit delayed from previous errors I've tested Flexbackup with the -test-tape-drive Parameter. Even that works fine... "SUCCESS! Tape drive parameters seem to work just fine" So I think the Drive itself cannot be the Problem. Does anyone has any Idea what could cause this Problem? Thank you for your Help.... Regards Tobias Maybe this could be usefull: webdev# uname -v FreeBSD 4.10-STABLE #0: Wed Aug 4 12:19:49 CEST 2004 root@**************:/usr/obj/usr/src/sys/WEBDEV webdev# flexbackup -version flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) $Id: flexbackup,v 1.185 2003/10/10 14:12:09 edwinh Exp $ webdev# gzip --version gzip 1.2.4 (18 Aug 93) webdev# tar --version tar (GNU tar) 1.13.25 Copyright (C) 2001 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by John Gilmore and Jay Fenlason. |
From: Lukasz S. <admin-flexbackup@k.telmark.waw.pl> - 2005-03-09 08:09:51
|
Byla godzina 17:06:49 w Tuesday 08 March, gdy do autobusu wsiadl kanar i wrzasnal:"s. keeling!!! Bilecik do kontroli!!!" A on(a) na to: sk> (0) f.q.d.n flexb_=20 ^^^^^^ [...] sk>>> I'm making the flexbackup user do the remote stuff via sudo. What do sk>>> I need to allow in /etc/sudoers for flexbackup to work? sk>>=20 sk>> If I were you I would set all the things up the way that you backup sk>> user could log in to the server as root. There is quite an easy sk>=20 sk> Against my better judgement: sk>=20 sk> flexb ALL=3D(ALL) NOPASSWD: ALL How about an underscore few lines above (flexb_)? Czym sie cieplo s.... --=20 |/ |_, _ .- --, Ju=BF z ka=BFdej strony pe=B3zn=B1, potworne =BF= =B1dze |__ |_|. | \ |_|. ._' /_. B=EAd=EA uprawia=B3 nierz=B1d, za pieni= =B1dze |
From: s. k. <ke...@sp...> - 2005-03-09 00:05:03
|
Incoming from Lukasz Stelmach: > Byla godzina 10:06:53 w Tuesday 08 March, gdy do autobusu wsiadl kanar > i wrzasnal:"s. keeling!!! Bilecik do kontroli!!!" A on(a) na to: > > [...] > sk> Why did it complain about bbuser and not the other users' files? The > sk> permissions on his home dir are the same as everyone else's and the > > This one is really hard to tell since you are the only one that > can see all the details. You're right. In fact, I was wrong. :-P It's really failing on all non-world readable file/dirs: find: ./lost+found: Permission denied find: ./usera: Permission denied find: ./userb: Permission denied find: ./userc: Permission denied And this is after opening up sudo's perms for the remote fb user (see below). > sk> Why does the flexbackup command prompt me for the flexbackup user's > sk> password? How am I supposed to stuff this into a cron job when that's > sk> going on? > > Public key authentication. (0) local flexb_ ssh f.q.d.n Linux f.q.d.n 2.4.22-1.2115.nptlsmp #1 SMP Wed Oct 29 15:30:09 EST 2003 i686 (0) f.q.d.n flexb_ The fb user on my backup machine can ssh without password to the machine I want to backup. > sk> I'm making the flexbackup user do the remote stuff via sudo. What do > sk> I need to allow in /etc/sudoers for flexbackup to work? > > If I were you I would set all the things up the way that you backup > user could log in to the server as root. There is quite an easy Against my better judgement: flexb ALL=(ALL) NOPASSWD: ALL I've also tried with: flexb localhost=(ALL) NOPASSWD: /usr/bin/find, /bin/tar, /bin/dd > and safe way to do it. With openssh you can specify a command a user > can invoke if authenticated with a specific public key. Browse > the ssh manual pages an look for 'command=' and 'authorized_keys'. Thanks, I'll try banging my head on those. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - - |
From: Lukasz S. <admin-flexbackup@k.telmark.waw.pl> - 2005-03-08 23:19:51
|
Byla godzina 10:06:53 w Tuesday 08 March, gdy do autobusu wsiadl kanar i wrzasnal:"s. keeling!!! Bilecik do kontroli!!!" A on(a) na to: [...] sk> Why did it complain about bbuser and not the other users' files? The sk> permissions on his home dir are the same as everyone else's and the sk> perms on those files are correct. This one is really hard to tell since you are the only one that can see all the details. sk> Why did it go through all that then blow away the archive it was sk> creating? The index is still there, but no backup. I'd try to repeat all the moves of flexbackup by hand. Because flexbackup is "just" a script that automates things but does not do anything special itself you can try to repeat every single step fb does. sk> Why does the flexbackup command prompt me for the flexbackup user's sk> password? How am I supposed to stuff this into a cron job when that's sk> going on? Public key authentication. sk> I'm making the flexbackup user do the remote stuff via sudo. What do sk> I need to allow in /etc/sudoers for flexbackup to work? If I were you I would set all the things up the way that you backup user could log in to the server as root. There is quite an easy and safe way to do it. With openssh you can specify a command a user can invoke if authenticated with a specific public key. Browse the ssh manual pages an look for 'command=3D' and 'authorized_keys'. Czym sie cieplo s.... --=20 |/ |_, _ .- --, Ju=BF z ka=BFdej strony pe=B3zn=B1, potworne =BF= =B1dze |__ |_|. | \ |_|. ._' /_. B=EAd=EA uprawia=B3 nierz=B1d, za pieni= =B1dze |