CODE: move backups

declare @cmd nvarchar(200)
set @cmd = ‘move \\server\UserDB\*.bak \\server\UserDB\Archive’

exec xp_cmdshell @cmd