So how do you backup WSS 3.0 automatically? Well you know you can go into the operations center and backup manually, by setting the destination. However this will not automatically backup your sharepoint farm on a daily basis. There is a simple command to backup your sharepoint farm via command line. Once you have a command line then you can create a batch file and backup however your want.
Here’s the backup command: stsadm -o backup -directory c:\backup -backupmethod full
Here’s my batch file, I’m backing up to the local hard drive and then copying it to a share (my share is not a Windows computer, so I can’t backup directly to it, but if you want to backup to a share you can as long as it’s on the domain).
cd “c:\program files\common files\microsoft shared\web server extensions\12\bin”
stsadm -o backup -directory c:\backup -backupmethod full
net use s: \\192.168.0.21\backups
xcopy c:\backup s:\wss /e /h /y
net use s: /delete
Leave a Reply