Jump to content
Welcome to our new Citrix community!
  • 0

Anyone automate the Site backup?


Erik McCloud

Question

We're prepping to move our infrastructure to the Cloud, and we were looking at backups. Running the Auto-Confg tool, making a Site backup is pretty easy. However, we'd like to automate this task and maybe make it a scheduled task running once a week.

 

Have anyone figured out how to run this type of backup automatically? Only way I've been able to successfully run a backup is in the Auto-Config shell. Can't execute the Backup-CvadAcToFile through the API or anywhere else but the Auto-Config shell.

Link to comment

1 answer to this question

Recommended Posts

  • 0

If you haven't figured this out yet, I was just able to get it to work by running the following command.

 

powershell.exe -command ". 'C:\Program Files\Citrix\AutoConfig\Citrix.AutoConfig\Citrix.AutoConfig.Commands.ps1'; Backup-CvadAcToFile; exit"

 

I just stuck that in a bat file and then called it from task scheduler and it seems to be working.  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...