-
- Influencer
- Posts: 12
- Liked: never
- Joined: Apr 15, 2011 8:58 am
- Full Name: Reinhard Arens
- Contact:
Only Full Backup every second week
Hello,
is there a possibility to schedule a full backup every second week ... incremental is not needed ...
Best regards
Reinhard
is there a possibility to schedule a full backup every second week ... incremental is not needed ...
Best regards
Reinhard
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Only Full Backup every second week
Yes, just schedule the following script via Windows Scheduler to run on two week basis:
Thanks.
Code: Select all
$Job = Get-VBRJob -name "Name of your backup job"
Start-VBRJob -Job $Job -FullBackup
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Apr 15, 2011 8:58 am
- Full Name: Reinhard Arens
- Contact:
Re: Only Full Backup every second week
Great ...
Will try it, thank you ...
Will try it, thank you ...
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Only Full Backup every second week
You're welcome. Don't hesitate to let us know, should any other questions arise. Thanks.
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Apr 15, 2011 8:58 am
- Full Name: Reinhard Arens
- Contact:
Re: Only Full Backup every second week
Can I put it in a .cmd file and call it via commanline to test it?
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Only Full Backup every second week
Yes, you can either convert you powershell script into a batch file, as described this article, or create the bat file responsible for execution your PowerShell script, using the following command as a bat-file body:
Thanks.
Code: Select all
Powershell.exe -File C:\YourScript.ps1
Thanks.
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Apr 15, 2011 8:58 am
- Full Name: Reinhard Arens
- Contact:
Re: Only Full Backup every second week
Is there a environment needed?
When I start PS standanlone, cmdlet not found
when starting PS inside veeam it works ...
thanks a lot for your help
When I start PS standanlone, cmdlet not found
when starting PS inside veeam it works ...
thanks a lot for your help
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Only Full Backup every second week
In order to use Veeam specific commandlets you should add the VB&R PS snapin in the beginning of the script:
Thanks.
Code: Select all
Add-PSSnapin VeeamPSSnapin
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Apr 15, 2011 8:58 am
- Full Name: Reinhard Arens
- Contact:
Re: Only Full Backup every second week
Hmm, it is still the same ...
No sorry ... here is the error:
Microsoft SQL server hosting the configuration database is currently unavailable
No sorry ... here is the error:
Microsoft SQL server hosting the configuration database is currently unavailable
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Only Full Backup every second week
Are you positive the VB&R snap-in is installed on this machine? You can execute PS, run the "install" script stored in the VB&R directory ("
C:\Program Files\Veeam\Backup and Replication\Backup\Install-VeeamToolkit.ps1") and see whether it makes any difference. Thanks.
C:\Program Files\Veeam\Backup and Replication\Backup\Install-VeeamToolkit.ps1") and see whether it makes any difference. Thanks.
-
- Veeam Software
- Posts: 649
- Liked: 170 times
- Joined: Dec 10, 2012 8:44 am
- Full Name: Nikita Efes
- Contact:
Re: Only Full Backup every second week
This error usually tells that user you are running script have no rights to Veeam configuration SQL database.rarens wrote: No sorry ... here is the error:
Microsoft SQL server hosting the configuration database is currently unavailable
It is usually worth running scripts as service account user.
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Apr 15, 2011 8:58 am
- Full Name: Reinhard Arens
- Contact:
Re: Only Full Backup every second week
OK, I did "Install-VeeamToolkit.ps1" ... when I close the windows and reopen it, it does not work, do I have to call "Install-VeeamToolkit.ps1" every time?
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Apr 15, 2011 8:58 am
- Full Name: Reinhard Arens
- Contact:
Re: Only Full Backup every second week
Seems to be a special problem with Windows Server 2012 ... with 2008 it works perfect
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Only Full Backup every second week
Not, it's one time operation. Can you load the PS snap-in/execute the script under administrator account and see whether the problem persists? Thanks.do I have to call "Install-VeeamToolkit.ps1" every time?
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Apr 15, 2011 8:58 am
- Full Name: Reinhard Arens
- Contact:
Re: Only Full Backup every second week
Yes, the problem persists, that is a administrator account
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Only Full Backup every second week
Was it Windows Server 2012 or Windows Server 2012 R2?rarens wrote:Seems to be a special problem with Windows Server 2012 ... with 2008 it works perfect
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Only Full Backup every second week
Is this the same account as the one specified for Veeam service? Can you temporarily set db_owner rights to the said account and try to run the script again? Also, it might be worth updating to the Powershell 3.0, if you haven't done it yet. Thanks.
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Apr 15, 2011 8:58 am
- Full Name: Reinhard Arens
- Contact:
Re: Only Full Backup every second week
OK, should be the same as service account, thank you ... that worked for me
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Only Full Backup every second week
Glad to hear that you're up and running now. Should any other questions arise, don't hesitate to let us know. Thanks.
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 48 guests