Hello,
On 7/3/2006 1:31 PM, Sergey Velikanov [Intelsoft] wrote:
> Hi
>
> I'am newbie in Bacula, could you answeron my two questions.
>
> 1) How can I define only dir name to backup? For example I've dir /proc,
> I don't want backup it contents, but I want that when I restore my backup,I
> receive
> empty dir /proc in root of backup path.
IIRC, you can define an exlude list with File = /proc/*
> 2)
> my config is
> Job {
> Name = "ftp-server"
> Type = Backup
> Level = Incremental
> Client = ftp-fd
> FileSet = "ftp file set"
> Schedule = "MonthlyCycle"
> ....
>
> Job {
> Name = "ftp-RestoreFiles"
> Type = Restore
> Client=local-fd
> FileSet="ftp file set"
> Storage = File
> Pool = ftp-Inc-Pool
> Messages = Standard
> Where = /var/backups/bacula-restores/ftp
> }
>
> when I type restore (then type 5) in bconsole, Bacula suggest to select client
>
> *restore
> Using default Catalog name=MyCatalog DB=bacula
>
> 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: ftp-fd
> 2: local-fd
>
> How can I configure bacula that it choose (by default) client which I've
> configured in restore job (local-fd in this case)
You can't do that in the configuration.
First because the restore job is only a template for the actual restore
processes you start. Second, what you did, you explicitly override the
predefined client by selecting another client.
You can start a restore giving much of the necessary information as
command parameters, though: The manual gives the full form of the
restore command as "restore storage=<storage-name> client=<client-name>
where=<path> pool=<pool-name> fileset=<fileset-name> select current all
done" which allows you to initiate a complete restore of the most recent
backup for a client without any intervention.
Arno
>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users