Hi,
Does anyone know if there is a way to back up my metabase daily (and
automatically) using a password? I'd like to backup the metaback
directory daily. If my server dies and requires a reinstall I need to
be able to restore my metabase. As far as I know you can't do this on
a new machine because of the way it is encrypted. Any ideas?

Thanks,
Bill

Re: Backup Metabase with Password Automatically by Kristofer

Kristofer
Tue May 02 01:31:33 CDT 2006

Hi,

You can schedule (by using Scheduled Tasks) Iisback.vbs to run at a
specified time. Iisback.vbs is found in the %systemroot%\system32 folder.
KB Article 324277 explains the syntax:

"How To Create a Metabase Backup by Using IIS 6.0 in Windows Server 2003"
http://support.microsoft.com/?id=324277


But, is it necessary to back it up daily? Does your metabase change that
frequently (it may be so, i am just asking)?

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


bkelly3@gmail.com wrote:

>Hi,
>Does anyone know if there is a way to back up my metabase daily (and
>automatically) using a password? I'd like to backup the metaback
>directory daily. If my server dies and requires a reinstall I need to
>be able to restore my metabase. As far as I know you can't do this on
>a new machine because of the way it is encrypted. Any ideas?
>
>Thanks,
>Bill

Re: Backup Metabase with Password Automatically by zinck74

zinck74
Thu May 04 15:51:31 CDT 2006

Hi Kristofer
Yeah, we do make a lot of changes on a daily basis. I did find that
iisback.vbs script. But if I were to setup an automated job via a
batch file it looks like I have to specify a username and password in
the command. Storing a password in plain text isn't an option. The
documentation I saw on it said if a username/password wasn't specified
it would prompt for one. Would this make it fail or would it just use
the credentials running the scheduled job?

Thanks,
Bill


Re: Backup Metabase with Password Automatically by Kristofer

Kristofer
Fri May 05 15:32:48 CDT 2006

If it prompts for a username/password it will fail. But where did you read
this? I cannot find any documentation that says this. I can read on [1]:

"
/u[Domain\]User

Runs the script with the permissions of the specified user account. This
account must be a member of the Administrators group on the remote
computer. By default, the script runs with the permissions of the current
user of the local computer.
"

The file containing the script (and password) can be protected by NTFS
security, as long as the user account running the script has read access
to the file...


[1]
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5e7e923c-b374-4872-a8f5-da85ec1315fd.mspx


--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


zinck74 wrote:

>Hi Kristofer
>Yeah, we do make a lot of changes on a daily basis. I did find that
>iisback.vbs script. But if I were to setup an automated job via a
>batch file it looks like I have to specify a username and password in
>the command. Storing a password in plain text isn't an option. The
>documentation I saw on it said if a username/password wasn't specified
>it would prompt for one. Would this make it fail or would it just use
>the credentials running the scheduled job?
>
>Thanks,
>Bill