Jim's
Tutorials

Fall 2018
course
site

pushed up everything to:

https://github.com/Nate-weeks/cottage-lace-website

To do this i pulled everything into the local client and first tried pushing up the whole site... that was going to take a solid 4-5 hours so I added this .gitignore:

/app/public/wp-content/uploads/

and the upload only took 5-10 minutes. The uploads folder essentially contains all the images on the site. I messed around with shell access on the local client. They use docker containers and grant access to the container. I tried using mysqldump from this tutorial among others without any effect:

https://www.linode.com/docs/databases/mysql/use-mysqldump-to-back-up-mysql-or-mariadb/

>>root@ff6e55967e3e:/# mysqldump -u root -p local > https://cs.marlboro.college/cours/fall2018/jims_tutorials/cottaglace-sql
Enter password: 
root@ff6e55967e3e:/# mysqldump -u root -p local > https://cs.marlboro.college/cours/fall2018/jims_tutorials/cottaglace-sql/october-2-2018.sql
bash: /root/cottaglace-sql/october-2-2018.sql: Not a directory
root@ff6e55967e3e:/# mysqldump -u root -p local > https://cs.marlboro.college/cours/fall2018/jims_tutorials/cottagelace-sql/october-2-2018.sql
bash: /root/cottagelace-sql/october-2-2018.sql: No such file or directory
root@ff6e55967e3e:/# mysqldump -u root -p local > https://cs.marlboro.college/cours/fall2018/jims_tutorials/cottagelace-sql/october-2-2018.sql
bash: /root/cottagelace-sql/october-2-2018.sql: No such file or directory
root@ff6e55967e3e:/# mysqldump -u root -p local > https://cs.marlboro.college/cours/fall2018/jims_tutorials/october-2-2018.sql
Enter password: 
root@ff6e55967e3e:/# mysqldump -u root -p local > october-2-2018.sql
Enter password: 
root@ff6e55967e3e:/# mysqldump --all-databases --single-transaction --quick --lock-tables=false > full-backup-$(date +%F).sql -u root -p
Enter password: 
root@ff6e55967e3e:/# 

That's interesting - I used the ~ path to save and it's translating it the local path on this website ^^.

When googling backing up database structures in flywheeel local all they really suggested was creating zips of the whole project and saving those, it's more supported, which is relatively reasonable. I'd like to mess with ssh access to actually accomplish something though. I also spent awhile lining up the front page in a more intuitive and eye-catching way that somewhat mimicks indochino and editing the contact and request form to be a bit more streamlined.