Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to take backup of of my sharepoint 2013 site http://something1:6060/ using powershell or stsadm but getting some errors.

Using Powershell command:Backup-SPSite "http://something1:6060/" -Path "C:\site.bak"

error: you must specify the filename of the backup file

Using stsadm command:stsadm -o backup -url "http://something1:6060/" -filename "c:\backup.bck"

error: One or more required arguments are missing

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

For Powershell, try skipping the quotes around the site URL:

Backup-SPSite http://something1:6060/ -Path "C:\site.bak"

The same goes for stsadm

share|improve this answer
    
Thanks it worked –  Varun Verma Sep 4 '13 at 9:25
    
What is the reverse of this? How would you do a restore? –  ElvisLikeBear Sep 5 '13 at 6:19
2  
As you almost said in your comment, you Restore the backup: Restore-SPSite server_name/sites/site_name -Path C:\Backup\site_name.bak .More here: technet.microsoft.com/en-us/library/ff607788.aspx –  Robert Lindgren Sep 5 '13 at 6:22
    
Excellent, thanks @RobertLindgren –  ElvisLikeBear Sep 10 '13 at 0:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.