I need to save our backups to a new location, so I now need to update the
backup directory for all 3 dozen of our scheduled backups.

Presently, they're all being saved a \\server1\ml-backups\<db-name> (for
both monthly full and daily incremental backups).

I don't want to have to manually delete and add these scheduled tasks, so
I'm figuring out how to script things.

So far, it looks like I'll need to loop through all the databases I'm
backing up, delete their current scheduled backups ( using
admin:database-delete-backup ), and then
call admin:database-monthly-backup, admin:database-daily-backup,
and admin:database-add-backup to create new ones.

Does anyone here know of a better / easier way to do this ?

Regards,
Danny
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to