RE: Single file backup using SAMBA

2003-05-29 Thread Francisco de Asís Miralles Argente

I thought to do this, if there isn't other solution I'll do it.

On Wed, May 28, 2003 at 04:25:40PM +0200, Francisco de As?s Miralles
Argente wrote:
> 
> 
> 
> Sorry, I try to do the backup with SAMBA, and when I use the "include"

> option i get this message: [samba does not support include file], and 
> I don't want to use the exclude option because there are a lot of 
> files in this directory.
> 

That's true, because smbtar/smbclient is not exactly gnutar. But that's
what samba backup use.

How about rsync'ing the file to a unix/linux host and then doing a
backup on that host using include as suggested.

> 
> 
> Francisco de Asís Miralles Argente wrote:
> 
> >  
> > I tried to backup only one file that is in a directory with 
> > other
> > files in a windows client, but I don't get any way to do it.
> >  
> 
> 
> The obvious DLE way does not work:
> 
> your.host/path/to/the/filecomp-user-tar
> 
> because dump and tar need a directory path; gnutar is given the 
> command "gnutar ... --directory /path/to/the/file ..." so it needs a 
> directory (or a symlink to a directory).
> 
> I never tried it, but recently you can also specify include lists when

> using gnutar.  Maybe something like this works:
> 
>your.host  file-bup /path/to/parent/dir {
> comp-user-tar
> include "./file"
> } 1
> 
> 
> 
> (Not tried myself, but curious if it works...)
> 
> 
> 
> 
>>> End of included message <<<

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)




RE: Single file backup using SAMBA

2003-05-29 Thread Francisco de Asís Miralles Argente



Sorry, I try to do the backup with SAMBA, and when I use the "include"
option i get this message: [samba does not support include file], and I
don't want to use the exclude option because there are a lot of files in
this directory.



Francisco de Asís Miralles Argente wrote:

>  
> I tried to backup only one file that is in a directory with other 
> files in a windows client, but I don't get any way to do it.
>  


The obvious DLE way does not work:

your.host/path/to/the/filecomp-user-tar

because dump and tar need a directory path; gnutar is given
the command "gnutar ... --directory /path/to/the/file ..."
so it needs a directory (or a symlink to a directory).

I never tried it, but recently you can also specify include lists when
using gnutar.  Maybe something like this works:

   your.host  file-bup /path/to/parent/dir {
comp-user-tar
include "./file"
} 1



(Not tried myself, but curious if it works...)





Single file backup using SAMBA

2003-05-28 Thread Francisco de Asís Miralles Argente
Title: Mensaje



 
    I 
tried to backup only one file that is in a directory with other files in a 
windows client, but I don't get any way to do it. 
 
    
Does anyone know a way to do it?
 

__
 
   Francisco de Asís Miralles 
Argente
 
Network Engineer
  GRUPO 
EUROCIBER

 email: [EMAIL PROTECTED]
__
 
--She kissed me just right like only a 
lonely angel can.--
  -Bruce 
Springteen-


RE: amrecover: Can't read file header

2003-03-20 Thread Francisco de Asís Miralles Argente
Yes, that's the frist thing I prove... Something like  settape
localhost:eu.xxd:/path/to/my/virtual/tapeNN.


Any ideas?

Thanks

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
En nombre de Jean-Louis Martineau
Enviado el: miércoles, 19 de marzo de 2003 3:34
Para: Francisco de Asís Miralles Argente
CC: [EMAIL PROTECTED]
Asunto: Re: amrecover: Can't read file header


Hi,

You did you set your tapedrive to eu.xxd:DailySet103 ?

It should be something like /dev/nst0

Jean-Louis


On Tue, Mar 18, 2003 at 06:47:08AM +0100, Francisco de Asís Miralles
Argente wrote:
> Hello, i'm newbie using amanda.
> I'm trying start to run a tapeless configuration wich I finded in this

> mailing list. I can make the backup for linux a windows (using SAMBA) 
> machines but I can't recover any file so I get this message always:
> 
> 
> 
> Extracting files using tape drive eu.xxd:DailySet103 on host 
> localhost. Load tape DailySet103 now Continue [?/Y/n/t]? EOF, check 
> amidxtaped.debug file on localhost.
> amrecover: short block 0 bytes
> UNKNOWN file
> amrecover: Can't read file header
> extract_list - child returned non-zero status: 1
> 
> 
> _
> amidxtaped..debug
> amidxtaped: debug 1 pid 3318 ruid 34 euid 34: start at Mon Mar 17 
> 10:55:02 2003
> amidxtaped: version 2.4.3
> amidxtaped: time 0.000: > SECURITY USER root
> amidxtaped: time 0.000: bsd security: remote host localhost user root 
> local user backup
> amidxtaped: time 0.001: amandahosts security check passed
> amidxtaped: time 0.001: > 6
> amidxtaped: time 0.001: amrestore_nargs=6
> amidxtaped: time 0.001: > -h
> amidxtaped: time 0.001: > -p
> amidxtaped: time 0.001: > ex.xxd:DailySet103
> amidxtaped: time 0.001: > ^localhost$
> amidxtaped: time 0.001: > ^//sambapc/sharedfolder$
> amidxtaped: time 0.001: > 20030317
> amidxtaped: time 0.001: Ready to execv amrestore with:
> path = /usr/local/sbin/amrestore
> argv[0] = "amrestore"
> argv[1] = "-h"
> argv[2] = "-p"
> argv[3] = "ex.xxd:DailySet103"
> argv[4] = "^localhost$"
> argv[5] = "^//sambapc/sharedfolder$"
> argv[6] = "20030317"
> amrestore: could not stat ex.xxd:DailySet103
> amidxtaped: time 0.004: amrestore terminated normally with status: 2
> amidxtaped: could not stat eurociber.vsd:DailySet103
> amidxtaped: time 0.004: could not stat eurociber.vsd:DailySet103
> amidxtaped: time 0.004: pid 3318 finish time Mon Mar 17 10:55:02 2003 
> _
> amindexd.xx.debug
> amindexd: debug 1 pid 3313 ruid 34 euid 34: start at Mon Mar 17 
> 10:54:11 2003
> amindexd: version 2.4.3
> amindexd: time 0.000: < 220 backserver AMANDA index server (2.4.3) 
> ready.
> amindexd: time 0.001: > SECURITY USER root
> amindexd: time 0.001: bsd security: remote host backserver user root 
> local user backup
> amindexd: time 0.001: amandahosts security check passed
> amindexd: time 0.002: < 200 Access OK
> amindexd: time 0.039: > DATE 2003-03-17
> amindexd: time 0.039: < 200 Working date set to 2003-03-17.
> amindexd: time 0.079: > SCNF DailySet1
> amindexd: time 0.080: < 200 Config set to DailySet1.
> amindexd: time 0.119: > HOST backserver
> amindexd: time 0.119: < 501 No index records for host: backserver. 
> Invalid?
> amindexd: time 0.159: > HOST backserver
> amindexd: time 0.159: < 501 No index records for host: backserver. 
> Invalid?
> amindexd: time 7.908: > HOST localhost
> amindexd: time 7.909: < 200 Dump host set to localhost.
> amindexd: time 18.528: > DISK //sambapc/sharedfolder
> amindexd: time 18.529: - 2003-03-17 0 DailySet103 1
> amindexd: time 18.529: < 200 Disk set to //sambapc/sharedfolder.
> amindexd: time 18.568: > OISD /
> amindexd: time 18.568: uncompress command: /bin/gzip -dc '/'
> 2>/dev/null | sort > '/x/20030317_0'
> amindexd: time 18.578: f /x/20030317_0
> amindexd: time 18.579: < 200 "/" is a valid directory
> amindexd: time 18.618: > OLSD /
> amindexd: time 18.618: < 200- Opaque list of /
> [...]
> amindexd: time 18.619: < 200 Opaque list of /
> amindexd: time 55.038: ? unexpected EOF
> amindexd: time 55.038: removing index file: /x/20030317_0
> amindexd: time 55.039: pid 3313 finish time Mon Mar 17 10:55:06 2003 
> _
> amrecover.x.debug
> 
> amrecover: debug 1 pid 3312 ruid 0 euid 0: start at Mon Mar 1

amrecover: Can't read file header

2003-03-17 Thread Francisco de Asís Miralles Argente
Hello, i'm newbie using amanda.
I'm trying start to run a tapeless configuration wich I finded in this
mailing list.
I can make the backup for linux a windows (using SAMBA) machines but I
can't recover any file so I get this message always:



Extracting files using tape drive eu.xxd:DailySet103 on host
localhost. Load tape DailySet103 now Continue [?/Y/n/t]? EOF, check
amidxtaped.debug file on localhost.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1


_
amidxtaped..debug
amidxtaped: debug 1 pid 3318 ruid 34 euid 34: start at Mon Mar 17
10:55:02 2003
amidxtaped: version 2.4.3
amidxtaped: time 0.000: > SECURITY USER root
amidxtaped: time 0.000: bsd security: remote host localhost user root
local user backup
amidxtaped: time 0.001: amandahosts security check passed
amidxtaped: time 0.001: > 6
amidxtaped: time 0.001: amrestore_nargs=6
amidxtaped: time 0.001: > -h
amidxtaped: time 0.001: > -p
amidxtaped: time 0.001: > ex.xxd:DailySet103
amidxtaped: time 0.001: > ^localhost$
amidxtaped: time 0.001: > ^//sambapc/sharedfolder$
amidxtaped: time 0.001: > 20030317
amidxtaped: time 0.001: Ready to execv amrestore with:
path = /usr/local/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "ex.xxd:DailySet103"
argv[4] = "^localhost$"
argv[5] = "^//sambapc/sharedfolder$"
argv[6] = "20030317"
amrestore: could not stat ex.xxd:DailySet103
amidxtaped: time 0.004: amrestore terminated normally with status: 2
amidxtaped: could not stat eurociber.vsd:DailySet103
amidxtaped: time 0.004: could not stat eurociber.vsd:DailySet103
amidxtaped: time 0.004: pid 3318 finish time Mon Mar 17 10:55:02 2003
_
amindexd.xx.debug
amindexd: debug 1 pid 3313 ruid 34 euid 34: start at Mon Mar 17 10:54:11
2003
amindexd: version 2.4.3
amindexd: time 0.000: < 220 backserver AMANDA index server (2.4.3)
ready.
amindexd: time 0.001: > SECURITY USER root
amindexd: time 0.001: bsd security: remote host backserver user root
local user backup
amindexd: time 0.001: amandahosts security check passed
amindexd: time 0.002: < 200 Access OK
amindexd: time 0.039: > DATE 2003-03-17
amindexd: time 0.039: < 200 Working date set to 2003-03-17.
amindexd: time 0.079: > SCNF DailySet1
amindexd: time 0.080: < 200 Config set to DailySet1.
amindexd: time 0.119: > HOST backserver
amindexd: time 0.119: < 501 No index records for host: backserver.
Invalid?
amindexd: time 0.159: > HOST backserver
amindexd: time 0.159: < 501 No index records for host: backserver.
Invalid?
amindexd: time 7.908: > HOST localhost
amindexd: time 7.909: < 200 Dump host set to localhost.
amindexd: time 18.528: > DISK //sambapc/sharedfolder
amindexd: time 18.529: - 2003-03-17 0 DailySet103 1
amindexd: time 18.529: < 200 Disk set to //sambapc/sharedfolder.
amindexd: time 18.568: > OISD /
amindexd: time 18.568: uncompress command: /bin/gzip -dc '/'
2>/dev/null | sort > '/x/20030317_0'
amindexd: time 18.578: f /x/20030317_0
amindexd: time 18.579: < 200 "/" is a valid directory
amindexd: time 18.618: > OLSD /
amindexd: time 18.618: < 200- Opaque list of /
[...]
amindexd: time 18.619: < 200 Opaque list of /
amindexd: time 55.038: ? unexpected EOF
amindexd: time 55.038: removing index file: /x/20030317_0
amindexd: time 55.039: pid 3313 finish time Mon Mar 17 10:55:06 2003
_
amrecover.x.debug

amrecover: debug 1 pid 3312 ruid 0 euid 0: start at Mon Mar 17 10:54:11
2003
amrecover: stream_client_privileged: connected to 193.127.3.8.10082
amrecover: stream_client_privileged: our side is 0.0.0.0.563
[]
add_glob (ex.xxd) -> ^ex\.xxd$
add_file: Looking for "ex\.xxd[/]*$"
add_file: Converted path="ex\.xxd[/]*$" to
path_on_disk="/ex\.xxd[/]*$"
add_file: Pondering ditem->path="/.vvv"
[]
add_file: (Successful) Added /ex.xxd
[]
amrecover: stream_client_privileged: connected to 127.0.0.1.10083
amrecover: stream_client_privileged: our side is 0.0.0.0.614
amrecover: try_socksize: receive buffer size is 65536
Started amidxtaped with arguments "6 -h -p ex.xxd:DailySet103
^localhost$ ^//sambapc/sharedfolder$ 20030317"
amrecover: Can't read file header
amrecover: pid 3317 finish time Mon Mar 17 10:55:02 2003
amrecover: pid 3312 finish time Mon Mar 17 10:55:06 2003
___

Anyone can help me?


TIA

__

   Francisco de Asís Miralles Argente
 Network Engineer
  GRUPO EUROCIBER
  Telf: +34 913382810
  Fax: +34 913381616
 email: [EMAIL PROTECTED]
__