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-06-07 16:21:51
|
Hi list and niall=20 Can you run a simple tar to the drive? mt -f /dev/st0 status - I've already answered=20 mt -f /dev/st0 rewind Nothing too [root@annuaire31 flextest]# tar cf /dev/nst0 /etc tar: Retrait de l'en-t=C3=AAte `/' des noms des membres mt -f /dev/st0 rewind Take time but ok tar tf /dev/nst0 Ok it show me all the tar that I've done. Try manually setting the blocksize to the same as what you're using in the script. "mt -f /dev/st0 setblk 1024" and use $mt_blksize =3D "1024"; I've done it and do a=20 Flexbackup-test-tape-drive but it's not better. Thanks for all Niall ******************************************************************** 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: <Erw...@sy...> - 2005-06-07 16:15:10
|
RE Niall After erasing, i'll give you all infos about each questions you asked to m= e. What output do you get from: " mt status " ? [root@annuaire31 local]# mt -f /dev/st0 status SCSI 2 tape drive: File number=3D0, block number=3D0, partition=3D0. Tape block size 4096 bytes. Density code 0x47 (TR-5). Soft error count since last status=3D0 General status bits on (41010000): BOT ONLINE IM_REP_EN Are you using version 1.2.1 of flexbackup? Yes =20 OK - take compression and the tape out of your next test. Make a directory /tmp/FlexTest, =20 set these options and run flexbackup again. $compress =3D 'false'; $device =3D '/tmp/FlexTest/'; Now " flexbackup -test-tape-drive " will say, 'No use trying tape drive tes= ts on directories!', but it will tell you if the rest of your syntax is correc= t. Say nothing so syntax ok If you get no errors, run it again without compression but with the tape: $compress =3D 'false'; $device =3D '/dev/nst0'; [root@annuaire31 flextest]# flexbackup -test-tape-drive -compress=3Dfalse -device=3Dst0 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 minutes, | Hit CTRL-C, and try adjusting $blksize, $pad_blocks, or $mt_blksize. |------------------------------------------------------------ | Rewinding & erasing tape... | Creating index key 200506071610 |------------------------------------------------------------ At block 0. Writing test file #1 Kilobytes Out 160 At block 0. Writing test file #2 Kilobytes Out 10 At block 0. Writing test file #3 Kilobytes Out 160 At block 0. Rewinding... Skipping index label... At block 0. Reading test file #1 Kilobytes Out 160 At block 0. Reading test file #2 Kilobytes Out 160 At block 0. Reading test file #3 Kilobytes Out 160 At block 0. Comparing... Les fichiers /etc/flexbackup.conf et /tmp/test2.3734 sont diff=C3=A9rents. FAILURE! Problem with tape driver or parameters. Please see the FAQ or try changing the $blksize, $pad_blocks, or $mt_blksize settings. =20 [root@annuaire31 flextest]# flexbackup -test-tape-drive -compress=3Dfalse -device=3Dnst0 flexbackup version 1.2.1 /etc/flexbackup.conf syntax OK Errors: $device must be set to a directory, a local device, or a remote device =20 Please answer the list rather than me personally, so that others may benefit and offer further advice. Good luck, Niall On Mon, 6 Jun 2005 Erw...@sy... wrote: > Hi Niall. > Yes, I've already tried all this feature. > For the compression to I've already tried bzip, gzip, hardware and so on. > My impression is the next one. > After each > flexbackup-test-tape-drive > It send me >=20 > Comparing... > directory /etc/flexbackup.conf and /tmp/test2.10734 are diff=C3=A9rents >=20 > FAILURE! Problem with tape driver or parameters. Please see the FAQ=20 > or try changing the $blksize, $pad_blocks, or $mt_blksize settings. >=20 > SO I've tried to see what is talking about this /tmp/test. > I modified the script and I copy them into a directory and when i=20 > open it it was just the /usr/bin/flexbackup. > SO no idea but I continue. > Thanks a lot for your help >=20 > -----Message d'origine----- > De : Niall Brosnan [mailto:ni...@la... <mailto:ni...@la...> ] Envoy=E9 : lundi 6=20 > juin 2005 11:46 =C0 : CHEVALIER, Erwan -Syntegra FR Objet : Re:=20 > [flexbackup-help] blksize parameters (fwd) >=20 > Hi Erwan, > here is the message as sent to the list on Thursday. > Do you usually receive list mail? >=20 > Hope it helps, > Niall >=20 > ---------- Forwarded message ---------- > Date: Thu, 2 Jun 2005 11:29:06 +0100 (IST) > From: Niall Brosnan <ni...@cs...> > To: fle...@li... > Subject: Re: [flexbackup-help] blksize parameters >=20 > Dear Erwan, >=20 > > From: Erw...@sy... > > Dear Flexbackup users, > > I've tried all blksize between 0 and 512 which my max, and none of=20 > > this values is correct, so anyone can explain to me, where i'm wrong. > > Here is my Flexbackup.conf >=20 > I assume you are using linux, and you should first change this setting: > > $device =3D '/dev/st0'; > to > $device =3D '/dev/nst0'; > This is very important! >=20 > > Dell Powervault 100T DAT 72 with magnetic tape of 36-72 GB. > If your tape drive has compression turned on, you should not use=20 > software compression. > I would recommend using software compression where possible as you=20 > will get better predictions on size, and you will get better=20 > portability of your backups. > It's far easier to recompile bzip2 for a new platform than it is to=20 > reverse engineer a compression algorithm on a chip when your Dell tape drive dies. >=20 > What errors are you seeing in /var/log/flexbackup ? > Why do you feel that the blksize is your problem? >=20 > Niall >=20 >=20 >=20 >=20 >=20 > ******************************************************************** >=20 > This email may contain information which is privileged or=20 > confidential. If you are not the intended recipient of this email,=20 > please notify the sender immediately and delete it without reading,=20 > copying, storing, forwarding or disclosing its contents to any other=20 > person Thank you >=20 > Check us out at http://www.bt.com/consulting <http://www.bt.com/consultin= g> >=20 > ******************************************************************** >=20 --=20 # The information transmitted in this Notice is intended only for # # the person or entity to which it is addressed and may contain # # confidential and/or privileged material. # # Any review, reproduction, retransmission, dissemination or other use # # of, or taking of any action in reliance upon, this information by # # persons or entities other than the intended recipient is prohibited. # # Niall Brosnan # Tel: +353-87-2337386 # # Communication Systems Consultants # Fax: +353-1-4926806 # # Athronan, Dunsany, Co. Meath, Ireland # mail: ni...@cs... # # GPG key fingerprint =3D 597C 0514 95B9 48DD 216F B892 5B51 D257 0D44 5B01= # Un*x: Because cat is faster than a mouse. =20 ******************************************************************** 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: s. k. <ke...@sp...> - 2005-06-07 15:03:19
|
Incoming from Niall Brosnan: > > Could you include your configuration again? > " grep -v -e ^\# -v -e ^$ /etc/flexbackup.conf " > will give us just your active configuration. grep -v '^#|^$' /etc/flexbackup.conf -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling Please don't Cc: me. - - |
From: <Erw...@sy...> - 2005-06-07 14:02:38
|
Yes already , for the moment i erase all the tape cause the process during 4 hours. So when it cleared, i do all things you said. But I have already made all of them. Thans a lot for all.=20 -----Message d'origine----- De : Niall Brosnan [mailto:ni...@la...]=20 Envoy=E9 : mardi 7 juin 2005 15:58 =C0 : CHEVALIER, Erwan -Syntegra FR Objet : Re: [flexbackup-help] help Hi Erwan, have you tried : $erase_rewind_only =3D 'true'; Your mail got me started on adding a few more machines to a flexbackup run = (I use amanda for scheduled backups, but flexbackup is very handy for snapshots), and one of my drives - a HP DDS2 - needs that or takes forever = to come online. Niall ******************************************************************** 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: Niall B. <ni...@la...> - 2005-06-07 12:59:48
|
Hi Erwan, I know you've probably tried most of this. Checking back on your mail of 5 May, I see: /dev/nst0: Input/output error There is nothing flexbackup can do until that is sorted. What blocksize does mt status report on a clean boot? Can you run a simple tar to the drive? mt -f /dev/st0 status mt -f /dev/st0 rewind tar cf /dev/nst0 /etc mt -f /dev/st0 rewind tar tf /dev/nst0 Try manually setting the blocksize to the same as what you're using in the script. "mt -f /dev/st0 setblk 1024" and use $mt_blksize = "1024"; Niall |
From: Niall B. <ni...@la...> - 2005-06-07 12:02:14
|
Hi Erwan, Could you include your configuration again? " grep -v -e ^\# -v -e ^$ /etc/flexbackup.conf " will give us just your active configuration. What output do you get from: " mt status " ? Are you using version 1.2.1 of flexbackup? OK - take compression and the tape out of your next test. Make a directory /tmp/FlexTest, set these options and run flexbackup again. $compress =3D 'false'; $device =3D '/tmp/FlexTest/'; Now " flexbackup -test-tape-drive " will say, 'No use trying tape drive tests on directories!', but it will tell you if the rest of your syntax is correct. If you get no errors, run it again without compression but with the tape: $compress =3D 'false'; $device =3D '/dev/nst0'; Please answer the list rather than me personally, so that others may benefit and offer further advice. Good luck, Niall On Mon, 6 Jun 2005 Erw...@sy... wrote: > Hi Niall. > Yes, I've already tried all this feature. > For the compression to I've already tried bzip, gzip, hardware and so on= =2E > My impression is the next one. > After each=20 > flexbackup-test-tape-drive > It send me >=20 > Comparing... > directory /etc/flexbackup.conf and /tmp/test2.10734 are diff=C3=A9rents >=20 > FAILURE! Problem with tape driver or parameters. Please see the FAQ > or try changing the $blksize, $pad_blocks, or $mt_blksize settings. >=20 > SO I've tried to see what is talking about this /tmp/test. > I modified the script and I copy them into a directory > and when i open it it was just the /usr/bin/flexbackup. > SO no idea but I continue. > Thanks a lot for your help >=20 > -----Message d'origine----- > De : Niall Brosnan [mailto:ni...@la...]=20 > Envoy=E9 : lundi 6 juin 2005 11:46 > =C0 : CHEVALIER, Erwan -Syntegra FR > Objet : Re: [flexbackup-help] blksize parameters (fwd) >=20 > Hi Erwan, > here is the message as sent to the list on Thursday. > Do you usually receive list mail? >=20 > Hope it helps, > Niall >=20 > ---------- Forwarded message ---------- > Date: Thu, 2 Jun 2005 11:29:06 +0100 (IST) > From: Niall Brosnan <ni...@cs...> > To: fle...@li... > Subject: Re: [flexbackup-help] blksize parameters >=20 > Dear Erwan, >=20 > > From: Erw...@sy... > > Dear Flexbackup users, > > I've tried all blksize between 0 and 512 which my max, and none of=20 > > this values is correct, so anyone can explain to me, where i'm wrong. > > Here is my Flexbackup.conf >=20 > I assume you are using linux, and you should first change this setting: > > $device =3D '/dev/st0'; > to > $device =3D '/dev/nst0'; > This is very important! >=20 > > Dell Powervault 100T DAT 72 with magnetic tape of 36-72 GB. > If your tape drive has compression turned on, you should not use software > compression. > I would recommend using software compression where possible as you will g= et > better predictions on size, and you will get better portability of your > backups. > It's far easier to recompile bzip2 for a new platform than it is to rever= se > engineer a compression algorithm on a chip when your Dell tape drive dies= =2E >=20 > What errors are you seeing in /var/log/flexbackup ? > Why do you feel that the blksize is your problem? >=20 > Niall >=20 >=20 >=20 >=20 >=20 > ******************************************************************** >=20 > This email may contain information which is privileged or confidential. I= f you are not the intended recipient of this email, please notify the sende= r immediately and delete it without reading, copying, storing, forwarding o= r disclosing its contents to any other person > Thank you >=20 > Check us out at http://www.bt.com/consulting >=20 > ******************************************************************** >=20 --=20 # The information transmitted in this Notice is intended only for = # # the person or entity to which it is addressed and may contain = # # confidential and/or privileged material. = # # Any review, reproduction, retransmission, dissemination or other use = # # of, or taking of any action in reliance upon, this information by = # # persons or entities other than the intended recipient is prohibited. = # # Niall Brosnan # Tel: +353-87-2337386 = # # Communication Systems Consultants # Fax: +353-1-4926806 = # # Athronan, Dunsany, Co. Meath, Ireland # mail: ni...@cs...= # # GPG key fingerprint =3D 597C 0514 95B9 48DD 216F B892 5B51 D257 0D44 5B01= # Un*x: Because cat is faster than a mouse. |
From: <Erw...@sy...> - 2005-06-07 11:24:23
|
Hi Niall. Yes, I've already tried all this feature. For the compression to I've already tried bzip, gzip, hardware and so on. My impression is the next one. After each flexbackup-test-tape-drive It send me Comparing... directory /etc/flexbackup.conf and /tmp/test2.10734 are différents FAILURE! Problem with tape driver or parameters. Please see the FAQ or try changing the $blksize, $pad_blocks, or $mt_blksize settings. SO I've tried to see what is talking about this /tmp/test. I modified the script and I copy them into a directory and when i open it it was just the /usr/bin/flexbackup. SO no idea but I continue. Thanks a lot for your help -----Message d'origine----- De : Niall Brosnan [mailto:ni...@la...] Envoyé : lundi 6 juin 2005 11:46 À : CHEVALIER, Erwan -Syntegra FR Objet : Re: [flexbackup-help] blksize parameters (fwd) Hi Erwan, here is the message as sent to the list on Thursday. Do you usually receive list mail? Hope it helps, Niall ---------- Forwarded message ---------- Date: Thu, 2 Jun 2005 11:29:06 +0100 (IST) From: Niall Brosnan <ni...@cs...> To: fle...@li... Subject: Re: [flexbackup-help] blksize parameters Dear Erwan, > From: Erw...@sy... > Dear Flexbackup users, > I've tried all blksize between 0 and 512 which my max, and none of > this values is correct, so anyone can explain to me, where i'm wrong. > Here is my Flexbackup.conf I assume you are using linux, and you should first change this setting: > $device = '/dev/st0'; to $device = '/dev/nst0'; This is very important! > Dell Powervault 100T DAT 72 with magnetic tape of 36-72 GB. If your tape drive has compression turned on, you should not use software compression. I would recommend using software compression where possible as you will get better predictions on size, and you will get better portability of your backups. It's far easier to recompile bzip2 for a new platform than it is to reverse engineer a compression algorithm on a chip when your Dell tape drive dies. What errors are you seeing in /var/log/flexbackup ? Why do you feel that the blksize is your problem? Niall ******************************************************************** 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: <Erw...@sy...> - 2005-06-03 15:04:13
|
Hello list,=20 =20 Can you explain to me , i tried to use flexbackup and more efficiently i would like to restore an old backup. For example, when I backup 3 or 4 differents "set" in different time. And I would like then restore number 2 , because to default it restore the last one. So i tried =20 flexbackup -extract -flist <f> flexbackup -extract -onefile <f> =20 May be I lost something, so give me an idea. thanks a lot.. ******************************************************************** 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: <Erw...@sy...> - 2005-06-02 07:30:45
|
Dear Flexbackup users, =20 I've tried all blksize between 0 and 512 which my max, and none of this values is correct, so anyone can explain to me, where i'm wrong. Here is my Flexbackup.conf =20 # -*-Mode: perl-*- # ---------------------------------------------------------------------- # Flexbackup configuration file # check "flexbackup -help" for usage information # ---------------------------------------------------------------------- # General configuration section =20 # 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 'afio'; =20 # 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{'backup'} =3D "/home"; =20 # 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"; =20 # Compression $compress =3D 'gzip'; # one of false/gzip/bzip2/lzop/zip/compress/hardware $compr_level =3D '4'; # compression level (1-9) (for gzip/bzip2/lzop/zip) =20 # 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) =20 # 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/st0'; =20 # 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'; =20 # 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"; =20 # Padding. True to pad blocks to blocksize # (devices only, not used when archiving to files) $pad_blocks =3D 'true'; =20 # Other global flags $remoteshell =3D 'ssh'; # command for remote shell (rsh/ssh/ssh2) $remoteuser =3D ''; # 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 =20 # If backing up to files, use static filenames - no date stamp # (same level backup of same directory will overwrite old backups) $staticfiles =3D 'false'; =20 # 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 'false'; =20 # Span across filesytems? ("dump" will ignore this option) # Set to "false" (don't) , "local" (all but nfs/smbfs), or "all" (everythin= g) $traverse_fs =3D 'false'; =20 # 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 o= ff # 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 '.*~$'; =20 # 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 'true'; =20 # 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'; $erase_rewind_only =3D 'true'; =20 # ---------------------------------------------------------------------- # Log/stamp files, path for temporary files =20 $logdir =3D '/var/log/flexbackup'; # directory for log files $comp_log =3D 'false'; # 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 =20 # ---------------------------------------------------------------------- # Parameters for 'afio' only =20 # 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'; =20 # True to show block numbers $afio_echo_block =3D 'false'; =20 # Files less than this size (kilobytes) won't be compressed $afio_compress_threshold =3D '3'; =20 # Maximum amount of memory (megabytes) to use for temporary storage of # compression results. If a compressed file is bigger than this, compressi= on # will have to run twice on the file (see manpage). $afio_compress_cache_size =3D '2'; =20 # ---------------------------------------------------------------------- # Parameters for 'tar' only =20 # True to show record numbers $tar_echo_record_num =3D 'false'; =20 # ---------------------------------------------------------------------- # Parameters for 'cpio' only =20 # Format of cpio archive $cpio_format =3D 'newc'; =20 # ---------------------------------------------------------------------- # Parameters for 'dump' only =20 # 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'; =20 # True to use /etc/dumpdates (could mess things up if you dump subdirectori= es # of mount points). False to use flexbackup's timestamps. $dump_use_dumpdates =3D 'false'; =20 # ---------------------------------------------------------------------- # Parameters for 'star' only =20 # Use fifo (buffering)? (you probably want to set $buffer=3Dfalse above if = so) $star_fifo =3D 'true'; =20 # Handle ACLs? $star_acl =3D 'true'; =20 # Format of star archive $star_format =3D 'exustar'; =20 # True to show block numbers $star_echo_block_num =3D 'false'; =20 # ---------------------------------------------------------------------- # Parameters for 'pax' only =20 # Format of pax archive $pax_format =3D 'ustar'; =20 # ---------------------------------------------------------------------- # Parameters for 'zip' only =20 # 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'; =20 # ---------------------------------------------------------------------- # Parameters for 'package delta' backups =20 # 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'; =20 # Archive files not "owned" by packages? $pkgdelta_archive_unowned =3D 'true'; =20 # Archive any package-owned files which have been modified? $pkgdelta_archive_changed =3D 'true'; =20 # ---------------------------------------------------------------------- # 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 'gtar'; # # 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'; # =20 # ---------------------------------------------------------------------- # 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'; =20 =20 ###################################################################### # # $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; =20 And I use magnetic tape drive=20 Dell Powervault 100T DAT 72 with magnetic tape of 36-72 GB. Thanks a lot for your answers !! ******************************************************************** 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: <Erw...@sy...> - 2005-06-01 08:33:14
|
Hi,=20 =20 I would like to know the meaning of these two variables : $blksize And mt_blksize =20 Can someone could explain clearly to me, how t configure this variable. Thanks a lot. ******************************************************************** 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: Mark M. <how...@ya...> - 2005-05-19 16:49:36
|
Carlos, I'd suggest using something like: $exclude_expr[0] = '.*(?<!\.nsf)$'; Prune is only for directories. Mark On Thu, May 19, 2005 at 12:40:53PM -0400, Carlos A. Sepulveda M. wrote: > Mark Mykkanen wrote: > > >Max, > > > >You'll need to pattern match the files once way or > >another. Another > >option is to use the prune feature described in the > >manpage. What do > >your filenames look like? > > > >Mark > > > > Hi: > > Can anybody share some "prune" examples? > > What I need to do is similar (opposite). > I need to backup just .nsf files on some directory. > > So I'll try to not_to_backup anything else. > > Thanx > -- > ___ Carlos A. Sepulveda M. | JID: ca...@tu... > |___| http://www.tuxpan.com/casep | ICQ: 31472448 > (o\_|_/o) May the TUX be with You | user #292837 counter.li.org > U U '76 1300 L "Bob Esponja" > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > flexbackup-help mailing list > fle...@li... > https://lists.sourceforge.net/lists/listinfo/flexbackup-help > __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs |
From: Mark M. <how...@ya...> - 2005-05-19 16:39:54
|
This files need to categorized in some way to do what you want. I'd suggest putting all your executables in a known subdirectory of your project, and exclude that directory from being backed up. This only involves your filesystem and flexbackup. On Thu, May 19, 2005 at 06:12:11PM +0200, max wrote: > Mark, > unfortunately the program names do not follow any rule. Moreover, I > can also add or delete executables during the developing period. A > question: do you think it is possible to implement such a feature with > my small knowledge of Perl? I think this feature can be interesting > for other users... > Regards > MAX > > On 5/19/05, Mark Mykkanen <how...@ya...> wrote: > > Max, > > > > You'll need to pattern match the files once way or > > another. Another > > option is to use the prune feature described in the > > manpage. What do > > your filenames look like? > > > > Mark > > > > On Thu, May 19, 2005 at 05:26:03PM +0200, max wrote: > > > I have already tried to post this message w/o > > success... > > > > > > > > > Hi everybody > > > I have discovered flexbackup some days ago and I > > am really happy of > > > such an application. It is really simple to use but > > still powerful > > > for my needs. > > > I have a question: is it possible to exclude some > > file types from backup set? > > > I am a developer and I am not interested to backup > > executable files > > > which are inside the directory tree. Unfortunately, > > these programs > > > have not any extension that I can use in > > $exclude_expr[] parameters. > > > Any idea? > > > Thanks > > > MAX > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by Oracle Space > > Sweepstakes > > > Want to be the first software developer in space? > > > Enter now for the Oracle Space Sweepstakes! > > > http://ads.osdn.com/?ad_idt12&alloc_id344&op=click > > > _______________________________________________ > > > flexbackup-help mailing list > > > fle...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/flexbackup-help > > > > > > > > > > > > > __________________________________ > > Yahoo! Mail Mobile > > Take Yahoo! Mail with you! Check email on your mobile phone. > > http://mobile.yahoo.com/learn/mail > > > __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail |
From: Carlos A. S. M. <ca...@tu...> - 2005-05-19 16:36:50
|
Mark Mykkanen wrote: > Max, > > You'll need to pattern match the files once way or > another. Another > option is to use the prune feature described in the > manpage. What do > your filenames look like? > > Mark > Hi: Can anybody share some "prune" examples? What I need to do is similar (opposite). I need to backup just .nsf files on some directory. So I'll try to not_to_backup anything else. Thanx -- ___ Carlos A. Sepulveda M. | JID: ca...@tu... |___| http://www.tuxpan.com/casep | ICQ: 31472448 (o\_|_/o) May the TUX be with You | user #292837 counter.li.org U U '76 1300 L "Bob Esponja" |
From: max <ipr...@gm...> - 2005-05-19 16:12:20
|
Mark,=20 unfortunately the program names do not follow any rule. Moreover, I can also add or delete executables during the developing period. A question: do you think it is possible to implement such a feature with my small knowledge of Perl? I think this feature can be interesting for other users... Regards MAX On 5/19/05, Mark Mykkanen <how...@ya...> wrote: > Max, >=20 > You'll need to pattern match the files once way or > another. Another > option is to use the prune feature described in the > manpage. What do > your filenames look like? >=20 > Mark >=20 > On Thu, May 19, 2005 at 05:26:03PM +0200, max wrote: > > I have already tried to post this message w/o > success... > > > > > > Hi everybody > > I have discovered flexbackup some days ago and I > am really happy of > > such an application. It is really simple to use but > still powerful > > for my needs. > > I have a question: is it possible to exclude some > file types from backup set? > > I am a developer and I am not interested to backup > executable files > > which are inside the directory tree. Unfortunately, > these programs > > have not any extension that I can use in > $exclude_expr[] parameters. > > Any idea? > > Thanks > > MAX > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Oracle Space > Sweepstakes > > Want to be the first software developer in space? > > Enter now for the Oracle Space Sweepstakes! > > http://ads.osdn.com/?ad_idt12&alloc_id=16344&op=3Dclick > > _______________________________________________ > > flexbackup-help mailing list > > fle...@li... > > > https://lists.sourceforge.net/lists/listinfo/flexbackup-help > > >=20 >=20 >=20 >=20 > __________________________________ > Yahoo! Mail Mobile > Take Yahoo! Mail with you! Check email on your mobile phone. > http://mobile.yahoo.com/learn/mail > |
From: Mark M. <how...@ya...> - 2005-05-19 15:58:10
|
Max, You'll need to pattern match the files once way or another. Another option is to use the prune feature described in the manpage. What do your filenames look like? Mark On Thu, May 19, 2005 at 05:26:03PM +0200, max wrote: > I have already tried to post this message w/o success... > > > Hi everybody > I have discovered flexbackup some days ago and I am really happy of > such an application. It is really simple to use but still powerful > for my needs. > I have a question: is it possible to exclude some file types from backup set? > I am a developer and I am not interested to backup executable files > which are inside the directory tree. Unfortunately, these programs > have not any extension that I can use in $exclude_expr[] parameters. > Any idea? > Thanks > MAX > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_idt12&alloc_id344&op=click > _______________________________________________ > flexbackup-help mailing list > fle...@li... > https://lists.sourceforge.net/lists/listinfo/flexbackup-help > __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail |
From: max <ipr...@gm...> - 2005-05-19 15:26:12
|
I have already tried to post this message w/o success... Hi everybody I have discovered flexbackup some days ago and I am really happy of such an application. It is really simple to use but still powerful=20 for my needs. I have a question: is it possible to exclude some file types from backup se= t? I am a developer and I am not interested to backup executable files which are inside the directory tree. Unfortunately, these programs have not any extension that I can use in $exclude_expr[] parameters. Any idea? Thanks MAX |
From: Pierluigi Di L. <li...@ep...> - 2005-05-16 07:38:35
|
try with: $erase_rewind_only = 'true'; ciao, Pierluigi > Dear flexbackup user’s > > > > I try to user flexbackup since 3 weeks, and for the moment the result > arent so good. > > My problem is the next one. > > When I made new index with –newtape, it takes more than half an hour to > make it. > > My tape is 4 Go storage (so quietly small) and my flexbackup.conf is the > next one. > > And another is anyboy can help me to define exactly what the bocksize is > and how to configure it . > > Thanks for all > > > > > > # -*-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 = 'afio'; > > > > # 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'} = "/home /usr"; > > # $set{'set2'} = "/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{'backup'} = "/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 = '4'; # compression level (1-9) (for gzip/bzip2/lzop/zip) > > > > # Buffering program - to help streaming > > $buffer = 'buffer'; # 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/st0'; > > > > # 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 = '0.5'; > > $blksize = '10'; > > #$blksize = '64'; > > #$blksize = '32'; > > #$blksize = '512'; > > #$blksize = ''; > > > > # 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 = "10240"; > > > > # Padding. True to pad blocks to blocksize > > # (devices only, not used when archiving to files) > > $pad_blocks = 'true'; > > > > # Other global flags > > $remoteshell = 'ssh'; # 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 = 'false'; > > > > # ---------------------------------------------------------------------- > > # 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 = ''; # 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 = ''; # 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 = 'false'; > > > > # 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; > > > > > > Cordialement, > > Erwan CHEVALIER > > *Consulting & Systems Integration* > > > > **Email** : Erw...@sy... > <mailto:CEr...@sy...> > > *Tél. * : +33 (0)1 58 13 88 41 > > *Web* : www.bt.com/consulting <http://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 > > ******************************************************************** > | -- Pierluigi Di Lorenzo ePrometeus s.r.l |
From: <Erw...@sy...> - 2005-05-13 10:13:06
|
Dear flexbackup user's =20 I try to user flexbackup since 3 weeks, and for the moment the result arent so good. My problem is the next one. When I made new index with -newtape, it takes more than half an hour to make it. My tape is 4 Go storage (so quietly small) and my flexbackup.conf is the ne= xt one. And another is anyboy can help me to define exactly what the bocksize is and how to configure it . Thanks for all =20 =20 # -*-Mode: perl-*- # ---------------------------------------------------------------------- # Flexbackup configuration file # check "flexbackup -help" for usage information # ---------------------------------------------------------------------- # General configuration section =20 # 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 'afio'; =20 # 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{'backup'} =3D "/home"; =20 # 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"; =20 # Compression $compress =3D 'gzip'; # one of false/gzip/bzip2/lzop/zip/compress/hardware $compr_level =3D '4'; # compression level (1-9) (for gzip/bzip2/lzop/zip) =20 # 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) =20 # 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/st0'; =20 # 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 '0.5'; $blksize =3D '10'; #$blksize =3D '64'; #$blksize =3D '32'; #$blksize =3D '512'; #$blksize =3D ''; =20 # 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 "10240"; =20 # Padding. True to pad blocks to blocksize # (devices only, not used when archiving to files) $pad_blocks =3D 'true'; =20 # Other global flags $remoteshell =3D 'ssh'; # command for remote shell (rsh/ssh/ssh2) $remoteuser =3D ''; # 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 =20 # If backing up to files, use static filenames - no date stamp # (same level backup of same directory will overwrite old backups) $staticfiles =3D 'false'; =20 # 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 'false'; =20 # Span across filesytems? ("dump" will ignore this option) # Set to "false" (don't) , "local" (all but nfs/smbfs), or "all" (everythin= g) $traverse_fs =3D 'false'; =20 # 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 o= ff # 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 '.*~$'; =20 # 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 'true'; =20 # 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'; =20 # ---------------------------------------------------------------------- # Log/stamp files, path for temporary files =20 $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 =20 # ---------------------------------------------------------------------- # Parameters for 'afio' only =20 # 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'; =20 # True to show block numbers $afio_echo_block =3D 'false'; =20 # Files less than this size (kilobytes) won't be compressed $afio_compress_threshold =3D '3'; =20 # Maximum amount of memory (megabytes) to use for temporary storage of # compression results. If a compressed file is bigger than this, compressi= on # will have to run twice on the file (see manpage). $afio_compress_cache_size =3D '2'; =20 # ---------------------------------------------------------------------- # Parameters for 'tar' only =20 # True to show record numbers $tar_echo_record_num =3D 'false'; =20 # ---------------------------------------------------------------------- # Parameters for 'cpio' only =20 # Format of cpio archive $cpio_format =3D 'newc'; =20 # ---------------------------------------------------------------------- # Parameters for 'dump' only =20 # 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'; =20 # True to use /etc/dumpdates (could mess things up if you dump subdirectori= es # of mount points). False to use flexbackup's timestamps. $dump_use_dumpdates =3D 'false'; =20 # ---------------------------------------------------------------------- # Parameters for 'star' only =20 # Use fifo (buffering)? (you probably want to set $buffer=3Dfalse above if = so) $star_fifo =3D 'true'; =20 # Handle ACLs? $star_acl =3D 'true'; =20 # Format of star archive $star_format =3D 'exustar'; =20 # True to show block numbers $star_echo_block_num =3D 'false'; =20 # ---------------------------------------------------------------------- # Parameters for 'pax' only =20 # Format of pax archive $pax_format =3D 'ustar'; =20 # ---------------------------------------------------------------------- # Parameters for 'zip' only =20 # 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'; =20 # ---------------------------------------------------------------------- # Parameters for 'package delta' backups =20 # 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'; =20 # Archive files not "owned" by packages? $pkgdelta_archive_unowned =3D 'true'; =20 # Archive any package-owned files which have been modified? $pkgdelta_archive_changed =3D 'true'; =20 # ---------------------------------------------------------------------- # 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 'gtar'; # # 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'; # =20 # ---------------------------------------------------------------------- # 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'; =20 =20 ###################################################################### # # $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; =20 =20 Cordialement,=20 Erwan CHEVALIER=20 Consulting & Systems Integration =20 Email : Erw...@sy... <mailto:CEr...@sy...> =20 T=E9l. : +33 (0)1 58 13 88 41 Web : www.bt.com/consulting <http://www.bt.com/consulting>=20 =20 ******************************************************************** 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: Mark M. <how...@ya...> - 2005-05-11 22:36:31
|
Thanks Darrick, but I currently don't use tapes for backups. Perhaps someone subscribed to this list might be interested in using your script if you are willing to post it. I use flexbackup for HD-HD backups. It has worked fairly well for me so far. One time, I swear that it was not backing up all my files and was burned. I now run a compare for every backup. I'm a perl programmer and just thought I'd lend a quick hand to Jim. On Wed, May 11, 2005 at 02:35:13PM -0500, Darrick Hartman wrote: > Mark Mykkanen wrote: > >What is your question? > > > >On Wed, May 11, 2005 at 09:33:55AM -0700, Jim Conner > >wrote: > > > >>I've seen like 10 messages go by in the last couple > > > >of weeks where there has been no real help to the > >questions. Further, I'm still waiting for assistance > >on my problem I posted over a month ago. If this > >program isn't being supported anymore I'd like to know > >so that I can try and find something else where I can > >get answers to my questions if I can't solve them or > >find the answers myself. > > Mark, > > I had issues with flexbackup. I'll probably unsub from this list as I > completely forgot I was still on it (since the traffic was so low--non > existant until this past week). The dumb script will allow you to span > across multiple tapes for example, yet when you go to recover that data, > you are unable to do so. The first tape works, but anything after that > is lost. > > What I've done is come up with a fairly nice script that seems to do > what I need it to do. I'd be more than happy to share that with you. > It's designed to run as a cron job and provide feedback, but it works > fine for just simple backups too. > > Darrick > > -- > Darrick Hartman > DJH Solutions, LLC > http://www.djhsolutions.com > 920.901.3113 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Mark M. <how...@ya...> - 2005-05-11 19:17:17
|
What is your question? On Wed, May 11, 2005 at 09:33:55AM -0700, Jim Conner wrote: > I've seen like 10 messages go by in the last couple of weeks where there has been no real help to the questions. Further, I'm still waiting for assistance on my problem I posted over a month ago. If this program isn't being supported anymore I'd like to know so that I can try and find something else where I can get answers to my questions if I can't solve them or find the answers myself. > > ---------------------------------------- > Jim Conner -- Senior Systems Engineer > 818.735.8970- Perl Developer > TLBCreative http://www.tlbcreative.com > 32123 Lindero Cyn Rd Ste 200 > Westlake Village,CA 91361 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_ids93&alloc_id281&op=click > _______________________________________________ > flexbackup-help mailing list > fle...@li... > https://lists.sourceforge.net/lists/listinfo/flexbackup-help > Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html |
From: Randall M. <ra...@gs...> - 2005-05-11 17:08:24
|
I use flexbackup, but I'm not a developer and can't really help with problems. Randy Jim Conner wrote: > I've seen like 10 messages go by in the last couple of weeks where there has been no real help to the questions. Further, I'm still waiting for assistance on my problem I posted over a month ago. If this program isn't being supported anymore I'd like to know so that I can try and find something else where I can get answers to my questions if I can't solve them or find the answers myself. > > ---------------------------------------- > Jim Conner -- Senior Systems Engineer > 818.735.8970- Perl Developer > TLBCreative http://www.tlbcreative.com > 32123 Lindero Cyn Rd Ste 200 > Westlake Village,CA 91361 > > -- Randall Mackie GSY-USA, Inc. PMB# 643 2261 Market St., San Francisco, CA 94114-1600 Tel (415) 469-8649 Fax (415) 469-5044 California Registered Geophysicist License No. GP 1034 |
From: Josh B. <jo...@ag...> - 2005-05-11 16:38:17
|
Jim, > I've seen like 10 messages go by in the last couple of weeks where there > has been no real help to the questions. =A0Further, I'm still waiting for > assistance on my problem I posted over a month ago. =A0If this program is= n't > being supported anymore I'd like to know so that I can try and find > something else where I can get answers to my questions if I can't solve > them or find the answers myself. Not terribly, no. Flexbackup support/development has been on-again,=20 off-again for years ... heck, there were no developers from 2000 to 2002 as= I=20 recall. =20 You could try offering money to a perl hacker (not to me, though, I can't f= ix=20 it). =2D-=20 Josh Berkus Aglio Database Solutions San Francisco |
From: Jim C. <jc...@tl...> - 2005-05-11 16:32:35
|
I've seen like 10 messages go by in the last couple of weeks where there = has been no real help to the questions. Further, I'm still waiting for = assistance on my problem I posted over a month ago. If this program = isn't being supported anymore I'd like to know so that I can try and = find something else where I can get answers to my questions if I can't = solve them or find the answers myself. ---------------------------------------- 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.11.8 - Release Date: 5/10/2005 =20 |
From: <Erw...@sy...> - 2005-05-04 09:45:48
|
I' m probing a simple tar cvf of a sample It takes 15 minutes to say=20 tar: /dev/nst0: n'a pu =C3=A9crire seulement 0 sur 10240 octets tar: Erreur non r=C3=A9cup=C3=A9rable: fin de l'ex=C3=A9cution imm=C3=A9dia= te Say that it can't write only 0 on 10240 octets And errors then stop execution=20 Theres is no update bios to do on the server, thougt I have now idea how beginning. I read something maybe a onfiguration with the scsi and ide to convert nst0 on nta0 but no ide how to convert this. Suggestion will be welcome.=20 Cordialement,=20 Erwan CHEVALIER=20 Consulting & Systems Integration Email : Erw...@sy...=20 T=E9l. : +33 (0)1 58 13 88 41 Web : www.bt.com/consulting -----Message d'origine----- De=A0: fle...@li... [mailto:fle...@li...] De la part de Doug Sampson Envoy=E9=A0: mardi 3 mai 2005 20:29 =C0=A0: 'fle...@li...' Objet=A0: RE: [flexbackup-help] nonrewinding tape - freebsd 5.3 > I had Debian 3.0r1 on this machine in a previous life (using=20 > '/dev/nst0' as > the tape device) and when using flexbackup, did not receive=20 > such messages. > The Flexbackup documentation says for FreeBSD users to use=20 > /dev/nsa0 as the > nonrewinding device. >=20 > Suggestions? >=20 > ~Doug More data... Here's the out of flexbackup -test-tape-drive: orion-dougs@~/bin: 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... unknown (probably Bourne Shell) |------------------------------------------------------------ /dev/nsa0: old model was 1 filemark at EOT /dev/nsa0: new model is 1 filemark at EOT | 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 minutes, | Hit CTRL-C, and try adjusting $blksize, $pad_blocks, or $mt_blksize. |------------------------------------------------------------ | Rewinding & erasing tape... | Found index key 200505021626, next file is 1 | Record for 200505021626:all not found |------------------------------------------------------------ | Creating index key 200505031104 |------------------------------------------------------------ /dev/nsa0: hardware block location 1 Writing test file #1 Kilobytes Out 160 /dev/nsa0: hardware block location 17 Writing test file #2 Kilobytes Out 10 /dev/nsa0: hardware block location 18 Writing test file #3 Kilobytes Out 160 /dev/nsa0: hardware block location 34 Rewinding... Skipping index label... /dev/nsa0: hardware block location 1 Reading test file #1 Kilobytes Out 160 /dev/nsa0: hardware block location 17 Reading test file #2 Kilobytes Out 10 /dev/nsa0: hardware block location 18 Reading test file #3 Kilobytes Out 160 /dev/nsa0: hardware block location 34 Comparing... SUCCESS! Tape drive parameters seem to work just fine orion-dougs@~/bin:=20 I see flexbackup doesn't know which shell I am running. I'm running FreeBSD 5.3. Wonder how I can effectively communicate to flexbackup the shell version? orion-dougs@~/bin: mt -f /dev/nsa0 status Mode Density Blocksize bpi Compression Current: 0x25:DDS-3 variable 97000 DCLZ ---------available modes--------- 0: 0x25:DDS-3 variable 97000 DCLZ 1: 0x25:DDS-3 variable 97000 DCLZ 2: 0x25:DDS-3 variable 97000 DCLZ 3: 0x25:DDS-3 variable 97000 DCLZ --------------------------------- Current Driver State: at rest. --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 Also tape drive is identified as: sa0 at ahc1 bus 0 target 6 lun 0 sa0: <ARCHIVE Python 04106-XXX 743B> Removable Sequential Access SCSI-2 device=20 sa0: 5.000MB/s transfers (5.000MHz, offset 15) Umm...? ~Doug ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=3D20 _______________________________________________ flexbackup-help mailing list fle...@li... https://lists.sourceforge.net/lists/listinfo/flexbackup-help ******************************************************************** 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-03 18:29:12
|
> 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 More data... Here's the out of flexbackup -test-tape-drive: orion-dougs@~/bin: 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... unknown (probably Bourne Shell) |------------------------------------------------------------ /dev/nsa0: old model was 1 filemark at EOT /dev/nsa0: new model is 1 filemark at EOT | 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 minutes, | Hit CTRL-C, and try adjusting $blksize, $pad_blocks, or $mt_blksize. |------------------------------------------------------------ | Rewinding & erasing tape... | Found index key 200505021626, next file is 1 | Record for 200505021626:all not found |------------------------------------------------------------ | Creating index key 200505031104 |------------------------------------------------------------ /dev/nsa0: hardware block location 1 Writing test file #1 Kilobytes Out 160 /dev/nsa0: hardware block location 17 Writing test file #2 Kilobytes Out 10 /dev/nsa0: hardware block location 18 Writing test file #3 Kilobytes Out 160 /dev/nsa0: hardware block location 34 Rewinding... Skipping index label... /dev/nsa0: hardware block location 1 Reading test file #1 Kilobytes Out 160 /dev/nsa0: hardware block location 17 Reading test file #2 Kilobytes Out 10 /dev/nsa0: hardware block location 18 Reading test file #3 Kilobytes Out 160 /dev/nsa0: hardware block location 34 Comparing... SUCCESS! Tape drive parameters seem to work just fine orion-dougs@~/bin: I see flexbackup doesn't know which shell I am running. I'm running FreeBSD 5.3. Wonder how I can effectively communicate to flexbackup the shell version? orion-dougs@~/bin: mt -f /dev/nsa0 status Mode Density Blocksize bpi Compression Current: 0x25:DDS-3 variable 97000 DCLZ ---------available modes--------- 0: 0x25:DDS-3 variable 97000 DCLZ 1: 0x25:DDS-3 variable 97000 DCLZ 2: 0x25:DDS-3 variable 97000 DCLZ 3: 0x25:DDS-3 variable 97000 DCLZ --------------------------------- Current Driver State: at rest. --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 Also tape drive is identified as: sa0 at ahc1 bus 0 target 6 lun 0 sa0: <ARCHIVE Python 04106-XXX 743B> Removable Sequential Access SCSI-2 device sa0: 5.000MB/s transfers (5.000MHz, offset 15) Umm...? ~Doug |