Hi all,
I'm on PBS 2.4.x. There is an external tape drive connected to the system, but it is not running 24/7 as I need change the tapes manually anyway. The result is that tape backups occur less frequently than planned in the job.
So there is a bit of a backlog of un-taped backup snapshots from CTs and VMs.
Before upgrading to PBS 3.0, I'd like to run a tape backup. While checking the job options (the external tape drive was upgraded to a newer generation, LTO3 to LTO4), I noticed some options I am not sure what their impact is.
Last snapshot only
There is a checkbox "Latest only". The help page says:
"The backup includes all snapshots from a backup group by default. You canset the latest-only flag to include only the latest snapshots:
"
Does this erase data from the previous snapshot before writing the new snapshot to tape? Or will it first deduplicate over the delta between the earlier and the latest snapshot, and add the delta from the latest snapshot only?
In practical terms: there are two or three snapshots between the last tape backup and the currently latest snapshot. The snapshots grow over time, they are between 1.5 TB and 2 TB in size. Mostly stale data. Deduplicated I expect each new snapshot to be 100-300 GB in size when taping each snapshot, and the delta from last taped snapshot to the current last backup snapshot 500-800 GB.
Retention
I had set the retention to 6 months, but the last tape job ran over half a year ago. Will it wipe the stale backup before writing a new to tape (either the last or all snapshots within <6 months, depending on `--latest-only`)? Or will it deduplicate in PBS to keep the current bits and add the new bits in the delta?
General
I know tape is a linear medium (even though LTO5 and up present it otherwise; that is not relevant for my LTO4 drive and LTO3/4 tapes). So writing a delta will only contain additions, no deletions from previous snapshots.
Deduplication is mentioned a few times in the help, it is not clear to me whether this is over concurrent snapshots of multiple CTs/VMs in the same pool, or across time.
Thanks for reading my question, I am looking forward to replies!
I'm on PBS 2.4.x. There is an external tape drive connected to the system, but it is not running 24/7 as I need change the tapes manually anyway. The result is that tape backups occur less frequently than planned in the job.
So there is a bit of a backlog of un-taped backup snapshots from CTs and VMs.
Before upgrading to PBS 3.0, I'd like to run a tape backup. While checking the job options (the external tape drive was upgraded to a newer generation, LTO3 to LTO4), I noticed some options I am not sure what their impact is.
Last snapshot only
There is a checkbox "Latest only". The help page says:
"The backup includes all snapshots from a backup group by default. You canset the latest-only flag to include only the latest snapshots:
Code:
# proxmox-tape backup-job update job2 --latest-only
Does this erase data from the previous snapshot before writing the new snapshot to tape? Or will it first deduplicate over the delta between the earlier and the latest snapshot, and add the delta from the latest snapshot only?
In practical terms: there are two or three snapshots between the last tape backup and the currently latest snapshot. The snapshots grow over time, they are between 1.5 TB and 2 TB in size. Mostly stale data. Deduplicated I expect each new snapshot to be 100-300 GB in size when taping each snapshot, and the delta from last taped snapshot to the current last backup snapshot 500-800 GB.
Retention
I had set the retention to 6 months, but the last tape job ran over half a year ago. Will it wipe the stale backup before writing a new to tape (either the last or all snapshots within <6 months, depending on `--latest-only`)? Or will it deduplicate in PBS to keep the current bits and add the new bits in the delta?
General
I know tape is a linear medium (even though LTO5 and up present it otherwise; that is not relevant for my LTO4 drive and LTO3/4 tapes). So writing a delta will only contain additions, no deletions from previous snapshots.
Deduplication is mentioned a few times in the help, it is not clear to me whether this is over concurrent snapshots of multiple CTs/VMs in the same pool, or across time.
Thanks for reading my question, I am looking forward to replies!