differential backup override through STSADM in MOSS 2007
Hi, I have taken full backup using stsadm -o backup -directory c:\backup -backupmethod full. And again i ran stsadm -o backup -directory c:\backup -backupmethod differential. And in c:\backup it is creating spbr0000, spbr0001, spbr0002 etc. Can we maintain only one copy of differential backup means, if i run again differential it should not create spbr0002, it should overwrite spbr0001. How to achieve this, any suggestion will be appreciated. Thanks & Regards, Neerubee
May 3rd, 2010 9:14am

I really doubt it's going to work as the .xml file created in the backup directory keep the history of all the old backups thatyou have, but having a try is always good. consider this as pointer: http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=68 you can create the differential backup with date stamp filename and next day have the stsadm run with the FORFILES command to run the last day's backup. giv it a try.I LOVE MS..... Thanks and Regards, Kshitiz (Posting is provided "AS IS" with no warranties, and confers no rights.)
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2010 9:45am

now, finally I believe we have hit bull's eye. We have got exactly what we were looking for. How to automate the deletion of backups in SharePoint Server 2007 and in Windows SharePoint Services 3.0 by using a Visual Basic script http://support.microsoft.com/default.aspx/kb/941330?p=1 I LOVE MS..... Thanks and Regards, Kshitiz (Posting is provided "AS IS" with no warranties, and confers no rights.)
May 3rd, 2010 10:08am

Yes, i have tried with -overwrite, but no luck. It is again creating spbr0003 etc...(means next increment of last digit).Thanks & Regards, Neerubee
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2010 10:30am

right, using STSADM there is no way you can achieve this, reason being the .xml file holds the information of the backup and when you restore, it uses the information from there, so just deletion will not work, you will have to remove the entries from the manifest file (Spbrtoc.xml) and the only way to do it using the Knowledgebase article provided by MS in my last post. I LOVE MS..... Thanks and Regards, Kshitiz (Posting is provided "AS IS" with no warranties, and confers no rights.)
May 3rd, 2010 10:43am

According to http://technet.microsoft.com/en-us/library/cc263441.aspx ,a differential backup is a backup of all the selected data that has changed since the last full backup. So, you can delete previous differential backup. But you must keep previous full backup.
Free Windows Admin Tool Kit Click here and download it now
May 10th, 2010 2:31pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics