Re: [flexbackup-help] flexbackup error

2009-03-25 Thread Robert Canner
On Sat, 2009-03-21 at 09:18 +, 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:

rob...@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


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] flexbackup error

2009-03-21 Thread Niall Brosnan
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
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] flexbackup error

2009-03-20 Thread Robert Canner
On Fri, 2009-03-20 at 00:35 +, Robert Canner wrote: 

> On Thu, 2009-03-19 at 10:51 +, 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,
>   ...
> rob...@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

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] flexbackup error

2009-03-19 Thread Robert Canner
On Thu, 2009-03-19 at 10:51 +, 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:

rob...@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

|---

Re: [flexbackup-help] flexbackup error

2009-03-19 Thread Niall Brosnan
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 

> 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
>
>
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] flexbackup error

2009-03-18 Thread Robert Canner
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


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] flexbackup error

2008-06-01 Thread TeckniX _
If root has trouble with the file, I would definitely look into what/who
created that file and see what can be done. In the meantime I'll look up
some of my flexbackup scripts and see if I can figure out an exception rule.

On Sun, Jun 1, 2008 at 12:58 AM, Andrew I. Schein <[EMAIL PROTECTED]>
wrote:

> I forgot to include the permissions...
>
> dr-x--  2 ais ais0 2008-06-01 00:56 .
>
>
>
> On Sat, May 31, 2008 at 11:11 PM, Tecknix <[EMAIL PROTECTED]> wrote:
> > How are you running the backup? Root? Also what are the permissions on
> the
> > file?
> >
> >
> >
> > On May 31, 2008, at 9:23 PM, "Andrew I. Schein" <[EMAIL PROTECTED]
> >
> > wrote:
> >
> >> Hi -
> >>
> >> I am encountering an error with flexbackup caused by the .gvfs special
> >> file in my home directory.  An example is below.
> >>
> >> Is there a way to pass in an argument to "find" to exclude this
> directory?
> >>
> >> Thanks,
> >>
> >> Andy
> >>
> >> |
> >> | Checking /bin/sh on this machine... unknown
> >> |
> >> | Doing level 0 backup of set all using tar
> >> | All sets = backup
> >> | Found directory index key 200805312021
> >> | Backup set "backup" (/home)
> >> |
> >> | Backup of: /home
> >> | Date of this level 0 backup: Sat May 31 21:08:39 2008
> >> | Date of last level 0 backup: the epoch
> >> |
> >> | cd "/home" && /home/tmp/flexbackup.9297.desk/collectexit.9297.sh find
> .
> >> \
> >> |   -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ ! \
> >> |   -regex ".*\.gvfs.*" -print0 | \
> >> |   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh tar --create
> --null
> >> \
> >> |   --files-from=- --ignore-failed-read --same-permissions
> --no-recursion
> >> \
> >> |   --totals --label "level 0 /home Sat May 31 21:08:39 2008 tar+gzip
> from
> >> \
> >> |   desk" --verbose --sparse -b 20 --file - | \
> >> |   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh gzip -4 | \
> >> |   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh dd ibs=10k
> obs=10k
> >> \
> >> |   conv=noerror
> of="/media/wdc/linux-backups/home.0.200805312108.tar.gz"
> >> | [ ! -e /home/tmp/flexbackup.9297.desk/exitstatus.9297 ]
> >> |
> >> find: ./ais/.gvfs: Permission denied
> >> level 0 /home Sat May 31 21:08:39 2008 tar+gzip from desk
> >> ...
> >>
> >>
> -
> >> This SF.net email is sponsored by: Microsoft
> >> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> >> ___
> >> flexbackup-help mailing list
> >> flexbackup-help@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/flexbackup-help
> >
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] flexbackup error

2008-06-01 Thread Tim Kellers
Andrew I. Schein wrote:
> I am running the command using sudo on Ubuntu 8.04.  However, this is
> some kind of special file/directory that even root can't rename (use
> mv command) or "chmod u+w".  It has zero bytes, unlike a symbolic
> links or ordinary directories.
>
> If I try to "rm -rf" it, there is a "Device or resource busy" message.
>
> Thanks,
>
> -Andy
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> flexbackup-help mailing list
> flexbackup-help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexbackup-help
>   
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.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] flexbackup error

2008-05-31 Thread Andrew I. Schein
I forgot to include the permissions...

dr-x--  2 ais ais0 2008-06-01 00:56 .



On Sat, May 31, 2008 at 11:11 PM, Tecknix <[EMAIL PROTECTED]> wrote:
> How are you running the backup? Root? Also what are the permissions on the
> file?
>
>
>
> On May 31, 2008, at 9:23 PM, "Andrew I. Schein" <[EMAIL PROTECTED]>
> wrote:
>
>> Hi -
>>
>> I am encountering an error with flexbackup caused by the .gvfs special
>> file in my home directory.  An example is below.
>>
>> Is there a way to pass in an argument to "find" to exclude this directory?
>>
>> Thanks,
>>
>> Andy
>>
>> |
>> | Checking /bin/sh on this machine... unknown
>> |
>> | Doing level 0 backup of set all using tar
>> | All sets = backup
>> | Found directory index key 200805312021
>> | Backup set "backup" (/home)
>> |
>> | Backup of: /home
>> | Date of this level 0 backup: Sat May 31 21:08:39 2008
>> | Date of last level 0 backup: the epoch
>> |
>> | cd "/home" && /home/tmp/flexbackup.9297.desk/collectexit.9297.sh find .
>> \
>> |   -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ ! \
>> |   -regex ".*\.gvfs.*" -print0 | \
>> |   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh tar --create --null
>> \
>> |   --files-from=- --ignore-failed-read --same-permissions --no-recursion
>> \
>> |   --totals --label "level 0 /home Sat May 31 21:08:39 2008 tar+gzip from
>> \
>> |   desk" --verbose --sparse -b 20 --file - | \
>> |   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh gzip -4 | \
>> |   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh dd ibs=10k obs=10k
>> \
>> |   conv=noerror of="/media/wdc/linux-backups/home.0.200805312108.tar.gz"
>> | [ ! -e /home/tmp/flexbackup.9297.desk/exitstatus.9297 ]
>> |
>> find: ./ais/.gvfs: Permission denied
>> level 0 /home Sat May 31 21:08:39 2008 tar+gzip from desk
>> ...
>>
>> -
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>> ___
>> flexbackup-help mailing list
>> flexbackup-help@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/flexbackup-help
>

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] flexbackup error

2008-05-31 Thread Andrew I. Schein
I am running the command using sudo on Ubuntu 8.04.  However, this is
some kind of special file/directory that even root can't rename (use
mv command) or "chmod u+w".  It has zero bytes, unlike a symbolic
links or ordinary directories.

If I try to "rm -rf" it, there is a "Device or resource busy" message.

Thanks,

-Andy

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] flexbackup error

2008-05-31 Thread Tecknix
How are you running the backup? Root? Also what are the permissions on  
the file?



On May 31, 2008, at 9:23 PM, "Andrew I. Schein"  
<[EMAIL PROTECTED]> wrote:

> Hi -
>
> I am encountering an error with flexbackup caused by the .gvfs special
> file in my home directory.  An example is below.
>
> Is there a way to pass in an argument to "find" to exclude this  
> directory?
>
> Thanks,
>
> Andy
>
> |
> | Checking /bin/sh on this machine... unknown
> |
> | Doing level 0 backup of set all using tar
> | All sets = backup
> | Found directory index key 200805312021
> | Backup set "backup" (/home)
> |
> | Backup of: /home
> | Date of this level 0 backup: Sat May 31 21:08:39 2008
> | Date of last level 0 backup: the epoch
> |
> | cd "/home" && /home/tmp/flexbackup.9297.desk/collectexit.9297.sh  
> find . \
> |   -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex  
> ".*~"$ ! \
> |   -regex ".*\.gvfs.*" -print0 | \
> |   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh tar --create  
> --null \
> |   --files-from=- --ignore-failed-read --same-permissions --no- 
> recursion \
> |   --totals --label "level 0 /home Sat May 31 21:08:39 2008 tar 
> +gzip from \
> |   desk" --verbose --sparse -b 20 --file - | \
> |   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh gzip -4 | \
> |   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh dd ibs=10k  
> obs=10k \
> |   conv=noerror of="/media/wdc/linux-backups/home. 
> 0.200805312108.tar.gz"
> | [ ! -e /home/tmp/flexbackup.9297.desk/exitstatus.9297 ]
> |
> find: ./ais/.gvfs: Permission denied
> level 0 /home Sat May 31 21:08:39 2008 tar+gzip from desk
> ...
>
> --- 
> --
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> flexbackup-help mailing list
> flexbackup-help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexbackup-help

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


[flexbackup-help] flexbackup error

2008-05-31 Thread Andrew I. Schein
Hi -

I am encountering an error with flexbackup caused by the .gvfs special
file in my home directory.  An example is below.

Is there a way to pass in an argument to "find" to exclude this directory?

Thanks,

Andy

|
| Checking /bin/sh on this machine... unknown
|
| Doing level 0 backup of set all using tar
| All sets = backup
| Found directory index key 200805312021
| Backup set "backup" (/home)
|
| Backup of: /home
| Date of this level 0 backup: Sat May 31 21:08:39 2008
| Date of last level 0 backup: the epoch
|
| cd "/home" && /home/tmp/flexbackup.9297.desk/collectexit.9297.sh find . \
|   -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ ! \
|   -regex ".*\.gvfs.*" -print0 | \
|   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh tar --create --null \
|   --files-from=- --ignore-failed-read --same-permissions --no-recursion \
|   --totals --label "level 0 /home Sat May 31 21:08:39 2008 tar+gzip from \
|   desk" --verbose --sparse -b 20 --file - | \
|   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh gzip -4 | \
|   /home/tmp/flexbackup.9297.desk/collectexit.9297.sh dd ibs=10k obs=10k \
|   conv=noerror of="/media/wdc/linux-backups/home.0.200805312108.tar.gz"
| [ ! -e /home/tmp/flexbackup.9297.desk/exitstatus.9297 ]
|
find: ./ais/.gvfs: Permission denied
level 0 /home Sat May 31 21:08:39 2008 tar+gzip from desk
...

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] Flexbackup error: offending command afio -o -E ?!?

2004-11-05 Thread Scott Coburn
On Friday 05 November 2004 10:06, Göran Törnqvist wrote:
>
> -1 "Defined letters are a for ignoring all possible warnings on exit, and m
> for ignoring the warning about missing files, which will occur when, on
> creating an archive, a file whose name was read  from  the standard  input
> is  not found.  The default is -1 m."
>
> So if the file is missing it shouldn't return an error, right, so my
> assumption is that the error here should be something different.

Could be.  I am not sure what your error might be.  One of the uses I put
flexbackup to is to back up some Windows 2000 PCs.  I have their C drives
mounted onto my backup server.  When flexbackup runs it sometimes finds
files on the PCs which are locked (typically mail files).  I have the "-1 a"
parameter set for afio, but it still seems to return an error for this.
(I guess software does not always perform as advertised, or I am mis-
understanding its behavior. :)

> Anyway when 
> I tried to change to "-1 a" checking /etc/flexbackup.conf ,the -1 m switch
> wasn't there. I'll need to read and learn more about flexbackup I guess :)

You need to look in the flexbackup script itself, not the flexbackup.conf
file.  On my Debian systems it is in /usr/bin.  It is just a (very large!)
perl script which you can edit.  (Make a backup copy first.)  Search for
the "-1 m" string.

> I will check the flexbackup -ignore-errors if that switch can help me. But
> is that "good behavior", to tell flexbackup to ignore errors?

Well, it may not be "good behavior" in some universal moral sense, but it
solves the problem and the backups get done.  (For my needs anyway, your
milage may very.)

Scott

-- 
* Scott Coburn
* Brookhaven National Laboratory
* [EMAIL PROTECTED] 631.344.7110
* This message brought to you by Debian Linux.


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
___
flexbackup-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] Flexbackup error: offending command afio -o -E ?!?

2004-11-05 Thread Göran Törnqvist
Hello, and thanks for the reply :)

Checked "man afio" and the -1 parameter is there (Version 2.4.7) but -1 m
means:

-1 "Defined letters are a for ignoring all possible warnings on exit, and m
for ignoring the warning about missing files, which will occur when, on
creating an archive, a file whose name was read  from  the standard  input
is  not found.  The default is -1 m."

So if the file is missing it shouldn't return an error, right, so my
assumption is that the error here should be something different. Anyway when
I tried to change to "-1 a" checking /etc/flexbackup.conf ,the -1 m switch
wasn't there. I'll need to read and learn more about flexbackup I guess :)


I will check the flexbackup -ignore-errors if that switch can help me. But
is that "good behavior", to tell flexbackup to ignore errors?



Thanks again...



Best Regards

Goran


- Original Message - 
From: "Scott Coburn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 04, 2004 11:37 PM
Subject: Re: [flexbackup-help] Flexbackup error: offending command
afio -o -E ?!?


On Thursday 04 November 2004 16:42, Göran Törnqvist wrote:
>
> afio -o -E /tmp/nocompress.60176 -z -1 m -P gzip -Q -4 -Z -M 2m -T
3k -v -b 10k
>

Goran,

The problem is that 'afio' is returning to the flexbackup script
with an error (some file missing or some such?).

The command parameters passed by flexbackup to afio have changed
in the recent versions.  See the afio man page, specifically the '-1'
parameter.  You can edit the flexbackup script to fix this.  Search
for '-1 m ' and change it to '-1 a ' (note the trailing space character).
(You can see the '-l m' in the afio command line above.)

See also the flexbackup '-ignore-errors' parameter to help solve
your problem.

Scott

-- 
* Scott Coburn
* Brookhaven National Laboratory
* [EMAIL PROTECTED] 631.344.7110
* This message brought to you by Debian Linux.


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
___
flexbackup-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flexbackup-help



---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
flexbackup-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


Re: [flexbackup-help] Flexbackup error: offending command afio -o -E ?!?

2004-11-04 Thread Scott Coburn
On Thursday 04 November 2004 16:42, Göran Törnqvist wrote:
>
> afio -o -E /tmp/nocompress.60176 -z -1 m -P gzip -Q -4 -Z -M 2m -T 3k -v -b 10k 
>  

Goran,

The problem is that 'afio' is returning to the flexbackup script
with an error (some file missing or some such?).

The command parameters passed by flexbackup to afio have changed
in the recent versions.  See the afio man page, specifically the '-1'
parameter.  You can edit the flexbackup script to fix this.  Search
for '-1 m ' and change it to '-1 a ' (note the trailing space character).
(You can see the '-l m' in the afio command line above.)

See also the flexbackup '-ignore-errors' parameter to help solve
your problem.

Scott

-- 
* Scott Coburn
* Brookhaven National Laboratory
* [EMAIL PROTECTED] 631.344.7110
* This message brought to you by Debian Linux.


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
___
flexbackup-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flexbackup-help


[flexbackup-help] Flexbackup error: offending command afio -o -E ?!?

2004-11-04 Thread Göran Törnqvist








Hello,

I’m backing upp the /home directory with:

/usr/local/bin/flexbackup -set bck-home -full -type
afio >logfile

 



It used to work fine but
now when I do this I get the following at the end of the backup:



 

afio: 2898m+128k+0 bytes written in 875 seconds. The
operation HAD 1 WARNING ABOUT ERRORS.

296768+0 records in

296768+0 records out

3038904320 bytes transferred in 874.245864 secs
(3476029 bytes/sec)

 

ERROR from backup, exiting

offending command(s):



afio -o -E
/tmp/nocompress.60176 -z -1 m -P gzip -Q -4 -Z -M 2m -T 3k -v -b 10k –



 

The file /home/tmp/nocompress.60176 or /tmp/nocompress.60176
doesn’t exist !!!

I don’t understand this error, I searched the logfile
for any errors but I can’t find any.

The logfile is also huge so it’s possible that
there’s something I missed but I don’t really know what to look for
or “grep”.

 

HELP ! J

 

Best Regards

Goran