On 06/13/16 14:00, Franck Ratier wrote: > On Monday, 13 June 2016 10:10:24 UTC+1, [email protected] wrote: >> I configured copies and it work fine. >> >> Now, I want perform some restorations tests but I have an issue : I >> run "restore client=<client_name> copies". >> >> I show correctly jobID and copyjobId but it automatically select >> jobId instead of copyjobId. If I continue (mark some files to >> restore), it restore from original storage instead of storage of >> copies. >> >> But if I run restore with "restore client=<client_name> copies >> jobid=<copyjobId>", it will restore from the storage of copies. >> >> If I specify "copies" in the first case, should it not use copy >> storage directly ?
> I think that until the original job has not expired (i.e. retention > time not expired), the copy "is just a copy". Once the original job > expires the copy will be promoted and will be used for any restore > you'd have to do. It's well explained in the docs, Chapter 22 - > Migration and Copy. I find myself in exactly the same spot as Sylvain does: Testing that I can restore from the tape based copies I made of my on-disk backups. I've tried several purge commands to try to remove the records of the original backup from the catalog, but I still cannot restore from the copy jobs. Any suggestions on how to go about this testing? -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
