Discussion:
[bareos-users] VirtualFull archive not pulling from correct source
Eric Browning
2018-10-25 19:03:50 UTC
Permalink
Ok, there isn't good documentation on how to do archives. I can get all of
my clients to now do Full, Diff, Inc backups to pools called Monthly (full
level), Weekly (diff level), and Daily (inc level). I can see that each
client has jobs named after them for full, diff, and inc type jobs.

When I tried to do a VirtualFull backup of a client to a pool called
"Archive" The 5th line in the job log says "Could not open:
/mnt/archive/Students-Monthly-20180805-0134-7" which makes no sense because
it's the wrong volume for one and two it's not pulling from the full pool
called Monthly which is stored on /mnt/raid. It should be something like
/mnt/raid/Apache-Monthly-...

COMPLETE JOB LOG
...from failed virtual full archive of my client Apache.

2018-10-25 09:38:06 bareos-dir JobId 2958: Bootstrap records written to
/var/lib/bareos/bareos-dir.restore.1.bsr
2018-10-25 09:38:06 bareos-dir JobId 2958: Using Device "Archive" to read.
2018-10-25 09:38:06 bareos-dir JobId 2958: Created new Volume
"Apache-Archive-20181025-0938-2958" in catalog.
2018-10-25 09:38:06 bareos-dir JobId 2958: Using Device "FileStorage" to
write.
2018-10-25 09:38:06 bareos-sd JobId 2958: Warning: acquire.c:241 Read open
device "Archive" (/mnt/archive) Volume "Students-Monthly-20180805-0134-7"
failed: ERR=dev.c:664 Could not open:
/mnt/archive/Students-Monthly-20180805-0134-7, ERR=No such file or directory
2018-10-25 09:38:06 bareos-sd JobId 2958: Please mount read Volume
"Students-Monthly-20180805-0134-7" for:
Job: Apache-Archive.2018-10-25_09.37.59_13
Storage: "Archive" (/mnt/archive)
Pool: Archive
Media type: File
2018-10-25 09:38:01 bareos-dir JobId 2958: Start Virtual Backup JobId 2958,
Job=Apache-Archive.2018-10-25_09.37.59_13
2018-10-25 09:38:01 bareos-dir JobId 2958: Consolidating JobIds 2211,2941

JOB CONFIGURATION
Job {
Name = "Apache-Archive"
enabled = yes
Client = Apache
FileSet = Apache
Storage = Archive
# Schedule = MonthlyArchive
Type = Backup
Level = VirtualFull
Accurate = yes
Pool = Archive
Messages = Standard
Priority = 13 # run after Consolidate
Run Script {
console = "update jobid=%i jobtype=A"
Runs When = After
Runs On Client = No
Runs On Failure = No
}
}

Thanks,
--
Eric
--
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 bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...