mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-12-14 10:04:52 +01:00
build
This commit is contained in:
@@ -15,6 +15,8 @@ args = parser.parse_args()
|
||||
PASSWORD= "l4c1j4yd33Du5lo"
|
||||
DATETIME = now.strftime("%Y%m%d%H%M%S")
|
||||
os.chdir("/share/docker_data/__backups/")
|
||||
|
||||
if args.backup and args.gitlab:
|
||||
print("Backup gitlab")
|
||||
cmnd = 'docker exec -t gitlab gitlab-backup create SKIP=artifacts,repositories,registry,uploads,builds,pages,lfs,packages,terraform_state'
|
||||
status, output = subprocess.getstatusoutput(cmnd)
|
||||
|
||||
Reference in New Issue
Block a user