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: Sergej K. <sk...@gm...> - 2010-01-03 17:43:20
|
Phil Reynolds пишет: > Is it possible for flexbackup to include the hostname in the filename > when backing up a local filesystem? I run flexbackup on two different > machines and have to do some renaming before copying content over to > the first machine from the second. > > You could simply do backuping to some folder, unique for the current host. An example from one of my script: /usr/bin/flexbackup -set all -differential -device /mnt/backups/`hostname`/flexbackup >/var/log/flexbackup_diff.log 2>&1 |
From: Phil R. <phi...@ti...> - 2010-01-03 11:06:16
|
Is it possible for flexbackup to include the hostname in the filename when backing up a local filesystem? I run flexbackup on two different machines and have to do some renaming before copying content over to the first machine from the second. -- Phil Reynolds mail: phi...@ti... Web: http://www.tinsleyviaduct.com/phil/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: Phil R. <phi...@ti...> - 2009-05-01 07:12:08
|
I am looking to add additional automated processing after backups, but need to clarify the exit codes used by flexbackup. What exit codes does it use in the following circumstances: Wrong wday (looks like 0 to me) Normal completion Others? Of course, it is simply a shell script, but if this is known, it would save me having to work my way through it. -- Phil Reynolds mail: phi...@ti... Web: http://www.tinsleyviaduct.com/phil/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: Robert C. <rob...@ti...> - 2009-03-25 12:21:44
|
On Sat, 2009-03-21 at 09:18 +0000, Niall Brosnan wrote: > Hi Robert, > > Is it possible that the .gvfs is the last entry logged that isn't a > problem, > and that the problem is elsewhere and failing? The error message is > from find, > but the failure is from tar. > How about creating another user account on the machine, and running a > comparison backup for that home directory? > How much diskspace is your home directory using? Is 208MB a large > percentage of it? > Have you any unusual files (such as large video) in your home > directory? > Have you any other backups on the system that complete that are > larger? > > You could also try switching to an rsync archive type for a few runs, > and see if the problem is expressed differently. > > Good luck with it. I'm very interested because if there's a .gvfs > issue around that can be triggered easily, it could affect a lot of > us. Hi Niall: /home/robert is 187.9 MB, so that's most of 208 MiB :-) And I haven't attempted any larger backups on this PC. No large videos either; my largest file is 14227366 bytes: ~/.gnome2/epiphany/mozilla/epiphany/Cache/_CACHE_003_ However it does seem to be the .gvfs 'find' error that is causing flexbackup to delete my archive. I created new user 'fred' as a test: Logged in as fred once - logged out - /home/fred was using 28KB. At this point flexbackup hit the same .gvfs find error, and the archive was deleted: robert@venus:~$ sudo flexbackup -set homefred ... find: ./.gvfs: Permission denied level 0 /home/fred Tue Mar 24 21:59:12 2009 tar+gzip from venus ... ERROR: non-zero exit from: find . -depth -xdev ! -type s ! -regex .*/[Cc]ache/.* ! -regex .*~$ -print0 ERROR: exiting ... Logged in as fred again - ran 'fusermount -u .gvfs' - logged out - logged in as robert again - ran 'sudo flexbackup -set homefred'. This time there were no errors in the log and the archive was left on the output device. Looking at the code, flexbackup seems to wait until find, tar, etc. have all completed, then check for errors afterwards. If it notices an error, then the code tries to delete the output file(s). None of this explains why flexbackup actually deletes the archive on my system, but not on yours. The code does mention an ignore-errors option; presumably you're not using that? I expect you've got more up-to-date versions of findutils, gvfs-fuse etc. than I have. If so, presumably you are benefitting from some fix or other that hasn't percolated through to gNewSense yet. (I have findutils version 4.2.32-1ubuntu2, and libc6 version 2.7-10ubuntu3.) All the best, Robert |
From: Niall B. <ni...@la...> - 2009-03-21 09:24:22
|
Hi Robert, Is it possible that the .gvfs is the last entry logged that isn't a problem, and that the problem is elsewhere and failing? The error message is from find, but the failure is from tar. How about creating another user account on the machine, and running a comparison backup for that home directory? How much diskspace is your home directory using? Is 208MB a large percentage of it? Have you any unusual files (such as large video) in your home directory? Have you any other backups on the system that complete that are larger? You could also try switching to an rsync archive type for a few runs, and see if the problem is expressed differently. Good luck with it. I'm very interested because if there's a .gvfs issue around that can be triggered easily, it could affect a lot of us. Niall |
From: Robert C. <rob...@ti...> - 2009-03-21 00:06:27
|
On Fri, 2009-03-20 at 00:35 +0000, Robert Canner wrote: > On Thu, 2009-03-19 at 10:51 +0000, Niall Brosnan wrote: > > I can confirm that I'm using a stock flexbackup 1.2.1-6 on ubuntu 8.10 > > without this issue. > > ... > > > I do get the same "find: `./.gvfs': Permission denied" entry in my > > log, > > but it is not a showstopper. What backup format and medium are you > > choosing? > > ... > > Many thanks Niall. I'm using flexbackup version 1.2.1-6, with .tar.gz > output format, writing to a 4.3GB drive in an external housing, > ... > robert@venus:~$ egrep -v -e '(^#|^$)' /etc/flexbackup.conf > $type = 'tar'; > $set{'home'} = "/home"; > ... > ... Anyway, I'm now thinking I > should try to unmount my .gvfs before allowing flexbackup to start ... Yes, that was the solution. According to 'mount', gnome-fuse-daemon was mounted on my .gvfs. I needed to unmount it before the backup. First I reverted to my original flexbackup.conf (the one without any ".gvfs" prune/exclude expressions). Then I used $ fusermount -u ~/.gvfs to unmount the daemon from .gvfs. Then $ sudo flexbackup -set home backed up /home without errors. 'find' simply treated .gvfs as an empty directory :-) Q. I didn't create .gvfs ... Where did it come from and who mounted this daemon on it? A. As far as I can tell (1) GNOME automatically creates ~/.gvfs (2) it is designed as a mount point for gnome-fuse-daemon (3) GNOME automatically mounts it. (gnome-fuse-daemon is in the gvfs-fuse package.) Q. What happens if you unmount this? Is it safe? A. It seems fairly safe. It certainly seems sensible to unmount it before root tries to back up your home directory. GNOME re-mounts it automatically next time you log in. Package versions: gvfs-fuse 0.2.3-0ubuntu4, gvfs 0.2.3-0ubuntu4, fuse-utils 2.7.2-1ubuntu2, gnome-about 1:2.22.1-0ubuntu6gnewsense1. Many thanks Niall, Robert |
From: Robert C. <rob...@ti...> - 2009-03-20 00:35:21
|
On Thu, 2009-03-19 at 10:51 +0000, Niall Brosnan wrote: > I can confirm that I'm using a stock flexbackup 1.2.1-6 on ubuntu 8.10 > without this issue. > ... > I do get the same "find: `./.gvfs': Permission denied" entry in my > log, > but it is not a showstopper. What backup format and medium are you > choosing? > Would you mind posting your settings using something like: > > egrep -v -e '(^#|^$)' /etc/flexbackup.conf > ... Many thanks Niall. I'm using flexbackup version 1.2.1-6, with .tar.gz output format, writing to a 4.3GB drive in an external housing, connected by USB. The external drive has ext3 file system and 2.7 GB free space. In fact that extract from the log was +before+ I added any $prune expressions. Here is the flexbackup.conf that was used: robert@venus:~$ egrep -v -e '(^#|^$)' /etc/flexbackup.conf $type = 'tar'; $set{'home'} = "/home"; $set{'etc'} = "/etc"; $set{'usrlocal'} = "/usr/local"; $set{'var'} = "/var"; $prune{'/'} = "tmp proc"; $compress = 'gzip'; $compr_level = '4'; $buffer = 'buffer'; $buffer_megs = '10'; $buffer_fill_pct = '75'; $buffer_pause_usec = '100'; $device = '/media/backup4mb/venus'; $blksize = '10'; $mt_blksize = "0"; $pad_blocks = 'true'; $remoteshell = 'ssh'; $remoteuser = ''; $label = 'true'; $verbose = 'true'; $sparse = 'true'; $indexes = 'true'; $staticfiles = 'false'; $atime_preserve = 'false'; $traverse_fs = 'false'; $exclude_expr[0] = '.*/[Cc]ache/.*'; $exclude_expr[1] = '.*~$'; $erase_tape_set_level_zero = 'true'; $erase_rewind_only = 'false'; $logdir = '/var/log/flexbackup'; $comp_log = 'gzip'; $staticlogs = 'false'; $prefix = ''; $tmpdir = '/tmp'; $stampdir = '/var/lib/flexbackup'; $index = '/var/lib/flexbackup/index'; $keyfile = '00-index-key'; $sprefix = ''; $afio_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; $afio_echo_block = 'false'; $afio_compress_threshold = '3'; $afio_compress_cache_size = '2'; $tar_echo_record_num = 'false'; $cpio_format = 'newc'; $dump_length = '0'; $dump_use_dumpdates = 'false'; $star_fifo = 'true'; $star_acl = 'true'; $star_format = 'exustar'; $star_echo_block_num = 'false'; $pax_format = 'ustar'; $zip_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; $pkgdelta_archive_list = 'rootonly'; $pkgdelta_archive_unowned = 'true'; $pkgdelta_archive_changed = 'true'; 1; I used the command "sudo flexbackup -set home". After the message "find: ./robert/.gvfs: Permission denied", the log continued: === START EXTRACT === level 0 /home Wed Mar 18 17:44:38 2009 tar+gzip from venus ./lost+found/ ./robert/.bash_logout ... Total bytes written: 217221120 (208MiB, 6.9MiB/s) Kilobytes Out 98135 ERROR: non-zero exit from: find . -depth -xdev ! -type s ! -regex .*/[Cc]ache/.* ! -regex .*~$ -print0 ERROR: exiting |------------------------------------------------------------ | Backup start: Wed Mar 18 17:44:38 2009 === END OF EXTRACT === Based on your suggestions, I have added 3 lines to flexbackup.conf: $set{'homerobert'} = "/home/robert"; $prune{'/home/robert'} = ".gvfs"; $exclude_expr[2] = '.*/.gvfs/.*'; and run "sudo flexbackup -set homerobert". Again in Nautilus, I saw it gradually write a .tar.gz file of about 90 MB, then finally delete the output file: === LOG 2 EXTRACT === | Backup of: /home/robert | Date of this level 0 backup: Thu Mar 19 23:54:10 2009 | Date of last level 0 backup: the epoch |------------------------------------------------------------ | cd "/home/robert" && /tmp/flexbackup.6857.venus/collectexit.6857.sh find \ | . -regex "\./\(.gvfs\)/.*" -prune -o -xdev ! -type s ! -regex \ | ".*/[Cc]ache/.*" ! -regex ".*~"$ ! -regex ".*/.gvfs/.*" -print0 | \ | /tmp/flexbackup.6857.venus/collectexit.6857.sh tar --create --null \ | --files-from=- --ignore-failed-read --same-permissions --no-recursion \ | --totals --label "level 0 /home/robert Thu Mar 19 23:54:10 2009 \ | tar+gzip from venus" --verbose --sparse -b 20 --file - | \ | /tmp/flexbackup.6857.venus/collectexit.6857.sh gzip -4 | \ | /tmp/flexbackup.6857.venus/collectexit.6857.sh buffer -m 10m -p 75 -s \ | 10k -t -o "/media/backup4mb/venus/home-robert.0.200903192354.tar.gz" | [ ! -e /tmp/flexbackup.6857.venus/exitstatus.6857 ] |------------------------------------------------------------ find: warning: you have specified the -xdev option after a non-option argument -regex, but options are not positional (-xdev affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: ./.gvfs: Permission denied level 0 /home/robert Thu Mar 19 23:54:10 2009 tar+gzip from venus ./ ./.bash_logout ... Kilobytes Out 98257 ERROR: non-zero exit from: find . -regex \./\(.gvfs\)/.* -prune -o -xdev ! -type s ! -regex .*/[Cc]ache/.* ! -regex .*~$ ! -regex .*/.gvfs/.* -print0 ERROR: exiting./.dmrc |------------------------------------------------------------ | Backup start: Thu Mar 19 23:54:10 2009 === LOG 2 EXTRACT ENDS === The 'find' warning doesn't seem critical. Anyway, I'm now thinking I should try to unmount my .gvfs before allowing flexbackup to start ... Robert |
From: Niall B. <ni...@la...> - 2009-03-19 11:48:29
|
Hi Robert, I can confirm that I'm using a stock flexbackup 1.2.1-6 on ubuntu 8.10 without this issue. I usually use a different product (backuppc actually) for nightly home directories, so I thought I might just not have been hit by it. I use flexbackup for mail spools and config directories as well as for snapshot backups before doing any reconfiguration tasks... I added a /home stanza to my flexbackup.conf and ran the job both with users logged in to GNOME (so ,gvfs was active), and late at night so that it wasn't. I do get the same "find: `./.gvfs': Permission denied" entry in my log, but it is not a showstopper. What backup format and medium are you choosing? Would you mind posting your settings using something like: * egrep -v -e '(^#|^$)' /etc/flexbackup.conf * Do you actually have a set defined as /home, or is it /home/robert ? Your prune expressions are not being honoured according to your log. You might find defining a set as /home/robert and adding $prune{'/home/robert'} = ".gvfs"; might be more effective. You should probably put it into an exclude_expr as well as in: *$exclude_expr[2] = '.*/.gvfs/.*'; *Good luck with it, I'll be watching with interest. I've been using flexbackup for years, and there's always a way out of these hiccups! NiallB * *2009/3/18 Robert Canner <rob...@ti...> > I'm experiencing a problem which sounds similar to Andrew Schein's. My > home directory contains a 'directory' called .gvfs, of zero bytes; when > I ask flexbackup to back up /home (sudo flexbackup -set home), it starts > creating a .tar.gz file, does about 100 MB, then stops and deletes > the .tar.gz file. And in the log there's a similar 'find' error: > > === START EXTRACT == > > find: ./robert/.gvfs: Permission denied > === END OF EXTRACT === > > I'm running gNewSense 2.1 "Deltah" (based on Ubuntu 8.04 LTS--"Hardy"). > > I keep trying to add a $prune line for /home, but perhaps my regexp > syntax could be improved: > $prune{'/home'} = ".gvfs"; > $prune{'/home'} = "robert/.gvfs"; > $prune{'/home'} = "robert/\.gvfs"; > $prune{'/home'} = "\.*\\.gvfs"; > None of these prevent 'find' from erroring on that file. > > Can I "prune" my way out of this? > Any advice gratefully received :-) > > Thank you very much, > Robert > > |
From: Robert C. <rob...@ti...> - 2009-03-18 23:46:52
|
In response to two threads from May-June 2008: Re: [flexbackup-help] flexbackup-help Digest, Vol 9, Issue 1 Re: [flexbackup-help] flexbackup error (Apologies for lack of reference headers -- I've just joined the list and my email software hasn't seen the above threads.) I'm experiencing a problem which sounds similar to Andrew Schein's. My home directory contains a 'directory' called .gvfs, of zero bytes; when I ask flexbackup to back up /home (sudo flexbackup -set home), it starts creating a .tar.gz file, does about 100 MB, then stops and deletes the .tar.gz file. And in the log there's a similar 'find' error: === START EXTRACT == cd "/home" && /tmp/flexbackup.11443.venus/collectexit.11443.sh find . \ -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ \ -print0 | /tmp/flexbackup.11443.venus/collectexit.11443.sh tar --create \ --null --files-from=- --ignore-failed-read --same-permissions \ --no-recursion --totals --label "level 0 /home Wed Mar 18 17:44:38 2009 \ tar+gzip from venus" --verbose --sparse -b 20 --file - | \ /tmp/flexbackup.11443.venus/collectexit.11443.sh gzip -4 | \ /tmp/flexbackup.11443.venus/collectexit.11443.sh buffer -m 10m -p 75 -s \ 10k -t -o "/media/backup4mb/venus/home.0.200903181744.tar.gz" [ ! -e /tmp/flexbackup.11443.venus/exitstatus.11443 ] ------------------------------------------------------------ find: ./robert/.gvfs: Permission denied === END OF EXTRACT === I'm running gNewSense 2.1 "Deltah" (based on Ubuntu 8.04 LTS--"Hardy"). I keep trying to add a $prune line for /home, but perhaps my regexp syntax could be improved: $prune{'/home'} = ".gvfs"; $prune{'/home'} = "robert/.gvfs"; $prune{'/home'} = "robert/\.gvfs"; $prune{'/home'} = "\.*\\.gvfs"; None of these prevent 'find' from erroring on that file. Can I "prune" my way out of this? Any advice gratefully received :-) Thank you very much, Robert |
From: Phil R. <phi...@ti...> - 2008-11-03 19:21:44
|
Quoting "Tim K" <ti...@sm...>: > I'm thinking like BSD *nix here, but Linux (et al ) might be applicable. > > When a user ssh's as root using a shared key, both the > PermitRootLogins parameter in sshd_config must be set to yes and the > shared key must be accesible to the ssh daemon. When using root > from a command line, root knows where to look for its shared keys, > but when run from a script as root, doesn't the path or home > directory for root have to be set someplace? You've successfully reminded me of what it was I needed to do. It needs a key suitable for unattended interactive use in root's ssh with the public key authorized on the other machines - and it's the one thing I hadn't redone. Many thanks all - I knew it would come to me if someone said the right thing. The clue was also that, if I directly logged in as root, it prompted for the password! -- Phil Reynolds mail: phi...@ti... Web: http://www.tinsleyviaduct.com/phil/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: Phil R. <phi...@ti...> - 2008-11-03 14:33:51
|
Quoting "Niall Brosnan" <ni...@cs...>: > This is more likely to be a user account problem than a flexbackup problem. > Do you mean flexbackup runs OK when run from the command line at the remote > machine? No - at the local machine. > As which user? Do you mean flexbackup succesfully backs up the remote > machine when > run locally? As root - flexbackup is installed on one machine only and accesses three (four if you count one that is never done automatically) other machines by ssh. > You need to make sure you are connecting to the remote machine as the user > that > you expect to be running flexbackup. I am. > Has that user got permission to run it, > and is > that the same user that you are testing manually at the remote end. Yes to all. flexbackup runs as root locally and uses ssh to get into all machines as root. > Check the auth logs on the remote machine to see if there's any difference. The auth logs indicate "failed password for root". However, if I ssh manually, I don't get prompted for one. The auth logs show "Accepted publickey for root" - just what I expect - and it works also when I run flexbackup manually. The problem I face is, you cannot increase the verbosity of ssh as called by flexbackup - if I could do that I could see more about why it is failing. -- Phil Reynolds mail: phi...@ti... Web: http://www.tinsleyviaduct.com/phil/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: Phil R. <phi...@ti...> - 2008-11-03 07:19:36
|
I replaced this machine a few weeks ago with a totally new build. I have tried to re-enable automated backups but they only work for the local machine. Trying to ssh into the other machines logs "Permission denied". This does not happen if I run flexbackup from the command line. How do I make this work? Finding out why it doesn't may help but I cannot see how to enable more output from ssh in flexbackup. -- Phil Reynolds mail: phi...@ti... Web: http://www.tinsleyviaduct.com/phil/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: João S. <se...@pt...> - 2008-10-23 10:34:12
|
Arrrgghhh I figure it out.... One must use nst0 instead of st0... grrrr João Seabra wrote: > Hello > > I have an HP DAT 72 USB drive model C7438A. > I have followed the instructions provided by HP for configuring the tape > drive and everything *seems* to be in place. > I say seems because flexbackup --test-tape-drive fails all the > time.After some debugging and losing quite a couple of hours i was > trying to write files by hand to the tape after which i would execute > the command: > mt -f /dev/st0 tell > and the result is allways: At block 0. > No matter how many files I write or whatever I do the result i get is > allways At block 0. > In the begginging in used to erase the tape but it took so many hours > (2h or so) that now i just rewind it but nevertheless the result was the > same. > Any ideas how to solve this and finnaly start making some backups? > > Kind Regards, > > João Seabra > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > flexbackup-help mailing list > fle...@li... > https://lists.sourceforge.net/lists/listinfo/flexbackup-help > |
From: João S. <se...@pt...> - 2008-10-23 10:21:24
|
Hello I have an HP DAT 72 USB drive model C7438A. I have followed the instructions provided by HP for configuring the tape drive and everything *seems* to be in place. I say seems because flexbackup --test-tape-drive fails all the time.After some debugging and losing quite a couple of hours i was trying to write files by hand to the tape after which i would execute the command: mt -f /dev/st0 tell and the result is allways: At block 0. No matter how many files I write or whatever I do the result i get is allways At block 0. In the begginging in used to erase the tape but it took so many hours (2h or so) that now i just rewind it but nevertheless the result was the same. Any ideas how to solve this and finnaly start making some backups? Kind Regards, João Seabra |
From: Phil R. <phi...@ti...> - 2008-10-22 21:21:46
|
Self-followup: > Well, it won't work when specified, nor when used as bzip2 (rejects -9 > switch) but can be used in place of compress. It is also useless with large amounts. -- Phil Reynolds mail: phi...@ti... Web: http://www.tinsleyviaduct.com/phil/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: Phil R. <phi...@ti...> - 2008-10-22 18:52:11
|
Quoting "TeckniX _" <lo...@gm...>: > you should be able to as long as triggers are all the same. Otherwise you > can always create a simple permanent alias for it. Well, it won't work when specified, nor when used as bzip2 (rejects -9 switch) but can be used in place of compress. -- Phil Reynolds mail: phi...@ti... Web: http://www.tinsleyviaduct.com/phil/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: TeckniX _ <lo...@gm...> - 2008-10-15 02:53:41
|
you should be able to as long as triggers are all the same. Otherwise you can always create a simple permanent alias for it. On Tue, Oct 14, 2008 at 6:40 AM, Phil Reynolds < phi...@ti...> wrote: > There is a p7zip wrapper on my system. This can be used as a > substitute for bzip2 with tar. > > Assuming I make sure it is on all of my systems, can I specify it as a > compress program for flexbackup to use with tar? > > -- > Phil Reynolds > mail: phi...@ti... > Web: http://www.tinsleyviaduct.com/phil/ > Waltham 66, Emley Moor 69, Droitwich 79, Windows 95 > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > flexbackup-help mailing list > fle...@li... > https://lists.sourceforge.net/lists/listinfo/flexbackup-help > |
From: Phil R. <phi...@ti...> - 2008-10-14 11:11:50
|
There is a p7zip wrapper on my system. This can be used as a substitute for bzip2 with tar. Assuming I make sure it is on all of my systems, can I specify it as a compress program for flexbackup to use with tar? -- Phil Reynolds mail: phi...@ti... Web: http://www.tinsleyviaduct.com/phil/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: Sergej k. <sk...@gm...> - 2008-10-02 09:08:33
|
Steven W. Orr wrote: > Gabriel, I have the same problem. I asked for help on this list multiple > times. No one responded. What you posted doesn't really show very much, > but what I have here, is that on occasion, the job doesn't complete and I > have to manually kill the bzip2 processed. This is what's on my machine > right now: > > > > I'm too lazy to switch to something else, so every so often I just kill > the bzip processes. > > IF ANYONE WOULD LIKE TO ADD THEIR TWO CENTS IT WOULD BE WELCOME. :-( > > Hi guys! I'm also using flexbackup on multiple servers! Is seems very fine, especially I like differential backups. But I not use bzip compression, just a simple tar. $type = 'tar'; There are no issues with it. Also you could try to switch to tar type of backups, and then do a gzip by other script. Some example of script backuping my sql databases: echo "Compressing backups..." for i in `ls ${backupsdir}/*.sql`; do cd ${backupsdir} && nice -n 19 tar -czv --remove-files -f ${i}.tar.gz `basename ${i}` done # cleaning up old data find $backupsdir -name "$host*" -a -mtime +$savedays -delete Also keep in mind that if you have a very lage tar backup bzip will compress it a very long type too. So I don't use compression for this reasons. I just need fast and simple backups. -- Best Wishes, PAIX-UANIC | SK3929-RIPE |
From: Steven W. O. <st...@sy...> - 2008-10-01 18:49:37
|
On Wednesday, Oct 1st 2008 at 13:44 -0000, quoth Gabriel: =>hi!, i m Gabriel, from Argentina, i suscribe to this group becouse i m =>having problem with my backup task :s and i am a little crazy with this =>at this point. =>I m using Flexbackup to make an /etc backup: => =>flexbackup -dir /etc => =>Ok. No problems with that. But, when i put that in crontab, the backup =>dosent finish correctly. =>It start making the file, but it dont finish. => =>And here is the log: => =>|------------------------------------------------------------ =>| Doing level 0 backup of /etc using tar =>| Found directory index key 200810011200 =>|------------------------------------------------------------ =>| Backup of: /etc =>| Date of this level 0 backup: Wed Oct 01 13:16:02 2008 =>| Date of last level 0 backup: the epoch =>|------------------------------------------------------------ =>| cd "/etc" && /tmp/collectexit.31097.sh find . -depth -xdev ! -type s ! \ =>| -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | \ =>| /tmp/collectexit.31097.sh tar --create --null --files-from=- \ =>| --ignore-failed-read --same-permissions --no-recursion --totals =>--label \ =>| "level 0 /etc Wed Oct 01 13:16:02 2008 tar+gzip from mail.uvcms.com" \ =>| --verbose --sparse -b 20 --file - | /tmp/collectexit.31097.sh gzip =>-4 | \ =>| /tmp/collectexit.31097.sh buffer -m 10m -p 75 -s 10k -t -o \ =>| "/BACKUP/etc.0.200810011316.tar.gz" =>| [ ! -e /tmp/exitstatus.31097 ] =>|------------------------------------------------------------ => =>I look for the /tmp/exitstatus.31097 file, and it contains: => =>tar --create --null --files-from=- --ignore-failed-read =>--same-permissions --no-recursion --totals --label level 0 /etc Wed Oct =>01 13:16:02 2008 tar+gzip from mail.uvcms.com --verbose --sparse -b 20 =>--file - =>buffer -m 10m -p 75 -s 10k -t -o /BACKUP/etc.0.200810011316.tar.gz => =>Please, if somebody have some idea about this, tell me. => =>Regards. => =>Gabriel Gabriel, I have the same problem. I asked for help on this list multiple times. No one responded. What you posted doesn't really show very much, but what I have here, is that on occasion, the job doesn't complete and I have to manually kill the bzip2 processed. This is what's on my machine right now: root 3530 0.0 0.0 2676 468 ? Ss Jun27 0:02 crond root 8519 0.0 0.0 3088 644 ? S Sep09 0:00 \_ crond root 8520 0.0 0.2 8324 2108 ? Ss Sep09 0:00 | \_ /usr/bin/perl -w /usr/bin/flexbackup -set backup -incremental root 9075 0.0 0.0 0 0 ? Z Sep09 0:00 | | \_ [sh] <defunct> smmsp 8521 0.0 0.1 6968 1676 ? S Sep09 0:00 | \_ /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t root 2103 0.0 0.0 3088 704 ? S Sep15 0:00 \_ crond root 2104 0.0 0.2 8320 2160 ? Ss Sep15 0:00 | \_ /usr/bin/perl -w /usr/bin/flexbackup -set backup -incremental root 2821 0.0 0.0 0 0 ? Z Sep15 0:00 | | \_ [sh] <defunct> smmsp 2105 0.0 0.1 6964 1736 ? S Sep15 0:00 | \_ /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t root 32289 0.0 0.0 3088 756 ? S Sep18 0:00 \_ crond root 32290 0.0 0.2 8328 2176 ? Ss Sep18 0:00 | \_ /usr/bin/perl -w /usr/bin/flexbackup -set backup -incremental root 481 0.0 0.0 0 0 ? Z Sep18 0:00 | | \_ [sh] <defunct> smmsp 32291 0.0 0.1 6964 1756 ? S Sep18 0:00 | \_ /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t root 20147 0.0 0.0 3088 756 ? S Sep22 0:00 \_ crond root 20148 0.0 0.2 8324 2176 ? Ss Sep22 0:00 \_ /usr/bin/perl -w /usr/bin/flexbackup -set backup -incremental root 20836 0.0 0.0 0 0 ? Z Sep22 0:00 | \_ [sh] <defunct> smmsp 20149 0.0 0.1 6964 1760 ? S Sep22 0:00 \_ /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t root My current config without comments: # General configuration section $type = 'afio'; $set{'backup'} = "/e/web /usr/share/emacs/site-lisp /usr/local /etc /boot /root /var/spool/mail /var/log"; $prune{'/e/web'} = "steveo/mpg"; $compress = 'bzip2'; # one of false/gzip/bzip2/lzop/zip/compress/hardware $compr_level = '9'; # compression level (1-9) (for gzip/bzip2/lzop/zip) $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 = '/d2/backup'; $blksize = '10'; $mt_blksize = "0"; $pad_blocks = 'true'; $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 $staticfiles = 'false'; $atime_preserve = 'false'; $traverse_fs = 'false'; $exclude_expr[0] = '.*/[Cc]ache/.*'; $exclude_expr[1] = '.*~$'; $erase_tape_set_level_zero = 'true'; $erase_rewind_only = 'false'; $logdir = '/var/log/flexbackup'; # directory for log files $comp_log = 'bzip2'; # 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 $afio_nocompress_types = 'mp3 MP3 Z z gz gif GIF zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo png'; $afio_echo_block = 'false'; $afio_compress_threshold = '3'; $afio_compress_cache_size = '2'; $tar_echo_record_num = 'false'; $cpio_format = 'newc'; $dump_length = '0'; $dump_use_dumpdates = 'false'; $star_fifo = 'true'; $star_acl = 'true'; $star_format = 'exustar'; $star_echo_block_num = 'false'; $pax_format = 'ustar'; $zip_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; $pkgdelta_archive_list = 'rootonly'; $pkgdelta_archive_unowned = 'true'; $pkgdelta_archive_changed = 'true'; 1; I'm too lazy to switch to something else, so every so often I just kill the bzip processes. IF ANYONE WOULD LIKE TO ADD THEIR TWO CENTS IT WOULD BE WELCOME. :-( -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net |
From: Gabriel <gab...@uv...> - 2008-10-01 18:04:19
|
hi!, i m Gabriel, from Argentina, i suscribe to this group becouse i m having problem with my backup task :s and i am a little crazy with this at this point. I m using Flexbackup to make an /etc backup: flexbackup -dir /etc Ok. No problems with that. But, when i put that in crontab, the backup dosent finish correctly. It start making the file, but it dont finish. And here is the log: |------------------------------------------------------------ | Doing level 0 backup of /etc using tar | Found directory index key 200810011200 |------------------------------------------------------------ | Backup of: /etc | Date of this level 0 backup: Wed Oct 01 13:16:02 2008 | Date of last level 0 backup: the epoch |------------------------------------------------------------ | cd "/etc" && /tmp/collectexit.31097.sh find . -depth -xdev ! -type s ! \ | -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | \ | /tmp/collectexit.31097.sh tar --create --null --files-from=- \ | --ignore-failed-read --same-permissions --no-recursion --totals --label \ | "level 0 /etc Wed Oct 01 13:16:02 2008 tar+gzip from mail.uvcms.com" \ | --verbose --sparse -b 20 --file - | /tmp/collectexit.31097.sh gzip -4 | \ | /tmp/collectexit.31097.sh buffer -m 10m -p 75 -s 10k -t -o \ | "/BACKUP/etc.0.200810011316.tar.gz" | [ ! -e /tmp/exitstatus.31097 ] |------------------------------------------------------------ I look for the /tmp/exitstatus.31097 file, and it contains: tar --create --null --files-from=- --ignore-failed-read --same-permissions --no-recursion --totals --label level 0 /etc Wed Oct 01 13:16:02 2008 tar+gzip from mail.uvcms.com --verbose --sparse -b 20 --file - buffer -m 10m -p 75 -s 10k -t -o /BACKUP/etc.0.200810011316.tar.gz Please, if somebody have some idea about this, tell me. Regards. Gabriel |
From: Birgit K. <bir...@un...> - 2008-09-18 12:43:52
|
Hello, I am trying to backup a 22GB directory over SSH and am wondering what causes flexbackup to choke on this. This is the error message I keep getting: afio: 22496m+181k+0 bytes written in 2068 seconds. The operation was successful. ERROR: non-zero exit from: cat I'm running this from machine 1, and the backup goes to an external hdd linked to machine 1 via external usb. Machine 1 runs the latest version of Ubuntu, with all packages in their latest official version. Any ideas what might cause the error? Thanks in advance, Birgit |
From: Aleksander B. <zu...@zu...> - 2008-07-16 14:39:58
|
Hi All! How do I organize my backups in this way (from config file): $device = '/serve/backups/miscYYYYMM'; (ofcourse I want to substitute YYYYMM with actual system date values) Right now ilt looks like $device = '/serve/backups/misc'; Thanks |
From: Andrew I. S. <an...@an...> - 2008-06-03 03:05:56
|
It looks like some people at ubuntu are aware of the diffculties: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/227724 However, if flexbackup provided an option to bypass attemping to find, stat, or tar .gvfs that would be really helpful in the short term. I have found this problem affects other backup programs as well. Cheers, Andy |
From: Andrew I. S. <an...@an...> - 2008-06-01 19:26:57
|
Ubuntu's ls has no such "O" option. Typically in linux I see special file permission settings including sticky bit using "ls -l". Thanks, A > You might want to use ls -lO to see if any special chflags have been set > to prevent the deletion of the files or directory. From man ls(1): > > -O Include the file flags in a long (-l) output. the chflags(1) > options show up as - or + signs. > > I'm using FreeBSD but, I think, Ubuntu supports the same ls(1) options. > |