Backup Strategy with Tapes

Jan 25, 2024
18
2
3
Hello, we are using PBS 3.2-3 and want to Backup data with a single tape drive.
We used Veeam before switching to PBS and want to do the same strategy.

We have:
4 x Tapes for Monday to Thursday as daily Tapes
5 x Tapes for Friday as Weekly Tape
12 x Tapes for every month

The weekly Tape should write all Data from one week but keep 4 weeks for a monthly Tape.
Monthly Tape should write the last 4 weeks.

I tried to setup PBS Tape Backup but I have some questions.

Weekday Config:
For Monday to Thursday, I followed the Weekday Scheme example from the PBS wiki.
- I created one Media Pool for each day (mon-thu).
- Allocation Policy: mon, tue, wed or thu
- Retention Policy: overwrite

Question: Do I have to setup a time in Allocation Policy?

I created a Backup Job for each day.
- Schedule: mo or another day 23:00
- Latest Only: Yes
- Max Depth: Full


Weekly Config:
For weekly (Friday) Backups I inventoried 5 Tapes (Friday-A, Friday-B ...)
- I created one Media Pool for Friday and added the 5 Tapes to this Media Pool.
- Allocation Policy: fri
- Retention Policy: 4 weeks

I created one Backup Job for Friday.
- Schedule: fri 23:00
- Latest Only: No
- Max Depth: Full

Question: How does the Backup Job know, which weekly tape to use next? At the moment, the Backup Job want to have Friday-A. Thats because this was the first inventoried Tape for Friday. What will happen next week? Will the job go by alphabet or by time I inventoried the tapes?


Monthly Config:

For monthly Backups I inventoried 12 Tapes (January-December)
- I created one Media Pool for the last Friday of the month and added the 12 Tapes to this Media Pool.
- Allocation Policy: yearly
- Retention Policy: keep

I created one Backup Job for monthly.
- Schedule: Fri *-24..31 23:00
- Latest Only: No
- Max Depth: Full

Question: Is it possible to add an schedule with a Month e.g.: Fri *-24..31 23:00 October? I can´t find anything in this example.
This job will collapse with the weekly job because it is on the same day at the same time. Is it possible that Weekly Backup doesn't back up on the last Friday of the month?
How does the Backup job know, which monthly tape to take next?


Some Images as attachment. In this example, there are only monthly tapes from Juli to December.
 

Attachments

  • Backup Jobs.png
    Backup Jobs.png
    25.4 KB · Views: 5
  • Imventory.png
    Imventory.png
    43.3 KB · Views: 5
  • Media Pools.png
    Media Pools.png
    13.9 KB · Views: 5

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!