Code Monkey home page Code Monkey logo

gitlab-backup's Introduction

Hi ๐Ÿ‘‹

gitlab-backup's People

Contributors

redex557 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

gitlab-backup's Issues

Backup all project only

Hi...I just trying your script to backup. This script run must have group... i don't have group ... how can i run this script without group name/id? Please advise. Thank you

How to get all the projects/groups backup onto single folder with timestamp foldername

Hi sir, i would like to apply you script to backup my projects/groups..but the script does backup output into multiple project or groups folder. Im thinking to run daily cronjob. If possible the backup output of multiple folders can be consolidated onto single folder with datetime format as a folder name. Is it possible sir? Appreciate if you can help. Thank you

Cannot run $(date "+%F_%X") in cronjob task

Hi sir,
I face issue when run the script over cronjob

Issue:-
*/5 * * * * /home/mylab/backup.py -r -v -p -d /home/mylab/$(date "+%F%X") -g 11 21 33 >> /home/mylab/crontab.log 2>&1_
The script cannot run by the cronjob...seems cronjob did not read correctly line '$(date "+%F_%X")'. No file crontab.log created and no backup done. For testing further, I remove '$(date "+%F_%X")' and run as below

*/5 * * * * /home/mylab/backup.py -r -v -p -d /home/mylab/ -g 11 21 33 >> /home/mylab/crontab.log 2>&1
This time the script executed successfully by cronjob and created file crontab.log and backup done. I check crontab.log and files backup ok. But I'm not getting timestamp folder of each backup done (cannot add $(date "+%F_%X") into the cronjob line) .... Appreciate if you can verify if this working on your side? Any way it can be done in cron job. Please assist thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.