Acquia backup options
Verify that we have backups setup the way we want on the ASC site as well as the standard sites.
We need to decide how far back we want to save the backups.
Comments:
- Asked DP about where to rsync/SCP files. He suggested shared drives but warned about bandwidth limit overruns. Explore module or solution to only deal with files that are currently being used, at least as far as images? BC found that 50 GB is bandwidth limit. (Sean Quigley - Jan 24, 2017)
- Dustin may have mentioned problems with this module in the past (ask him), but the Backup and Migrate module (FTP/S3/Email or NodeSquirrel.com) may do everything we need and supports backup of files folders. Does have alpha release for Drupal 8. The only issue may be the supported file transfer protocol or method. Currently only supports FTP/S3/Email or NodeSquirrel.com. We can use SFTP, SCP or RSYNC on Acquia. (Sean Quigley - Jan 26, 2017)
- DP reports that the module was used to migrate sites from Drupal 6 to 7, but the backup functionality was never used/investigated. (Sean Quigley - Jan 26, 2017)
- Committing shell script to Acquia Dev... (Sean Quigley - Jan 27, 2017)
- Created backup directory paths on share: smb://shared.asc.ohio-state.edu/communications/Acquia/Backups/standarddrupal7 (Sean Quigley - Jan 27, 2017)
- Was trying to mount share from standarddrupal7@staging-16959 which was not working. Talked to @dustinp who informed me that cron could be setup to run from a shell script on my local machine. Trying... (Sean Quigley - Jan 27, 2017)
- Received an answer from Luis Cotto at Acquia that we do not need to worry about bandwidth limits since we are on Acquia Cloud Enterprise. (Eva Dale - Jan 27, 2017)
- Committed shell script to /docroot/scripts on dev. Attempt to make executable was not successful due to permissions. Moving script somewhere on /gfs/mnt/... (Sean Quigley - Jan 27, 2017)
- Moved script to /mnt/gfs/standarddrupal7.dev and was able to make it executable. Test ran script and it worked as expected. Need to uncomment lines in local script file (pull corresponding database gzipped backup file, package with file backup and rsync to share) and commit to dev. (Sean Quigley - Jan 27, 2017)
- Created cron-job on Acquia Dev environment call 'Backup Site Files' that runs the shell script 'backup.sh'. It is set to run every day at midnight. Need to check this evening and over weekend to make sure that it is work. Currently, it backs up all of the sites (files and code) into a single tar. Need to move to Prod (Stage?) after testing and completion on dev. (Sean Quigley - Jan 27, 2017)
- Verified that backups are running successfully on DEV. (Sean Quigley - Jan 30, 2017)
- Backup path variable was incorrectly entered when preparing to git from local to DEV. This has been corrected. May need to run cron locally in order to rsync files until we have a dedicated backup server. (Sean Quigley - Jan 31, 2017)
- Need to look into getting a dedicated backup server in order to house file and db backups - not enough room on acquia server (Brian Canini - Jan 31, 2017)
- I will talk with Dustin about this to see what can be done to create a backup server. (Eva Dale - Feb 3, 2017)