2,187
edits
m (Minor correction) |
m (Removed usage of domain account) |
||
Line 125: | Line 125: | ||
Procedure to set-up backup of vFoglight MySQL database to local disk | Procedure to set-up backup of vFoglight MySQL database to local disk | ||
<!-- COMMENTED OUT, AS DOMAIN ACCOUNTS DON'T SEEM TO WORK | |||
# Create scheduled task account on GMI domain | # Create scheduled task account on GMI domain | ||
#* EG for DTCP-VIRFOGV01 create <code> -jVFOGDTCP-VIRFOGV01 </code> using something like | #* EG for DTCP-VIRFOGV01 create <code> -jVFOGDTCP-VIRFOGV01 </code> using something like | ||
#* <code> dsadd user "cn=-jVFOGDTCP-VIRFOGV01, cn=Users, dc=gmi, dc=dtc, dc=reuint, dc=com" -pwd "password-here" -pwdneverexpires yes -disabled no </code> | #* <code> dsadd user "cn=-jVFOGDTCP-VIRFOGV01, cn=Users, dc=gmi, dc=dtc, dc=reuint, dc=com" -pwd "password-here" -pwdneverexpires yes -disabled no </code> | ||
#* and make a member of the "Scheduling Clients" group | #* and make a member of the "Scheduling Clients" group --> | ||
# Create directory structure on the backup drive... | # Create directory structure on the backup drive... | ||
#* <code> T:\backup\config </code> | #* <code> T:\backup\config </code> | ||
Line 138: | Line 139: | ||
#* <code> T:\backup\data\ibbackup_logfile </code> | #* <code> T:\backup\data\ibbackup_logfile </code> | ||
# Schedule the batch script to run at 07:00 and 19:00 hrs ''local'' time, using a command similar to (edit as suggested)... | # Schedule the batch script to run at 07:00 and 19:00 hrs ''local'' time, using a command similar to (edit as suggested)... | ||
#* <code> schtasks /create /tn "vFoglight MySQL backup" /ru GMI\ | #* <code> schtasks /create /tn "vFoglight MySQL backup" /ru GMI\reutadmin /rp <password> /tr T:\backup\config\DoBackup.bat /sc hourly /mo 12 /st 07:00:00 </code> | ||
#* /ru - ''Service account username'' | #* /ru - ''Service account username'' | ||
#* /rp - ''Service account password'' | #* /rp - ''Service account password'' |