Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Recover Altiris Jobs

Created: 20 Oct 2010 | 4 comments
s_burton's picture
0 0 Votes
Login to vote

Is there any way to recover Altiris jobs which have accidently been deleted?

Comments

TeleFragger's picture
20
Oct
2010
0 Votes 0
Login to vote

best practice is to export

best practice is to export out your jobs now and then.. if any get deleted.. import them all into a temp folder.. retrieve and then delete the rest...

 

I believe there is no way to recover ones that are deleted and not exported... no recycle bin if you will....

Rich Dowling's picture
26
Oct
2010
1 Vote +1
Login to vote

If you have SQL backups, you

If you have SQL backups, you could set up a temporary Altiris DS server, restore the backup to it, export the jobs, and import them to your original DS server. 

mlogan's picture
27
Oct
2010
0 Votes 0
Login to vote

aXexport

Hi,

I am not currently at a DS, but there is a commandline tool axExport.exe that can be used to export jobs. you could set up a windows scheduled job that exports your jobs to a file. In case something goes wrong you can then import all the jobs to a folder and just select the job you lost. The only downside is that you wil loose the history of the job. But then again it is better to loose the history then the entire job.

________________
/mlogan

Connect Etiquette: Please "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads!

mlogan's picture
27
Oct
2010
0 Votes 0
Login to vote

From the userguide

Oh, here is the userguide stuff:

Job Export Utility

This utility can be used to export jobs from the Deployment Database. It can be helpful

in copying jobs from one Deployment system to another, backing up jobs, creating

standard jobs during multiple installations, and other actions.

Syntax: axExport <filename> (options)

Command-Line Switches

Options

/f <folder-name> Job folder to be exported

/e <job-name> Job to be exported

/s Process all subfolders also

/i Include the Initial Deployment Job

/y Suppress confirmation prompts

/dsn <odbc-dsn-name> ODBC data source name

/d <db-server> Database server name

/u <db-user> Database user name

/db <db-databaseName> Database name

/p <db-password> Database user password

/lu <login-user> Deployment Server login user name

/lp <login-password> Deployment Server login password

 

Example 1: Export all jobs to a binary backup file.

axExport /s /i backup.dat

Example 2: Make a backup copy of a single job.

axExport /e "Deploy Office 2000" backup2.dat

Example 3: Export all jobs in the Projects folder.

axExport /f Projects projects.dat

Example 4: Export a job to a binary backup file without supplying the SQL server

and instance.

axExport Backup.dat /e "Image Job"

Example 5: Export a job to a binary backup file with the database server name.

axExport Backup.dat /e "Image Job" /d DatabaseServerName /db DatabaseName /u

DatabaseUserName /p DatabaseUserPassword

________________
/mlogan

Connect Etiquette: Please "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads!