Skip to main content

PC Wake Up and Suspend before and afret backup?

Thread needs solution

Is there a way to wake Up my PC before backup start? (I can do this with task planer)

But how to suspend after backup incl. verfication is completed??

 

0 Users found this helpful

Hi,

you can select and configure Pre-/Post-Commands in backup options. Unsure if verification is counted to "backup process".

Raphael

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 22
Comments: 3800

Hi,

The backup verification is executed after the post commands execution unfortunately, so it won't solve the desired scenario. What can help is using "acrocmd" command line tool which is installed on Acronis Management Server machine by default (it's one of the components). With this tool all the tasks can be scheduled via native Windows scheduler:

1) Use Windows scheduler to setup scripts for waking the machine up and schedule it

2) Again via Windows scheduler set up a task to run "acrocmd" tool with required parameters which will be 2 commands in chain: "acrocmd backup disks..." + "acrocmd validate archive..." - it will execute the backup and will perform its validation

3) Use Windows scheduler to setup scripts for putting machine to sleep. The task must be triggered upon Event and track for Windows Event Log entry for successful backup completion. Note that you need to enable the Windows Event Log option in backup options list to track backup events there

P.S. I didn't manage to try the above sequence by myself yet, but it should work in general.

Thank you.

Vasily wrote:

P.S. I didn't manage to try the above sequence by myself yet, but it should work in general.

 

Thank you. I think it can "in general" work yes but, acrocmd give me no option to start my defined Backup Plan.

I use my old (from 11.X Version) defined Plan -> Mo-Fr Incremental. Sat - Differential and, Sun - Full backup.

I mean with acrocmd I can only create a full backup

Cheers

 

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 22
Comments: 3800

Hi,

"acrocmd" allows creation of incremental backups as well (--incremental parameter will create 1 full and further it will create incremental backups), but still from what I can see it won't completely solve the scenario since you need to have retention rules involved, while with "acrocmd" you'll need to do that via other scripts which will physically remove the backups chains.

Another variant I can think of (kind of a "brute force" method) is to play with the scheduling, i.e. check how long it takes to capture the backup and schedule the wake up and sleep events ~10-20 minutes before/after the backup should start/finish accordingly.

Thank you.

Thx. I have created a smal PowerShell script as "Post BVackup" and will play with the time Acronis need to verifying my backups.

Cheers

 

Its very bad for me, but it can not work :(

Acronis has programmed it badly because first is running backup, then my Script and after the script ist complited will run verification.

 

 

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 22
Comments: 3800

Hi,

Yes - the post commands are executed before the backup validation process (I've mentioned it above), so it's problematic to implement the scenario you require using pre/post commands and validation at the same time. A possible way to do so is to disable automatic backups verification and perform this validation as a separate independent process, e.g. via "acrocmd validate vault" (or validate archive) executed once a week - this approach will reduce the backup window and will also offload the backup verification from the source backed up machines if you run it on a separate server, for example on the machine where you have Acronis Management Server installed.

Thank you.

Hi,

 

"acrocmd validate" can't work (Grr) because "Parameter 'credentials' is not recognized or not expected." and without credentials I receive of corse "permission denied"

 

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 22
Comments: 3800

You should make sure you use the correct syntax for the acrocmd command. The order of the parameters is crucial. Please check the below example:

acrocmd validate vault --loc=\\srv1\backups --credentials=netuser1,pass1

Make sure you run acrocmd on machine which also has Acronis Backup Agent for Windows installed. If you run it from a remote machine then you'll need to define "--host" parameter to point to the machine where this agent is running.

Thank you.