Changes

Jump to navigation Jump to search
1,099 bytes added ,  12:19, 23 September 2020
no edit summary
Server Build notes:
*[[Computer Build]] -- Contains hardware spec
*[[RDP Documentation]] (IP Address: 128.42.44.182)
*[[Web Server Documentation]] (IP Address: 128.42.44.180)
*[[Database Server Documentation]] (IP Address: 128.42.44.181)
*[[Test Web Server Documentation]] (IP Address: 128.42.44.22)
*[[Power Backup]]
Other useful resources:
*[[Haas PhD Server Configuration]]
*[[Software Repository]]
*[[Patent Data Processing - SQL Steps]]
Wishlist:
*[[Server Backup Policy : under development]]
*[[McNair Security Policy]]
*[[Power Backup]]
*[[Progress tracking platform]]
*[[Server maintenance FAQ]]
*[[NLP Infrastructure]]
*[[RDP Compute Performance]]
[[Semantic Form Data structure]]
# The drive should now appear on your Finder menu sidebar.
===Connecting to the Database Server===
You can map the database server's drive in the same way that you map the bulk drive on the RDP server. The details are:
createdb yourbdname
=== Using the Normalize Fixed Width Script ===
== Server Backup Policy ==
Backups are written to an external usb HDD at midnight everyday. Backup logs are also updated.
# For linux/unix machines this is done by invoking backup scripts from cron (see /etc/cron . tab for execution set-up)
# For windows machines we use the built in Windows Server Backup tool.
Current backup policy is to backup complete \bulk folder.
As of To change/schedule a new policy use the Windows Server Backup tool. #6/15/2016, ##this corresponds to full E:\ volume. === WEB server === ==== MySQL databases ====
=== web server ===
Current backup policy is to backup all MySQL databases on the server.
Backup script: /root/scripts/web_mysqldump_backup.plx
Backup log: /var/log/web_mysqldump_backup.log.gz
The script uses mysqldump and rsync for backup. As of #6-13-2016, ##backup destination paths are hard-coded in the script. ##TO DOsDO: add command line options like --backup-destination= remote/local, --verbose/quiet##redo this script like for database server (see below) because its cleaner.implementation.
To see more information see perldoc
perldoc /root/scripts/web_mysqldump_backup.plx
==== /var/www ====This contains mediawiki, blogs and other stuff running on the apache webserver. Backup script: /root/scripts/www_rsync_backup.plx List of files to back up: /root/scripts/www_rsync_backup.list Backup destination path: /media/usb_backup/www Backup log: /var/log/www_rsync_backup.log The backup path reflects directory structure on host(source) starting at /. #6-16-2016## The script rsyncs the files from host to backup.## We should probably save snapshots weekly/monthly.. ==== /home ====This contains home directories for all users. Backup script: /root/scripts/home_rsync_backup.plx List of files to back up: /root/scripts/home_rsync_backup.list Backup destination path: /media/usb_backup/home Backup log: /var/log/home_rsync_backup.log The backup path reflects directory structure on host(source) starting at /. #6-16-2016## The script rsyncs the config files from host to backup.## We should probably save snapshots weekly/monthly..=== Database server === ==== PostgreSQL database server databases ====
Current backup policy is to backup most PostgreSQL databases on the server. We ignore a few test databases.
The script uses pg_dump for backup. All databases are then collected in a tar archive.
As of #6-15-2016, ##backup destination paths are hard-coded in the script. ##TO DO: add command line options like --backup-destination= remote/local, --verbose/quiet
To see more information see perldoc
## We rsync the config files from host to backup.
## We should probably save snapshots weekly/monthly..
 
[[category:McNair Admin]]
[[admin_classification::IT Build| ]]

Navigation menu