Using NTbackup with RUNAS

G

Guest

I am trying to get NTbackup to run a manual backup on stand-alone PCs, (not
on a domain or workgroup). I created a local account on the PCs called
BACKUP with administrative rights. I created backup jobs to run daily and
overwrite the previous backup job with the same name. in each case, the
backup job iis named for the day of the week and are scheduled to run
automatically.

I want to create a job that will run a job called manual.bks, for the end
users to use if they want to run an imediate backup. This job will also
overwirte the previous job.

I created a shortcut on the desktop with the following to only access the
ntbackup utility:
RUNAS.exe /user:backup "c:\windows\system32\ntbackup.exe"

This will allow us to access the jobs and the schedule as well as allow the
scheduled jobs to run with no user intervention.

I am trying to create the same for the manual job. I created a job called
manual.bks and I want to create a second shortcut using the run as command to
run the manual job. The file manual.bks is in the following folder:
C:\documents and settings\backup\local settings\application
data\microsoft\windowsnt\ntbackup\data

The command line I am using in the shortcut is:
RUNAS /user:backup “c:\windows\system32\ntbackup backup @C:\Documents and
Settings\backup\Local Settings\Application Data\Microsoft\Windows
NT\NTBackup\data\manual.bksâ€

When I selectt his shortcut, I am prompted for the password for the backup
account. It launches NTBackup but the backup does not run. I check the log
in the data folder for the backup and it reads, "Expecting more command line
parameters."

I am not sure how to proceed. It is OK for the end users to know the
password for the backup account. The end users cannot have administrative
rights for their local accounts.
 
P

Pegasus \(MVP\)

kbelski said:
I am trying to get NTbackup to run a manual backup on stand-alone PCs, (not
on a domain or workgroup). I created a local account on the PCs called
BACKUP with administrative rights. I created backup jobs to run daily and
overwrite the previous backup job with the same name. in each case, the
backup job iis named for the day of the week and are scheduled to run
automatically.

I want to create a job that will run a job called manual.bks, for the end
users to use if they want to run an imediate backup. This job will also
overwirte the previous job.

I created a shortcut on the desktop with the following to only access the
ntbackup utility:
RUNAS.exe /user:backup "c:\windows\system32\ntbackup.exe"

This will allow us to access the jobs and the schedule as well as allow the
scheduled jobs to run with no user intervention.

I am trying to create the same for the manual job. I created a job called
manual.bks and I want to create a second shortcut using the run as command to
run the manual job. The file manual.bks is in the following folder:
C:\documents and settings\backup\local settings\application
data\microsoft\windowsnt\ntbackup\data

The command line I am using in the shortcut is:
RUNAS /user:backup "c:\windows\system32\ntbackup backup @C:\Documents and
Settings\backup\Local Settings\Application Data\Microsoft\Windows
NT\NTBackup\data\manual.bks"

When I selectt his shortcut, I am prompted for the password for the backup
account. It launches NTBackup but the backup does not run. I check the log
in the data folder for the backup and it reads, "Expecting more command line
parameters."

I am not sure how to proceed. It is OK for the end users to know the
password for the backup account. The end users cannot have administrative
rights for their local accounts.

runas.exe might have a problem with your command line. Place it
inside a batch file, then get runas.exe to invoke the batch file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

NTBackup and multiple tapes 2
XP NTBackup with NT 3.50 5
Desktop shortcut for an ntbackup job 6
ntbackup - compress 2
Problem restoring a backup - NTBACKUP 15
ntbackup 0
NTBackup 4
Network ntbackup 5

Top