Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
matrox65
Influencer
Posts: 20
Liked: never
Joined: Nov 30, 2016 10:01 am
Full Name: Juerg Grossenbacher
Location: Switzerland
Contact:

How to make Daily Full BackUp on Tape

Post by matrox65 »

Hello,
i use B&R 9.5 Update 4b. Our customer wants now a daily save on a tape.

1. Repository (BackUp2Disc)
- Forever Forward Incremental with 14 Restore points
- Start time daily at 10:00 pm
- End time daily at 0:15 am

2. Repository (BackUp2NAS)
- BackUp Copy with Source BackUp Job "BackUp2Disc"
- Start time daily 9:50 pm
- End time daily 0:30 am

3. Repository (BackUp2Tape)
- BackUp to Tape Job with Source BackUp Job "BackUp2Disc"
- Start time Mo - Fr 01:00 am

Now i have the problem that only every second day write an save to tape. I receive every day status that jobs are runs withouts failures, but every second day its writes Zero Data.
How i must change my BackUp Jobs do receive Mo - Fr full backup on tape?

best regards, Juerg
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: How to make Daily Full BackUp on Tape

Post by Shestakov »

Hello Juerg,
The behavior looks unexpected.
Do the source job BackUp Job "BackUp2Disc" create restore points every day?
Thanks!
matrox65
Influencer
Posts: 20
Liked: never
Joined: Nov 30, 2016 10:01 am
Full Name: Juerg Grossenbacher
Location: Switzerland
Contact:

Re: How to make Daily Full BackUp on Tape

Post by matrox65 »

Yes, its create restore points every day. I have found https://www.veeam.com/kb2975 and have make this fix. Soon i know more or i must search another solution.

best regards, Juerg

-> Another Question, will the tape automatic overwritten when i use as example the same Media 1 week later? Or i must use an script for this?
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: How to make Daily Full BackUp on Tape

Post by Shestakov »

If you don't set tape protection, the media will be reused.
Is your goal to overwrite tape data or protect it?
Thanks
matrox65
Influencer
Posts: 20
Liked: never
Joined: Nov 30, 2016 10:01 am
Full Name: Juerg Grossenbacher
Location: Switzerland
Contact:

Re: How to make Daily Full BackUp on Tape

Post by matrox65 »

I want that the tape will be overwrite
vladimirh
Influencer
Posts: 11
Liked: 3 times
Joined: Jan 01, 2006 1:01 am

Re: How to make Daily Full BackUp on Tape

Post by vladimirh »

Hi,

you use powershell script which run before start backup job:
powershell.exe -Noninteractive -File "C:\Scripts\script.ps1"

script.ps1:

Code: Select all

ASNP VeeamPSSnapin
Get-VBRTapeLibrary | Start-VBRTapeInventory -wait

#Erase Tapes
# $tape = get-VBRTapeMedium
# write-host $tape
# Erase-VBRTapeMedium -Medium $tape -Wait -Confirm:$false

#Erase Tapes
$tape = get-VBRTapeMedium | where {$_.Location.Type -ne "None"}
write-host $tape
Erase-VBRTapeMedium -Medium $tape -Wait -Confirm:$false
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: How to make Daily Full BackUp on Tape

Post by Shestakov »

I want that the tape will be overwrite
If you want to overwrite tapes, set Tape Data Retention option to Do not protect data and tapes allocated to the pool will be overwritten, starting with the tape that stores the oldest archive.
matrox65
Influencer
Posts: 20
Liked: never
Joined: Nov 30, 2016 10:01 am
Full Name: Juerg Grossenbacher
Location: Switzerland
Contact:

Re: How to make Daily Full BackUp on Tape

Post by matrox65 »

Hello,
my problem was not fixed. Only every second day i receive a tape writen. On the other day the job finish with status o.k. with following message "No new files to backup per job settings"
What i can do, maybe i change the starting time from my jobs? As example, my backup job on disk starts at 09:00pm and will be finish at 11:15pm. Than my Tape Job starts next day at 01:00am.

@vladimirh -> Can you add in your script as first step initialize the tape?

best regards, Juerg
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: How to make Daily Full BackUp on Tape

Post by Shestakov »

Jobs schedule looks fine.
Since the fix didn't help, could you answer my initial question?
Do the source job BackUp Job "BackUp2Disc" create restore points every day?
matrox65
Influencer
Posts: 20
Liked: never
Joined: Nov 30, 2016 10:01 am
Full Name: Juerg Grossenbacher
Location: Switzerland
Contact:

Re: How to make Daily Full BackUp on Tape

Post by matrox65 »

Yes, my source BackUp Job makes every day one restore point.
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: How to make Daily Full BackUp on Tape

Post by Shestakov »

In this case I would contact technical support.
Once you do, please provide the case number here for us to follow the investigation.
Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests