[Bacula-users] Install bacula using MySQL where MySQL isn't on same server
Is this possible? There is a dedicated MySQL server on the LAN which isn't the same as the one which will run bacula (with the tape in). I built and ran it fine on my home server and noticed it pulling in the MySQL headers etc, but that server hosted everything (RH6). Now I'm getting familiar with bacula I want to do the same in the office, which has the setup I described. Thanks. -- -- http://www.phonewebcam.com [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Install bacula using MySQL where MySQL isn't on same server
John Stoffel wrote: > In the Catalog { ... } definition in the bacula-dir.conf I had to add > the line "DB Address = " > > I think that was it really. > > John > > Thanks, and that will be great for running it. But I'm more concerned about the build. will ./configure --with-mysql work with no mysql-devel etc on the machine? Do you have to "temporarily" do a full install of MySQL ( & devel) ? -- -- http://www.phonewebcam.com [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] First time install: changes to bacula-dir.conf not taking effect
I followed the docs to the point where the daemons are ok, the tape tests fine with btape test and the example of backing up and restoring to the /tmp dir using the File Fileset worked. I now find changes to bacula-dir.conf have no effect (yes, I always ./bacula restart). Could my installation be borked? I am on RH Fed6, I installed to /usr/src/bacula, the only instance of bacula-dir.conf is in /usr/src/nbacula/src/dird - is that the "live" on or should it be copied somewehere? I'm trying to add a fileset to back up about 80G of last years data, across a few tapes. The entry I added was FileSet { Name = "2006" Include { Options { signature = MD5 } File = /data/Vol4/Backup_pending_tape/Daily/2006 File = /data/Vol4/Backup_pending_tape/Weekly/2006 } } I was expecting the new fileset to appear in the list when in bconsole I did "show filesets". Is this reasonable? I also tried renaming the default "Full Set" Fileset to "XFull Set" just to see a change but it didn't. Thanks. -- -- http://www.phonewebcam.com [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Stop the example job
The example job to back up the source to /tmp ran ok a few days ago when I was setting up bacula but its running every night now. Whats the correct way to stop this please? I'm worried if I just delete the job in the conf file it will break something. Thanks. -- -- http://www.phonewebcam.com [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Job is waiting for an appendable volume
I am still trying to do my first bacula backup to tape, its a 80G folder from 2006 disk based backups. I think I have the correct job set up, I understand its a manual full job (no schedule) and have run into 2 problems (as seen in the log below). 1. Why can't I use my tape? I don't care whats on it, I just want to overwrite it and expect the next to be prompted for when needed. I will call it anything! 2. Why does the "bytes" column show 58.2M when I know the backup is much bigger? Also, is there a facility for bacula to send an email when the tape needs changing please? Thanks! *status dir tiger-dir Version: 2.0.3 (06 March 2007) i686-pc-linux-gnu redhat (Zod) Daemon started 29-Apr-07 09:36, 1 Job run since started. Heap: bytes=51,242 max_bytes=51,636 bufs=283 max_bufs=286 Scheduled Jobs: Level Type Pri Scheduled Name Volume === Full Backup11 29-Apr-07 23:10BackupCatalog *unknown* Running Jobs: JobId Level Name Status == 1 Fulltiger-2006.2007-04-29_09.40.45 is waiting for an appendable Volume 2 Fulltiger-2006.2007-04-29_10.15.23 has been canceled Terminated Jobs: JobId LevelFiles Bytes Status FinishedName 34 Full 2,34958.26 M OK 29-Apr-07 08:42 tiger-2006 35 Full 0 0 Error29-Apr-07 09:35 tiger-2006 *label The defined Storage resources are: 1: File 2: SEAGATE-SCORPION Select Storage resource (1-2): 2 Enter new Volume name: 2006-1 Automatically selected Pool: Default Connecting to Storage daemon SEAGATE-SCORPION at tiger:9103 ... Sending label command for Volume "2006-1" Slot 0 ... 3920 Cannot label Volume because it is already labeled: "2006" Label command failed for Volume 2006-1. Do not forget to mount the drive!!! * Looking at this log, is it still waiting for the correct volume and if it found it would it then carry on with the backup? -- -- http://www.phonewebcam.com [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job is waiting for an appendable volume
Erich Prinz wrote: > I can only get you pointed in the direction you need to take -- > hopefully one with more tape savvy will chime in here. > > From my limited experience with tapes, there are a couple utilities > that need to be run to make sure bacula can talk to the drive. One > utility will write to the tape checking along the way for various > commands. btape I believe (I've only played with this and it's been a > few months now.) > Thanks for your help. Well, I know it can talk to the drive as I've been through the btest and its all fine. My problem, as I hope the log showed, is the machine is sitting there waiting for the right volume name, but what that is and how I give it one is what is giving trouble. The email system looks great, I'm looking forwards to using it. After this backup of last year is done ;-) -- -- http://www.phonewebcam.com [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job is waiting for an appendable volume
Erich Prinz wrote: > I do know that in bcosole, you must mount the drive and then issue > > label > > to label the media mounted in the volume. Very similar with disc > backups if you aren't automatically labeling the volumes. Your choice > what to name it. Bacula will then use the newly created volume for the > backup job. > > Hope it gets you a little closer! > > Erich Grr!! Ok, thanks for your help too but I sort of know this. I just need to execute the label!!! [EMAIL PROTECTED] ~]# bconsole Connecting to Director tiger:9101 1000 OK: tiger-dir Version: 2.0.3 (06 March 2007) Enter a period to cancel a command. *messages 29-Apr 12:44 tiger-sd: Job tiger-2006.2007-04-29_09.40.45 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "SEAGATE-SCORPION" (/dev/st0) Media type: DDS-3 Pool: Default 29-Apr 16:44 tiger-sd: Job tiger-2006.2007-04-29_09.40.45 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "SEAGATE-SCORPION" (/dev/st0) Media type: DDS-3 Pool: Default 30-Apr 00:44 tiger-sd: Job tiger-2006.2007-04-29_09.40.45 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "SEAGATE-SCORPION" (/dev/st0) Media type: DDS-3 Pool: Default 30-Apr 16:44 tiger-sd: Job tiger-2006.2007-04-29_09.40.45 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "SEAGATE-SCORPION" (/dev/st0) Media type: DDS-3 Pool: Default *label Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" The defined Storage resources are: 1: File 2: SEAGATE-SCORPION Select Storage resource (1-2): 2 Enter new Volume name: 2006 Automatically selected Pool: Default Connecting to Storage daemon SEAGATE-SCORPION at tiger:9103 ... Sending label command for Volume "2006" Slot 0 ... 3920 Cannot label Volume because it is already labeled: "2006" Label command failed for Volume 2006. Do not forget to mount the drive!!! *label The defined Storage resources are: 1: File 2: SEAGATE-SCORPION Select Storage resource (1-2): 2 Enter new Volume name: 2006-1 Automatically selected Pool: Default Connecting to Storage daemon SEAGATE-SCORPION at tiger:9103 ... Sending label command for Volume "2006-1" Slot 0 ... 3920 Cannot label Volume because it is already labeled: "2006" Label command failed for Volume 2006-1. Do not forget to mount the drive!!! * -- -- http://www.phonewebcam.com [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job is waiting for an appendable volume
Simon Tomlinson wrote: > Hi > It looks like the volume already has a label so you can't label it > again. Are you recycling it? If this is the case then you have to > purge and use relabel. > The full instructions for recycling volumes are in the manual. > No, I'm a complete newbie. In fact apart from the test (which worked great) Bacula has never written anything to any of my tapes. I'll look again for this purge and relabel. I sure hope it clicks soon, it seems really powerful but so frustrating when it turns out you have to do other stuff like this before even the basics get going. Perhaps bacula isn't geared towards one off runs like I'm trying? > Simon > > John Steel wrote: >> Erich Prinz wrote: >> >>> I do know that in bcosole, you must mount the drive and then issue >>> >>> label >>> >>> to label the media mounted in the volume. Very similar with disc >>> backups if you aren't automatically labeling the volumes. Your choice >>> what to name it. Bacula will then use the newly created volume for the >>> backup job. >>> >>> Hope it gets you a little closer! >>> >>> Erich >>> >> Grr!! >> Ok, thanks for your help too but I sort of know this. I just need to >> execute the label!!! >> >> [EMAIL PROTECTED] ~]# bconsole >> Connecting to Director tiger:9101 >> 1000 OK: tiger-dir Version: 2.0.3 (06 March 2007) >> Enter a period to cancel a command. >> *messages >> 29-Apr 12:44 tiger-sd: Job tiger-2006.2007-04-29_09.40.45 waiting. >> Cannot find any appendable volumes. >> Please use the "label" command to create a new Volume for: >> Storage: "SEAGATE-SCORPION" (/dev/st0) >> Media type: DDS-3 >> Pool: Default >> 29-Apr 16:44 tiger-sd: Job tiger-2006.2007-04-29_09.40.45 waiting. >> Cannot find any appendable volumes. >> Please use the "label" command to create a new Volume for: >> Storage: "SEAGATE-SCORPION" (/dev/st0) >> Media type: DDS-3 >> Pool: Default >> 30-Apr 00:44 tiger-sd: Job tiger-2006.2007-04-29_09.40.45 waiting. >> Cannot find any appendable volumes. >> Please use the "label" command to create a new Volume for: >> Storage: "SEAGATE-SCORPION" (/dev/st0) >> Media type: DDS-3 >> Pool: Default >> 30-Apr 16:44 tiger-sd: Job tiger-2006.2007-04-29_09.40.45 waiting. >> Cannot find any appendable volumes. >> Please use the "label" command to create a new Volume for: >> Storage: "SEAGATE-SCORPION" (/dev/st0) >> Media type: DDS-3 >> Pool: Default >> *label >> Automatically selected Catalog: MyCatalog >> Using Catalog "MyCatalog" >> The defined Storage resources are: >> 1: File >> 2: SEAGATE-SCORPION >> Select Storage resource (1-2): 2 >> Enter new Volume name: 2006 >> Automatically selected Pool: Default >> Connecting to Storage daemon SEAGATE-SCORPION at tiger:9103 ... >> Sending label command for Volume "2006" Slot 0 ... >> 3920 Cannot label Volume because it is already labeled: "2006" >> Label command failed for Volume 2006. >> Do not forget to mount the drive!!! >> *label >> The defined Storage resources are: >> 1: File >> 2: SEAGATE-SCORPION >> Select Storage resource (1-2): 2 >> Enter new Volume name: 2006-1 >> Automatically selected Pool: Default >> Connecting to Storage daemon SEAGATE-SCORPION at tiger:9103 ... >> Sending label command for Volume "2006-1" Slot 0 ... >> 3920 Cannot label Volume because it is already labeled: "2006" >> Label command failed for Volume 2006-1. >> Do not forget to mount the drive!!! >> * >> >> > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- -- http://www.phonewebcam.com [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Purge, relabel - more voodoo needed
Continuing with the longest backup in history... :-[ Please...what is it asking for? I'm only trying to get the first tape going. Another poster said use purge & relabel, once again theres something you need to know before you can even do that. It looks like it won't do anything until I give it the correct volume name, but having never given it a volume name in the first place thats a bit tricky as its a new tape (well I did the btest on it - could that affect it?) *show filesets FileSet: name=Full Set O M N I /usr/src/bacula N E /proc E /tmp E /.journal E /.fsck N FileSet: name=Catalog O Mf N I /var/bacula/working/bacula.sql N FileSet: name=2006 O M N I /data/Vol4/Backup_pending_tape/BTMC/Daily/2006 I /data/Vol4/Backup_pending_tape/BTMC/Weekly/2006 N *run jobs Job "jobs" not found The defined Job resources are: 1: tiger 2: tiger-2006 3: BackupCatalog 4: RestoreFiles Select Job resource (1-4): 2 Run Backup job JobName: tiger-2006 Level:Full Client: tiger-fd FileSet: Full Set Pool: Default (From Job resource) Storage: SEAGATE-SCORPION (From Job resource) When: 2007-05-02 12:33:49 Priority: 10 OK to run? (yes/mod/no): yes Job queued. JobId=7 * 02-May 12:33 tiger-dir: Start Backup JobId 7, Job=tiger-2006.2007-05-02_12.33.53 02-May 12:33 tiger-sd: Job tiger-2006.2007-05-02_12.33.53 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "SEAGATE-SCORPION" (/dev/st0) Media type: DDS-3 Pool: Default *purge volume This command is can be DANGEROUS!!! It purges (deletes) all Files from a Job, JobId, Client or Volume; or it purges (deletes) all Jobs from a Client or Volume without regard for retention periods. Normally you should use the PRUNE command, which respects retention periods. Automatically selected Pool: Default No results to list. Enter MediaId or Volume name: DDS-3 sql_get.c:954 Media record for Volume "DDS-3" not found. *purge volume This command is can be DANGEROUS!!! It purges (deletes) all Files from a Job, JobId, Client or Volume; or it purges (deletes) all Jobs from a Client or Volume without regard for retention periods. Normally you should use the PRUNE command, which respects retention periods. Automatically selected Pool: Default No results to list. Enter MediaId or Volume name: Default sql_get.c:954 Media record for Volume "Default" not found. *relabel The defined Storage resources are: 1: File 2: SEAGATE-SCORPION Select Storage resource (1-2): 2 Automatically selected Pool: Default No results to list. Enter MediaId or Volume name: 2006-1 sql_get.c:954 Media record for Volume "2006-1" not found. *relabel The defined Storage resources are: 1: File 2: SEAGATE-SCORPION Select Storage resource (1-2): 2 Automatically selected Pool: Default No results to list. Enter MediaId or Volume name: 2006 sql_get.c:951 Media record MediaId=2006 not found. * -- -- http://www.phonewebcam.com [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Purge, relabel - more voodoo needed
Brian Debelius wrote: > John Steel wrote: >> Continuing with the longest backup in history... :-[ >> Please...what is it asking for? >> I'm only trying to get the first tape going. Another poster said use >> purge & relabel, once again theres something you need to know before >> you can even do that. >> >> It looks like it won't do anything until I give it the correct volume >> name, but having never given it a volume name in the first place >> thats a bit tricky as its a new tape (well I did the btest on it - >> could that affect it?) >> >> *show filesets >> FileSet: name=Full Set >> O M >> N >> I /usr/src/bacula >> N >> E /proc >> E /tmp >> E /.journal >> E /.fsck >> N >> FileSet: name=Catalog >> O Mf >> N >> I /var/bacula/working/bacula.sql >> N >> FileSet: name=2006 >> O M >> N >> I /data/Vol4/Backup_pending_tape/BTMC/Daily/2006 >> I /data/Vol4/Backup_pending_tape/BTMC/Weekly/2006 >> N >> *run jobs >> Job "jobs" not found >> The defined Job resources are: >> 1: tiger >> 2: tiger-2006 >> 3: BackupCatalog >> 4: RestoreFiles >> Select Job resource (1-4): 2 >> Run Backup job >> JobName: tiger-2006 >> Level:Full >> Client: tiger-fd >> FileSet: Full Set >> Pool: Default (From Job resource) >> Storage: SEAGATE-SCORPION (From Job resource) >> When: 2007-05-02 12:33:49 >> Priority: 10 >> OK to run? (yes/mod/no): yes >> Job queued. JobId=7 >> * >> 02-May 12:33 tiger-dir: Start Backup JobId 7, >> Job=tiger-2006.2007-05-02_12.33.53 >> 02-May 12:33 tiger-sd: Job tiger-2006.2007-05-02_12.33.53 waiting. >> Cannot find any appendable volumes. >> Please use the "label" command to create a new Volume for: >> Storage: "SEAGATE-SCORPION" (/dev/st0) >> Media type: DDS-3 >> Pool: Default >> *purge volume >> >> This command is can be DANGEROUS!!! >> >> It purges (deletes) all Files from a Job, >> JobId, Client or Volume; or it purges (deletes) >> all Jobs from a Client or Volume without regard >> for retention periods. Normally you should use the >> PRUNE command, which respects retention periods. >> Automatically selected Pool: Default >> No results to list. >> Enter MediaId or Volume name: DDS-3 >> sql_get.c:954 Media record for Volume "DDS-3" not found. >> >> *purge volume >> >> This command is can be DANGEROUS!!! >> >> It purges (deletes) all Files from a Job, >> JobId, Client or Volume; or it purges (deletes) >> all Jobs from a Client or Volume without regard >> for retention periods. Normally you should use the >> PRUNE command, which respects retention periods. >> Automatically selected Pool: Default >> No results to list. >> Enter MediaId or Volume name: Default >> sql_get.c:954 Media record for Volume "Default" not found. >> >> *relabel >> The defined Storage resources are: >> 1: File >> 2: SEAGATE-SCORPION >> Select Storage resource (1-2): 2 >> Automatically selected Pool: Default >> No results to list. >> Enter MediaId or Volume name: 2006-1 >> sql_get.c:954 Media record for Volume "2006-1" not found. >> *relabel >> The defined Storage resources are: >> 1: File >> 2: SEAGATE-SCORPION >> Select Storage resource (1-2): 2 >> Automatically selected Pool: Default >> No results to list. >> Enter MediaId or Volume name: 2006 >> sql_get.c:951 Media record MediaId=2006 not found. >> * >> >> > I have never had success with relabel. > > use purge and label. > or purge, then mt -f yourtapedrive rewind, mt -f yourtapedrive weof, > mt -f yourtapedrive rewind, label > > login as: root [EMAIL PROTECTED]'s password: Last login: Wed May 2 11:42:51 2007 from otamate1.demon.co.uk [EMAIL PROTECTED] ~]# bconsole Connecting to Director tiger:9101 1000 OK: tiger-dir Version: 2.0.3 (06 March 2007) Enter a period to cancel a command. *purge This command is can be DANGEROUS!!! It purges (deletes) all Files from a Job, JobId, Client or Volume; or it purges (deletes) all Jobs from a Client or Volume without regard for retention periods. Normally you should use the PRUNE command, which respects retention periods. Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog"
Re: [Bacula-users] Purge, relabel - more voodoo needed
Brian Debelius wrote: > John Steel wrote: >> Brian Debelius wrote: >>> John Steel wrote: >>>> Continuing with the longest backup in history... :-[ >>> >>> use purge and label. >>> or purge, then mt -f yourtapedrive rewind, mt -f yourtapedrive weof, >>> mt -f yourtapedrive rewind, label >>> >>> Hooray! I owe you a virtual beer ;-) I labelled the tape. However, it returned too quickly having only backed up 58Mb, I have 80Gb in the tree. I was expecting it to take hours then prompt for another tape which I'd label "2006-2" and so on. Sorry this is so verbose, but I'm sure I'm nearly there now. How can I list which files were wtitten to the tape please? Here is the FileSet: FileSet { Name = "2006" Include { Options { signature = MD5 onefs = no } File = /data/Vol4/Backup_pending_tape/BTMC/Daily/2006 File = /data/Vol4/Backup_pending_tape/BTMC/Weekly/2006 } } [EMAIL PROTECTED] bacula]# bconsole Connecting to Director tiger:9101 1000 OK: tiger-dir Version: 2.0.3 (06 March 2007) Enter a period to cancel a command. *messages 02-May 23:19 tiger-dir: tiger-2006.2007-05-02_12.33.53 Fatal error: Network error with FD during Backup: ERR=No data available 02-May 23:19 tiger-sd: Job tiger-2006.2007-05-02_12.33.53 canceled while waiting for mount on Storage Device ""SEAGATE-SCORPION" (/dev/st0)". 02-May 23:19 tiger-dir: tiger-2006.2007-05-02_12.33.53 Fatal error: No Job status returned from FD. 02-May 23:19 tiger-dir: tiger-2006.2007-05-02_12.33.53 Error: Bacula 2.0.3 (06Mar07): 02-May-2007 23:19:18 JobId: 7 Job:tiger-2006.2007-05-02_12.33.53 Backup Level: Full Client: "tiger-fd" 2.0.3 (06Mar07) i686-pc-linux-gnu,redhat,(Zod) FileSet:"Full Set" 2007-04-29 09:40:45 Pool: "Default" (From Job resource) Storage:"SEAGATE-SCORPION" (From Job resource) Scheduled time: 02-May-2007 12:33:49 Start time: 02-May-2007 12:33:56 End time: 02-May-2007 23:19:18 Elapsed time: 10 hours 45 mins 22 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Encryption: no Volume name(s): Volume Session Id: 1 Volume Session Time:1178105552 Last Volume Bytes: 0 (0 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Error SD termination status: Canceled Termination:*** Backup Error *** *run Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" A job name must be specified. The defined Job resources are: 1: tiger 2: tiger-2006 3: BackupCatalog 4: RestoreFiles Select Job resource (1-4): 2 Run Backup job JobName: tiger-2006 Level:Full Client: tiger-fd FileSet: Full Set Pool: Default (From Job resource) Storage: SEAGATE-SCORPION (From Job resource) When: 2007-05-02 23:21:51 Priority: 10 OK to run? (yes/mod/no): yes Job queued. JobId=9 *messages 02-May 23:21 tiger-dir: Start Backup JobId 9, Job=tiger-2006.2007-05-02_23.21.54 02-May 23:21 tiger-sd: Job tiger-2006.2007-05-02_23.21.54 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "SEAGATE-SCORPION" (/dev/st0) Media type: DDS-3 Pool: Default *label The defined Storage resources are: 1: File 2: SEAGATE-SCORPION Select Storage resource (1-2): 2 Enter new Volume name: 2006-1 Automatically selected Pool: Default Connecting to Storage daemon SEAGATE-SCORPION at tiger:9103 ... Sending label command for Volume "2006-1" Slot 0 ... 3000 OK label. VolBytes=64512 DVD=0 Volume="2006-1" Device="SEAGATE-SCORPION" (/dev/st0) Catalog record for Volume "2006-1", Slot 0 successfully created. Requesting to mount SEAGATE-SCORPION ... 3001 OK mount. Device="SEAGATE-SCORPION" (/dev/st0) * 02-May 23:22 tiger-sd: Wrote label to prelabeled Volume "2006-1" on device "SEAGATE-SCORPION" (/dev/st0) * 02-May 23:23 tiger-sd: Job write elapsed time = 00:00:30, Transfer rate = 1.952 M bytes/second 02-May 23:23 tiger-sd: Alert: smartctl version 5.36 [i686-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen 02-May 23:23 tiger-sd: Alert: Home page is http://smartmontools.sourceforge.net/ 02-May 23:23 tiger-sd: Alert: 02-May 23:23 tiger-sd: Alert: Smartctl: please specify device type with the -d option. 02-May 23:23 tiger-sd: Alert: 02-May 23:23 tiger-sd: Alert: Use smartctl -h to get a usage summary 02-May
Re: [Bacula-users] Purge, relabel - more voodoo needed
Arno Lehmann wrote: >> Hooray! >> I owe you a virtual beer ;-) >> I labelled the tape. However, it returned too quickly having only backed >> up 58Mb, I have 80Gb in the tree. I was expecting it to take hours then >> prompt for another tape which I'd label "2006-2" and so on. Sorry this >> is so verbose, but I'm sure I'm nearly there now. >> How can I list which files were wtitten to the tape please? >> > > there is a query for this purpose: > > #que > Available queries: > 1: List Job totals: > 2: List where a File is saved regardless of the directory: > 3: List where the most recent copies of a file are saved: > 4: List last 20 Full Backups for a Client: > 5: List all backups for a Client after a specified time > 6: List all backups for a Client > 7: List Volume Attributes for a selected Volume: > 8: List Volumes used by selected JobId: > 9: List Volumes to Restore All Files: > 10: List Pool Attributes for a selected Pool: > 11: List total files/bytes by Job: > 12: List total files/bytes by Volume: > 13: List Files for a selected JobId: > 14: List Jobs stored in a selected MediaId: > 15: List Jobs stored for a given Volume name: > 16: List last 25 Jobs ordered by start time with long status: > 17: List which media bacula thinks is in changer: > 18: List media metadata concerning life-time > 19: List all backups for a client with FileSet: > 20: List all Media > 21: List Media for a pool, ordered by LastWritten > Choose a query (1-21): Unexpected question has been received. > 13 > Enter JobId: Unexpected question has been received. > 9743 > ++-+ > | Path | Name| > ++-+ > | /srv/nfsexport/bacula/ | BackupCatalog.bootstrap | > | /srv/nfsexport/bacula/ | GoblinDB.bootstrap | > | /srv/nfsexport/bacula/ | LinuxBalrog.bootstrap | > | /srv/nfsexport/bacula/ | LinuxElfHome.bootstrap | > | /srv/nfsexport/bacula/ | LinuxElfSrv.bootstrap | > | /srv/nfsexport/bacula/ | LinuxElfSys.bootstrap | > | /srv/nfsexport/bacula/ | LinuxGoblin.bootstrap | > | /srv/nfsexport/bacula/ | Mail.bootstrap | > ++-+ > # > > Thanks, that was just what I needed ... ahh, the clue was 58Mb, just about the same size as the bacula source tree ;-) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users