Hello, You don't restore from Copy jobs. If somehow your original volume is lost, bacula will automatically restore from the copy volume (thus, never simply delete your copied volumes).
I don't have any ideas about the copy job size issue, and I can only check this tomorrow, maybe someone can answer it meanwhile. Best regards, Gergely On 2011.04.01., at 21:58, Rodrigo Renie Braga <rodrigore...@gmail.com> wrote: > Hello everyone. > > I'm testing with Copy Jobs and I want to check if my results are actually the > expected ones. > > First, the Bacula log when running the Copy Job: > > 01-Abr 16:06 dir.ptibacula-dir JobId 2109: The following 1 JobId was chosen > to be copied: 2107 > 01-Abr 16:06 dir.ptibacula-dir JobId 2109: Copying using JobId=2107 > Job=job.ptiap.teste.2011-04-01_16.00.00_14 > 01-Abr 16:06 dir.ptibacula-dir JobId 2109: Bootstrap records written to > /var/lib/bacula/dir.ptibacula-dir.restore.1.bsr > 01-Abr 16:06 dir.ptibacula-dir JobId 2109: Start Copying JobId 2109, > Job=job.ptiap.copiaFull.2011-04-01_16.06.12_17 > 01-Abr 16:06 dir.ptibacula-dir JobId 2109: Using Volume "000026L3" from > 'Scratch' pool. > 01-Abr 16:06 dir.ptibacula-dir JobId 2109: Using Device "dev.tpb" > 01-Abr 16:06 st.ptibacula-st JobId 2109: Ready to read from volume > "FullMA-0091" on device "dev.file" (/var/backup/). > 01-Abr 16:06 st.ptibacula-st JobId 2109: 3307 Issuing autochanger "unload > slot 5, drive 0" command. > 01-Abr 16:06 st.ptibacula-st JobId 2109: 3304 Issuing autochanger "load slot > 7, drive 0" command. > 01-Abr 16:07 st.ptibacula-st JobId 2109: 3305 Autochanger "load slot 7, drive > 0", status is OK. > 01-Abr 16:07 st.ptibacula-st JobId 2109: Wrote label to prelabeled Volume > "000026L3" on device "dev.tpb" (/dev/tpb-tape) > 01-Abr 16:07 st.ptibacula-st JobId 2109: Forward spacing Volume "FullMA-0091" > to file:block 0:218. > 01-Abr 16:07 st.ptibacula-st JobId 2109: End of Volume at file 0 on device > "dev.file" (/var/backup/), Volume "FullMA-0091" > 01-Abr 16:07 st.ptibacula-st JobId 2109: End of all volumes. > 01-Abr 16:08 dir.ptibacula-dir JobId 2109: Bacula dir.ptibacula-dir 5.0.3 > (30Aug10): 01-Abr-2011 16:08:01 > Build OS: i686-redhat-linux-gnu redhat > Prev Backup JobId: 2107 > Prev Backup Job: job.ptiap.teste.2011-04-01_16.00.00_14 > New Backup JobId: 2110 > Current JobId: 2109 > Current Job: job.ptiap.copiaFull.2011-04-01_16.06.12_17 > Backup Level: Full > Client: client.ptiap > FileSet: "fs.teste" 2011-03-31 13:30:00 > Read Pool: "pool.file.fullMA" (From Job resource) > Read Storage: "st.file" (From Pool resource) > Write Pool: "pool.full.copy" (From Job Pool's NextPool resource) > Write Storage: "st.tpb" (From Storage from Pool's NextPool > resource) > Catalog: "cat.default" (From Client resource) > Start time: 01-Abr-2011 16:06:14 > End time: 01-Abr-2011 16:08:01 > Elapsed time: 1 min 47 secs > Priority: 10 > SD Files Written: 1,593 > SD Bytes Written: 96,423,831 (96.42 MB) > Rate: 901.2 KB/s > Volume name(s): 000026L3 > Volume Session Id: 365 > Volume Session Time: 1301589832 > Last Volume Bytes: 96,638,976 (96.63 MB) > SD Errors: 0 > SD termination status: OK > Termination: Copying OK > > > By the log alone, everething seems fine, but when I ran "list jobs": > > | jobid | name | starttime | type | level | > jobfiles | jobbytes | jobstatus | > | 2,109 | job.ptiap.copiaFull | 2011-04-01 16:06:14 | c | F | > 0 | 0 | T | > > The "jobfiles" and "jobbytes" are zeroed... is that normal? > > Also, if I try to restore from the ID of the Copy Job (just to check if the > files are really there): > > *restore jobid=2109 > Automatically selected Catalog: cat.default > Using Catalog "cat.default" > You have selected the following JobId: 2109 > > Building directory tree for JobId(s) 2109 ... > > For one or more of the JobIds selected, no files were found, > so file selection is not possible. > Most likely your retention policy pruned the files. > > Do you want to restore all the files? (yes|no): yes > No files found to read. No bootstrap file written. > No files selected to be restored. > > If that's expected, how do I check if the files are really on the Tape > Volume? Also, how to I restore the files using the Copy Job? > > Thanks! > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users