Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Latest commit

 

History

History
 
 

backup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
backups are at [email protected] with the key in this directory
this is an ec2 instance in aws, log in by spinning up bastion and sshing into ubuntu@(local ip)
cron job runs script every hour (uploads are free) and puts .data folder into ~/data/.data
needs to run as sudo because mysql data is owned by docker user
root crontab contents:
0 * * * * rsync -a -e "ssh -i /home/ctfd/CTFd/backup/id_rsa" /home/ctfd/CTFd/.data [email protected]:~/data

for questions ask kuilin, or if he's graduated, *shrugs*