Hi Michael, obrigado!
I found the files now! My fault not reading the docs completely...
thanks a lot,
Luiz Nogueira
2007/10/29, Michael Lewinger <[EMAIL PROTECTED]>:
>
> Hi Luis, bom dia, como vai ?
>
> The files are restored by default to the client, not to the server. Use
> "mod" for changing the client's destination on the restore console. I'm
> marking the relevant lines with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> ----------------begin-------------------
>
> Connecting to Director 192.168.2.102:9101
> 1000 OK: michaelpc-dir Version: 2.2.5 (09 October 2007)
> Enter a period to cancel a command.
> *restore all
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
>
> First you select one or more JobIds that contain files
> to be restored. You will be presented several methods
> of specifying the JobIds. Then you will be allowed to
> select which files from those JobIds are to be restored.
>
> To select the JobIds, you have the following choices:
> 1: List last 20 Jobs run
> 2: List Jobs where a given File is saved
> 3: Enter list of comma separated JobIds to select
> 4: Enter SQL list command
> 5: Select the most recent backup for a client
> 6: Select backup for a client before a specified time
> 7: Enter a list of files to restore
> 8: Enter a list of files to restore before a specified time
> 9: Find the JobIds of the most recent backup for a client
> 10: Find the JobIds for a backup for a client before a specified time
> 11: Enter a list of directories to restore for found JobIds
> 12: Cancel
> Select item: (1-12): 5
> Defined Clients:
> 1: michaelpc
> 2: saar
> Select the Client (1-2): 2
> Automatically selected FileSet: saar
> +-------+-------+----------+---------------+---------------------+------------+
>
> | JobId | Level | JobFiles | JobBytes | StartTime |
> VolumeName |
>
> +-------+-------+----------+---------------+---------------------+------------+
> | 139 | F | 12,924 | 2,353,980,429 | 2007-10-26 08:36:29 |
> saar |
> | 142 | I | 1 | 11,556 | 2007-10-26 19:27:39 |
> saar |
>
> +-------+-------+----------+---------------+---------------------+------------+
> You have selected the following JobIds: 139,142
>
> Building directory tree for JobId 139 ...
> +++++++++++++++++++++++++++++++++++++++++++++++++
> Building directory tree for JobId 142 ...
> 2 Jobs, 12,845 files inserted into the tree and marked for extraction.
>
> You are now entering file selection mode where you add (mark) and
> remove (unmark) files to be restored. No files are initially added, unless
> you used the "all" keyword on the command line.
> Enter "done" to leave this mode.
>
> cwd is: /
> $ done
> Bootstrap records written to C:\Documents and Settings\All
> Users\Application Data\Bacula\Work/michaelpc-dir.restore.1.bsr
>
> The job will require the following
> Volume(s) Storage(s) SD Device(s)
>
> ===========================================================================
>
> saar external disk
>
>
> 12,924 files selected to be restored.
>
> Run Restore job
> JobName: RestoreFiles
> Bootstrap: C:\Documents and Settings\All Users\Application
> Data\Bacula\Work/michaelpc-dir.restore.1.bsr
> Where: C:\tmp\bacula-restores
> Replace: always
> FileSet: Windows Full Set
> Backup Client: saar
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Restore Client: saar
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Storage: external
> When: 2007-10-29 21:53:15
> Catalog: MyCatalog
> Priority: 10
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> OK to run? (yes/mod/no): mod
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Parameters to modify:
> 1: Level
> 2: Storage
> 3: Job
> 4: FileSet
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 5: Restore Client
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 6: When
> 7: Priority
> 8: Bootstrap
> 9: Where
> 10: File Relocation
> 11: Replace
> 12: JobId
> Select parameter to modify (1-12): 5
> The defined Client resources are:
> 1: michaelpc
> 2: saar
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Select Client (File daemon) resource (1-2): 1
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Run Restore job
> JobName: RestoreFiles
> Bootstrap: C:\Documents and Settings\All Users\Application
> Data\Bacula\Work/michaelpc-dir.restore.1.bsr
> Where: C:\tmp\bacula-restores
> Replace: always
> FileSet: Windows Full Set
> Backup Client: saar
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Restore Client: michaelpc
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Storage: external
> When: 2007-10-29 21:53:15
> Catalog: MyCatalog
> Priority: 10
> OK to run? (yes/mod/no):yes
>
> --------------------------------end--------------------------------------------------
>
> Michael
>
> On 10/29/07, Luiz Gustavo R. Nogueira <[EMAIL PROTECTED]> wrote:
>
> > hello Christof,
> >
> > yes I looked there ...I tried changing the location to other folders,
> > checked permissions and nothing ...
> >
> > thanks,
> > Luiz Nogueira
> >
> > -----
> >
> >
> > Date: Mon, 29 Oct 2007 16:45:13 +0100
> > From: Christof Klaus <[EMAIL PROTECTED]>
> > Subject: Re: [Bacula-users] Restore Problems
> > To: bacula-users@lists.sourceforge.net
> > Message-ID: <[EMAIL PROTECTED]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > hello luiz,
> > you didnt mention where you expect the file to be restored...the
> > restore-location given in the job is /tmp .. did you look there ?
> >
> > christof klaus.
> >
> >
> > Luiz Gustavo R. Nogueira schrieb:
> > > Hello all,
> > >
> > > When I try to restore a file through the console, everything looks
> > fine
> > > and I get a sucessful message and a email saying that file was
> > restored
> > > sucessfully, but when I go to the location where the restored file
> > >
> > > should be, nothing is there.
> > >
> > > I'm using bacula 2.0.3 with a RedHat AS 4 kernel 2.6.9-42. There's no
> > > error in the logs.
> > >
> > > Follows below my restore job configured at bacula-dir:
> > >
> > > Job {
> > > Name = "RestoreFiles"
> > >
> > > Type = Restore
> > > Client=client-name-fd
> > > FileSet="Full"
> > > Storage = File
> > > Pool = Default
> > > Messages = Standard
> > > Where = /tmp
> > > }
> > >
> > > Please let me know if you need any further information in order to
> > help
> > >
> > > solve this problem. I think it's something simple, but was not able to
> > find.
> > >
> > > Thanks in advance!
> > > Luiz
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
> >
>
>
> --
> Michael Lewinger
> MBR Computers
> http://mbrcomp.co.il
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users