View Issue Details

IDProjectCategoryView StatusLast Update
0001425bareos-coredocumentationpublic2022-02-10 15:51
Reporterembareossed Assigned Toarogge  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionnot fixable 
Platformx86_64OSDevuanOS VersionBeowulf
Product Version21.0.0 
Summary0001425: Copy job from one Storage daemon to another Storage daemon
DescriptionThe documentation on Migrate and Copy jobs states thus:

"The Copy process is essentially identical to the Migration feature with the exception that the Job that is copied is left unchanged. This essentially creates two identical copies of the same backup. However, the copy is treated as a copy rather than a backup job, and hence is not directly available for restore. If Bareos finds a copy when a job record is purged (deleted) from the catalog, it will promote the copy as real backup and will make it available for automatic restore."

That makes sense for a simple case of COPYing a job within one Storage. However, if the storage is located on a different system with a separate Director and a separate Storage daemon, what happens if one tries to restore the files in the copy of the backup job in the new storage daemon? Is it inaccessible unless the first director and storage is running?

I am asking because I'd like to retire one bareos environment using its own storage daemon but still have the jobs available in my new bareos environment using its own storage daemon. Will I have to re-start the first storage daemon for a restore in the new environment? In retiring the first bareos environment, I'd like the copy'd jobs to be available through the new director.
Steps To ReproduceBareos system A:
director A
storage A

Bareos system B:
director B
storage B

(For simplicity, assume that directors and storage daemons run on their respective bareos systems.)

COPY jobs from storage A to storage B (and add those jobs to the new director)
Shut down (permanently?) bareos system A (including its storage daemon).
Attempt a restore of a job (originally backed up to storage A) using Bareos system B (which means using its storage daemon)
Additional InformationIs this even possible to do in bareos?

Essentially, I want to migrate or copy (or maybe merge?) just certain jobs and volumes from one bareos environment to another, where the new director will be able to restore from said jobs/volumes as if the original backups had been run on that new director. I hope this information is clear and complete enough.
TagsNo tags attached.

Activities

arogge

arogge

2022-02-10 15:51

manager   ~0004515

That's a question, not a bug.
arogge

arogge

2022-02-10 15:51

manager   ~0004516

Feel free to bring this up on the mailing list.

Issue History

Date Modified Username Field Change
2022-02-06 03:26 embareossed New Issue
2022-02-10 15:51 arogge Assigned To => arogge
2022-02-10 15:51 arogge Status new => resolved
2022-02-10 15:51 arogge Resolution open => not fixable
2022-02-10 15:51 arogge Note Added: 0004515
2022-02-10 15:51 arogge Status resolved => closed
2022-02-10 15:51 arogge Note Added: 0004516