PowerShell script exchange
Post Reply
Kerrod
Lurker
Posts: 2
Liked: never
Joined: Jun 24, 2020 1:42 am
Full Name: Kerrod Wells
Contact:

Copy/Move Disk (Imported) backup objects

Post by Kerrod »

Hi All,

Been grateful to have such resources available over the last 3 1/2 years we've been running Veeam and I'm now hoping for some advice (I think I've found the corner in a round room). I'll try and keep it brief - not a technical issue but do have a case open with Veeam (06140775). Apologies if this is not the correct place. FYI - V11 (latest patch)

As part of a recent StoreOnce update some of our older backups have become Disk (Imported) objects, that I'm able to browse (both via the GUI and PowerShell) but I'm unable to copy/move any of the backup objects.
As these are still valid backups (I can browse to them as a backup) and again, see restore points via PowerShell, I would like to copy/move them onto Tape ideally, but to another repository if necessary.
The backups I'm trying to target are all on HPE StoreOnce Catalyst Stores so I'm unable to mount/browse directly to the files.
Currently as I made the mistake of enabling 'Enforce Fixed Block Chunking' (see Veeam support ID 06131687) before evacuating the old StoreOnce repository and we've lost dedup capability on about 70tb of data.

Quick sample of some PowerShell below being run on one of the Backup jobs, including an attempt to create a tape job to copy it.

Job Name Type Creation Time VM count
-------- ---- ------------- --------
B87 - StoreOnce - Linu... Backup Copy 2/09/2021 2:54:01 PM 42


$backup.GetPoints() | Select Id,Algorithm

Id Algorithm
-- ---------
2d0602af-94b2-449e-9ca2-b447b0c95ab1 Full
3c7be107-3749-4523-bcf2-2d7a3724ab8f Full
fdcdb164-127f-4605-a462-ee78797d19dc Full
dfec061b-1e16-4813-bdcb-9dc54dfff7d4 Full
20cf1498-e0aa-4222-8778-248da882566e Increment
4a0bbb74-bb23-4d9a-819d-c5e97bd45a6d Increment
445a5200-9886-4ef5-a5a9-fd546f50e6bf Increment
d0858a96-18fc-42a8-b431-5dbfdcdc1baa Increment
bdc05f51-43ae-4449-8aee-91e35e426278 Increment
4a01039f-e1fc-4bd4-9833-2c6918641305 Full
1112eab1-9ff5-4c45-9c8a-62f91104edc9 Increment
ff8a7c2a-f656-4ab8-b96f-d806e2594eb9 Increment
d6ed776a-d42e-4ffa-9613-9f4adca99f62 Increment
e64003a6-ee50-4afa-af14-384b4c5595cd Increment
28c43c78-27b9-4710-b1dd-433ac2f702ae Increment
607a05bd-fbdc-4929-a46f-e4c2f3bb3cbc Increment
6003aace-7e9f-49a8-85d8-dd66201c3e57 Increment
1dccf265-2094-460e-938c-badd652ccf98 Full
df04600d-5b3c-4869-91e0-a8c6edcd1518 Increment


$storage.Stats

BackupSize DataSize DedupRatio CompressRatio
---------- -------- ---------- -------------
29442641920 37580992475 78 100


Add-VBRBackupToTapeJob -Name "Linux Test/Dev" -Description "Linux Test/Dev Archive from StoreOnce" -Object $backup -FullBackupMediaPool $mediapool -ProcessIncrementalBackup -IncrementalBackupMediaPool $mediapool
Add-VBRBackupToTapeJob : Specify at least one Object of the following type: BackupRepository, Tenant, Quota or BackupJob
At line:1 char:1
+ Add-VBRBackupToTapeJob -Name "Linux Test/Dev" -Description "Linux Tes ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-VBRBackupToTapeJob], Exception
+ FullyQualifiedErrorId : System.Exception,Veeam.Backup.PowerShell.Cmdlets.AddVBRBackupToTapeJob


Hoping to get some options - with last resort of deleting large amounts of backup data (and don't really want to do that). At the moment I'd be happy just to get some of the Fulls off to tape.

Thanks
Kerrod.
david.domask
Veeam Software
Posts: 1226
Liked: 323 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Copy/Move Disk (Imported) backup objects

Post by david.domask »

Hi @Kerrod,

With Storeonce devices and tape-out, it's a bit of a situation :) Storeonce file system isn't a traditional one, so file to tape isn't possible.

Veeam's backup to tape requires that the backups are part of an active job, as the Backup to Tape does some extra logic work to ensure the chain on tape is a consistent chain (i.e., we don't break the incremental chain accidentally)

Try making a dummy backup job and mapping to the desired backups; you don't need to run the job, just map it to an imported backup: https://helpcenter.veeam.com/docs/backu ... ml?ver=120 (step 3)

Then try to add that job to a tape job, and select "All Restore Points".

I don't remember if this still works anymore, but as long as the backups were made by that VBR server, I believe it can work, but something might have changed.

Alternatively, you can use the Move Backup feature to move the backups from the Storeonce to a Windows/Linux server that you might use as a staging server for a one-off File to Tape job.
David Domask | Product Management: Principal Analyst
Kerrod
Lurker
Posts: 2
Liked: never
Joined: Jun 24, 2020 1:42 am
Full Name: Kerrod Wells
Contact:

Re: Copy/Move Disk (Imported) backup objects

Post by Kerrod »

Hi David,

Looks like using Map Backup to target that repo has done the job. It got moved to Disk (Copy) which allowed me to point a tape copy job at it. It's currently copying - and given our new LTO9 infrastructure a work out.

Thanks for the push in the right direction.

Kerrod.
david.domask
Veeam Software
Posts: 1226
Liked: 323 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Copy/Move Disk (Imported) backup objects

Post by david.domask »

Hi @Kerrod very glad to hear you were able to get it working :) Good luck with the backups and glad it was that simple! (relatively :D )
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests