PowerShell script exchange
Post Reply
msartor
Novice
Posts: 7
Liked: never
Joined: Feb 22, 2018 9:27 am
Full Name: Mirko
Contact:

Scheduled restore

Post by msartor »

Hi all,
I think could be very useful the implementation of a scheduled restore.
In our case we need to "update" the ERP's test environment every month (many gigabytes), this is very difficult to do using Powershell.
Someone thinks it could be a new feature in next releases?
Thank you

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

Re: Scheduled restore

Post by Shestakov »

Hi Mirko,
Could you clarify the case please?
Have you considered VM cloning or replication?
Thanks
msartor
Novice
Posts: 7
Liked: never
Joined: Feb 22, 2018 9:27 am
Full Name: Mirko
Contact:

Re: Scheduled restore

Post by msartor »

Hi Shestakov,
sorry I forget to speak about the "scope".
I'm speaking about SQL Server database.
We have ad ERP farm composed by a production and a test environment.
We need to restoring the production databases every sunday overwriting the test databases to maintain the test data "updated", it takes about 5-6 hours.
Thank you
veremin
Product Manager
Posts: 20411
Liked: 2300 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Scheduled restore

Post by veremin »

Then, the PowerShell is the way to go, and there already examples on how this process can be automated. Thanks!
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Scheduled restore

Post by oleg.feoktistov »

And together with Windows Task Scheduler they would go as a good tandem, I think :wink:
FrancWest
Veteran
Posts: 528
Liked: 104 times
Joined: Sep 17, 2017 3:20 am
Full Name: Franc
Contact:

Re: Scheduled restore

Post by FrancWest »

Why not use replication and only replicate the disks the databases are on? Replication is faster than restore since it only replicates changed blocks.
msartor
Novice
Posts: 7
Liked: never
Joined: Feb 22, 2018 9:27 am
Full Name: Mirko
Contact:

Re: Scheduled restore

Post by msartor »

OK,
I understand that "Powershell" is the correct way but "why" don't implement this feature in the console? (is only a question)
Thank you
Mirko
wishr
Veteran
Posts: 3077
Liked: 455 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: Scheduled restore

Post by wishr » 1 person likes this post

Hi Mirko,

I suppose because of the low demand for this feature, especially since PowerShell cmdlets cover this use-case.

Thanks
cyber7
Novice
Posts: 3
Liked: 1 time
Joined: Jun 01, 2011 6:23 am
Full Name: Aubrey Kloppers

[MERGED] Schedule Recovery in a future date?

Post by cyber7 »

Good day
Please could you advise if there is a way to do a recovery in a FUTURE DATE?

1. What I would like to do is:Build a system with a certain criteria.
2. Allow students to work on system and do what they want.
3. Come Friday Night, recover system automatically.
Rinse and repeat...

Is this possible?
kind regards
cyber7
Natalia Lupacheva
Veteran
Posts: 1143
Liked: 302 times
Joined: Apr 27, 2020 12:46 pm
Full Name: Natalia Lupacheva
Contact:

Re: Scheduled restore

Post by Natalia Lupacheva »

Hi Aubrey,

I've moved your post to the existing thread.
Please take a look at the suggestions here, Powershell might work for you.

Thanks!
cyber7
Novice
Posts: 3
Liked: 1 time
Joined: Jun 01, 2011 6:23 am
Full Name: Aubrey Kloppers

Re: Scheduled restore

Post by cyber7 »

Actually, being a bit of a novice, the entire discussion is on how to restore sql databases. I want to restore a complete machine (or machines) at a specified time in the future? Is this the same?
Natalia Lupacheva
Veteran
Posts: 1143
Liked: 302 times
Joined: Apr 27, 2020 12:46 pm
Full Name: Natalia Lupacheva
Contact:

Re: Scheduled restore

Post by Natalia Lupacheva »

Aubrey,

you can also use a sample from RestoreVM discussions.

Thanks!
cyber7
Novice
Posts: 3
Liked: 1 time
Joined: Jun 01, 2011 6:23 am
Full Name: Aubrey Kloppers

Re: Scheduled restore

Post by cyber7 » 1 person likes this post

Ahhh, I get it now. Thank you!
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 7 guests