Comprehensive data protection for all workloads
brupnick
Expert
Posts: 196
Liked: 13 times
Joined: Feb 05, 2011 5:09 pm
Full Name: Brian Rupnick
Location: New York, USA
Contact:

Change Repository Without Copying Files

Post by brupnick »

Good morning-

Is it possible to change the target storage repository of a VBR job without copying the files to the new repository? I know that at first this might seem like a very silly question, but I'll add the following details: I run full backups on the first Friday of the month. Since this Friday is the first one of February, my fulls are scheduled to run. I'd like to change the repository on Friday morning, after the last incremental run of my chain, but before the full so that the new chain starts on the new repository.

I opened ticket 00176508 with support, but their solution was to remove the files from backups and then change the repository in the job settings and map to the old files. Unfortunately, the GUI only allows me to map to files that are on the new repository, which would mean I'll need to copy the files over and import them. I could have sworn that there was a registry key that disabled this check, but I could be wrong.

Thank you,
Brian
brupnick
Expert
Posts: 196
Liked: 13 times
Joined: Feb 05, 2011 5:09 pm
Full Name: Brian Rupnick
Location: New York, USA
Contact:

Re: Change Repository Without Copying Files

Post by brupnick »

Well, this turned out to be significantly easier than I expected. If you do a "Remove from backups" for the job in question, you can change the repository and it doesn't bother to check. My guess is that if it doesn't find any files on the next run, it will default to a full, which is what I want. But just in case this isn't the behavior that someone with a similar situation wants, maybe someone can elaborate on this.
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Change Repository Without Copying Files

Post by Vitaliy S. »

Hi Brian,
brupnick wrote: I could have sworn that there was a registry key that disabled this check, but I could be wrong.
Yes, there is a registry key that disables this check, and I believe it still should work perfectly fine with v6.5.
brupnick wrote:Well, this turned out to be significantly easier than I expected. If you do a "Remove from backups" for the job in question, you can change the repository and it doesn't bother to check.
Yes, that is how it is supposed to work if you choose to remove backup files from the backup console.

Thanks!
marius roma
Veteran
Posts: 459
Liked: 5 times
Joined: Feb 01, 2012 12:04 pm
Full Name: Mario
Contact:

[MERGED] : Changing repository

Post by marius roma »

I added a new NAS to my infrastructure.
I want to *temporarely* move my backup to the new NAS.
When I attempt to change the backup destination of my jobs I get a message saying that I must "Move all backup files to the new backup repository first".
I don't want to move my old backup files because:
1) I want to keep all the NAS as possible destinations and switch backup jobs
2) Moving al the old backup files requires a lot of time and network traffic
The only solution I see is creating new backup jobs, but it requires a lot of time as well...
Is there a way to change the backup destination without moving the backup files?
As an alternate solution, can I copy the existing jobs and just change the destination in the new ones without entering all the informations?
Regards
marius
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository Without Copying Files

Post by veremin » 1 person likes this post

Hi,Mario.

Please check posts provided above for possible solution.

As, for the copying of VB&R job, you can utilize the following PS script, which will create a full copy of your existing job:

Code: Select all

Add-PSSnapin VeeamPSSnapin
$Job = Get-VbRjob -name "Name of your job"
Copy-VBRJob -job $Job 
After having done it, you'll be able to manually change repository in the setting of newly-created job.

Hope this helps.
Thanks.
ashman70
Expert
Posts: 203
Liked: 12 times
Joined: Dec 04, 2012 2:18 pm
Full Name: Both
Contact:

[MERGED] Repository

Post by ashman70 »

I have a situation where backups are currently being done to an external USB 2 drive, some of the full backup files are 100GB + I would like to use a NAS as the repository however migration is going to take a very long time due to the slowness of USB 2 copy. Is there a way to start fresh with the new repository without migrating? I realize I may lose the ability to restore using the old backups, but can it be done? If so what are the steps?

Environment is ESXi 4.0, Veeam Backup 6.5 running on a windows Server 2008R2 box to a local USB 2.0 external drive.


Thanks

AM
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository Without Copying Files

Post by foggy »

You've been merged into existing discussion answering similar question, please review. Should any additional questions arise, feel free to ask here. Thanks.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository Without Copying Files

Post by veremin »

Is there a way to start fresh with the new repository without migrating?
As mentioned, you can copy existing job using either PS or Enterprise Manager and change target repository afterwards. Both of the methods won’t require copying of backup data. Thanks.
pinkerton
Enthusiast
Posts: 82
Liked: 4 times
Joined: Sep 29, 2011 9:57 am
Contact:

[MERGED] Create new Repository for existing Job without movi

Post by pinkerton »

Dear Forums,

due to capacity limitations we need to move the destination of our Backup Files to a larger volume. I have read KB 1729 about moving backup files but due to the size of our backup I actually don't want to move the backup files. Instead we only want to create a new backup repository so that on the next run, the backup is created from scratch in the new destination. It is fine for us when the next run is a full backup and takes longer.

Is it possible to use an existing backup Job and start from scratch in a new backup repository? What would be the procedure we need to perform in this case?

Thanks
Michael
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository Without Copying Files

Post by foggy » 1 person likes this post

Michael, the simplest way seems to be to copy the job and specify a new backup repository in the new job.
ChrisVH1982
Influencer
Posts: 15
Liked: never
Joined: May 28, 2012 10:44 am
Full Name: Christian van Haut
Contact:

[MERGED] Migration to different host without backup LUNs

Post by ChrisVH1982 »

Hello,

My Veeam server is a virtual machine which is not ideal when it comes to disaster recovery. I am going to set up a physical server and install Veeam. Installation and restore of settings should not cause me any issues. Because backups are currently stored on an old SAN I would like to retire, backups from new server should be put onto a new SAN. So I do not want to copy my current backups from old to new SAN as this would be taking ages to complete.

I know from experience that a backup job fails to run if the backup directory with its config files(?) does not exist anymore. Is there any way around? I would like to set up new and empty storage locations

Your feedback is much appreciated!
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository Without Copying Files

Post by foggy » 1 person likes this post

Christian, if you remove old backup files from backups in Veeam B&R console and then update the jobs with the new repository, you should be fine. Thanks.
cstaubli
Service Provider
Posts: 13
Liked: 2 times
Joined: Feb 08, 2013 8:45 am
Full Name: Christian
Contact:

[MERGED] Replace backup repository server with new hardware

Post by cstaubli » 1 person likes this post

Hi all

I have to replace our current backup repository servers with new hardware, storage with all images will be connected from current to new server. To have a smooth process, my plan would be the follow:

- stop all veeam services
- setup new server with same os, name, drive layout, directories, ip, users and password as old one
- start veeam again, let veeam check server and install required software

My question is, will that work? Because I've got TBs of backup data I cannot move data from old to new server. My timeframe is about 12 hours, then it must run again. Setup of the new server could be done before, so just move old one out and new one in is critical.

Any thoughts, or points to obey?

Thanks, Christian
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository Without Copying Files

Post by foggy »

Christian, this should work, however you would need to specify the registry key mentioned above.
electricd7
Expert
Posts: 122
Liked: 7 times
Joined: Mar 27, 2012 10:13 pm
Full Name: Chad Killion
Contact:

[MERGED] Migrating to new storage...want to start fresh

Post by electricd7 »

Hello,

I am adding a new repository today which I would like to repoint all of our Veeam jobs to. I would like to start with new full backup chains of all the jobs instead of copying what I have from the old repository and then repointing the job. Is there a way to do this easily? If I try to just edit a job and change its repository, it errors with a message that I must first copy the backup files before repointing it.

ED7
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository Without Copying Files

Post by foggy »

Chad, please review the discussion above, should help in achieving what you're after. Thanks.
leduke
Enthusiast
Posts: 76
Liked: 2 times
Joined: May 22, 2012 12:09 pm
Full Name: alex
Contact:

[MERGED] New Repository, same job

Post by leduke »

Hello.

If I want to change my NAS, used by veeam as a network share to store my backups, must I reconfigure my jobs ?
The older NAS is no longer available (RAID out of order, all datas lost), is the first backup will perform a new Full backup ?

Thank you.
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository Without Copying Files

Post by foggy »

Alex, please review the thread above for instructions on how to change the repository in your case. Feel free to ask any additional questions, if required.
Lyle
Influencer
Posts: 21
Liked: never
Joined: Dec 08, 2011 5:52 pm
Full Name: Lyle Ryan

[MERGED] after B&R server migration, starting up with new re

Post by Lyle »

We had a simple install of B&R V7 on vSphere 4.1, with server, proxy, & repository all in one. It never had enough storage to cover all of our VM's though.

Recently we had to migrate the B&R VM to a new vSphere 5.5 cluster, and the new cluster was not connected to the old repository storage. So I disconnected the storage from the B&R VM, shut it down, and moved it to the new cluster, but left it powered-off.

Since we were never really covering our whole environment, I don't mind starting off with a new, empty repository....hopefully soon though, as now I have *no* coverage. :shock:

Will I face any issues when starting back up? Or just connect the new repository, and let backup schedules run as normal?

Thanks....Lyle
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: after B&R server migration, starting up with new reposit

Post by Gostev » 1 person likes this post

You will need to re-create your jobs and point them to the new storage. That is unless you can move your existing backups there, in which case you can just update your existing jobs, and map them into backups sitting on the new repository.

If you need any assistance, feel free to open a support case, and our engineers will guide you through a webex session.

Thanks!
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository Without Copying Files

Post by foggy »

There are a couple of options to continue without copying files and re-creating the job, please review the thread above. Thanks.
rsmith.rdi
Influencer
Posts: 12
Liked: 1 time
Joined: Jul 06, 2015 11:37 pm
Full Name: Ryan Smith
Contact:

Re: Change Repository Without Copying Files

Post by rsmith.rdi » 1 person likes this post

If you find yourself in the situation I did today - where the person who set up Veeam accidentally pointed to the wrong repository -- you can simply delete the files from the wrong destination, rescan the repository, and then edit the job directly without any fancy job copying.

This also works if Veeam is still connected to the old repository. Just delete the files, rescan the old repository, and then voila! You can edit the job destination successfully.

Now, if the old repository doesn't exist or is inaccessible, then you'll have no option but to clone the job as mentioned previously and then re-point. Cloning does require Enterprise edition, though.
Alexandre L
Lurker
Posts: 2
Liked: never
Joined: Mar 20, 2015 9:05 am
Full Name: Alexandre Lefebvre
Contact:

Re: Change Repository Without Copying Files

Post by Alexandre L »

Hello,

I'm trying to change a job repository without copying the file previously nor deleting them.

I tried using the following reg key but it's not working.

[HKEY_LOCAL_MACHINE\SOFTWARE\VeeaM\Veeam Backup and Replication]
"ForceCreateMissingVBK"=dword:00000001

Any other possibility to do that?
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository Without Copying Files

Post by veremin »

Have you tried to clone the job and change target repository setting in the cloned job afterwards?
Alexandre L
Lurker
Posts: 2
Liked: never
Joined: Mar 20, 2015 9:05 am
Full Name: Alexandre Lefebvre
Contact:

Re: Change Repository Without Copying Files

Post by Alexandre L »

"Remove from backup" did it well

Backup & Replication > Backups > Disk > right click on the job then "Remove from backup"

It will remove the backup from Veeam configuration but not from the disk.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository Without Copying Files

Post by veremin »

Yep, it's also a workable solution. Removing backups from configuration makes VB&R forget about them, thus, the repository can be easily changed in the job settings. Thanks.
marius roma
Veteran
Posts: 459
Liked: 5 times
Joined: Feb 01, 2012 12:04 pm
Full Name: Mario
Contact:

[MERGED] Changing repositories for existing jobs

Post by marius roma »

We need sometimes to change the target reposotory for an existing job in order to make maintenance on a NAS, add a new NAS, and so on.
The options we currently use are:
- manually moving the files to the new repository (NAS) and changing the existing job
- create a new job from scratch pointing to the new reposotory, wait for the requested number of recovery points to be created, deleting the old job
Both options require a lot of time and effort.
Is there any smarter way to move an existing job, considering we use the standard edition?
Regards
Marius
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Change Repository Without Copying Files

Post by Shestakov » 1 person likes this post

Hello Mario,
You can change the backup repository without copying files as described in the topic.
How would you like VBR to deal with your backups ideally?
Thanks!
dellock6
VeeaMVP
Posts: 6166
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Change Repository Without Copying Files

Post by dellock6 » 1 person likes this post

Another solution can be to group the two repositories into a single Scale-Out Backup Repository and evacuate the old one. Backup files will be automatically moved to the new NAS and jobs will not need any reconfiguration.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
marius roma
Veteran
Posts: 459
Liked: 5 times
Joined: Feb 01, 2012 12:04 pm
Full Name: Mario
Contact:

Re: Change Repository Without Copying Files

Post by marius roma »

Is the Scale-Out Backup Repository available in standard version? I don't see it at all...
Should I enable it?
Regards
marius
Post Reply

Who is online

Users browsing this forum: No registered users and 57 guests