![]() ![]() ![]() The script will choose the most recent backup.Įdit contrab file to execute the python code that generates the backups:Īdd the following lines (Note: that the paths may change for each specific installation.):ĥ 12 * * * /home/lsst/Documents/Docker/mariadb-docker/ĥ 13 * * * docker run –rm -v /home/lsst/Documents/Docker/mariadb-docker/python:/script -v /home/lsst/Documents/Docker/mariadb-docker/backup:/backup python:3.7 python /script/main. Get the last backup database available and copy it to. $ sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-composeĬlone the repository here: /home/lsst/LSSTĬd /home/lsst/LSST/mariadb-docker git pull WANdisco Certified GIT Binaries Fully tested and certified Git binaries Git Support Community GIT Source Code Management WANdisco certified Git binaries are backed by WANdisco's dedicated team of open source development, QA and support professionals focused exclusively on delivering the highest quality version of the software. $ sudo systemctl start docker $ sudo systemctl enable docker After the operation, additional 141.0 MiB will be used. The following 2 packages are not supported by their vendor: The following 3 NEW packages are going to be installed: įorcing installation of 'git-2.17.86_64' from repository 'WANdisco-Replicated-Git'. Building repository 'WANdisco-Replicated-Git' cache. Once the repository is added, to install the latest version of Git run the following command: sudo yum install git.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |