stsadm.exe restore cannot find backup file
Hello,
while restoring backup I have a problem which I did not find any solution on the internet for.
I have WSS 3.0 on SBS 2003 box + MSSQL 2005 where I run
stsadm.exe -o backup -url <path> -filename file.bak backupmethod full.
After that I copy this backup file into my virtual computer (Windows 2003, WSS 3.0, MSSQL 2005) where I run
stsadm.exe -o restore -directory <path> -restoremethod overwrite.
I get a warning: "All selected items will be overwritten. Do you want them to be overwritten (y/n)?"
After my confirming I get something like this (the message is not in english, I do not know exactly wording in english): "Right backup files to restore were not found. Make sure the name of directory is valid and backup files exist."
I am sure backup file exists. It has cca 10GB. I tried to reinstall WSS 3.0, I tried to make another backup, I tried three different backup files. The first backup (10 days ago) was successfull, but backup three days ago - the same backup file - I
was not able to finish and none from that time.
Can anybody help me?
May 24th, 2012 7:43am
you are using a site collection backup to do a farm restore. You need to make a farm backup instead:
stsadm -o backup -directory = farm backup
stsadm -o backup -url = site collection backup
Syntax
For site collection backup
stsadm -o backup
-url <URL name>
-filename <file name>
[-nositelock]
[-overwrite]
For catastrophic backup (farm backup that is)
stsadm -o backup
-directory <UNC path or local drive>
-backupmethod <full or differential>
[-force]
[-item] <created path from tree>
[-percentage] <integer between 1 and 100>
[-backupthreads] <integer between 1 and 10>
[-showtree]
[-quiet]
Dirk Van den Berghe
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 10:28am
you are using a site collection backup to do a farm restore. You need to make a farm backup instead:
stsadm -o backup -directory = farm backup
stsadm -o backup -url = site collection backup
Syntax
For site collection backup
stsadm -o backup
-url <URL name>
-filename <file name>
[-nositelock]
[-overwrite]
For catastrophic backup (farm backup that is)
stsadm -o backup
-directory <UNC path or local drive>
-backupmethod <full or differential>
[-force]
[-item] <created path from tree>
[-percentage] <integer between 1 and 100>
[-backupthreads] <integer between 1 and 10>
[-showtree]
[-quiet]
Dirk Van den Berghe
May 25th, 2012 10:41am
Hi,
Try using this syntax:
STSADM -o restore -URL url -filename path+filename -overwrite
I hope this will help you outThanks, Rahul Rashu
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2012 10:55pm
Hi,
Try using this syntax:
STSADM -o restore -URL url -filename path+filename -overwrite
I hope this will help you outThanks, Rahul Rashu
May 27th, 2012 10:55pm


