621067b2679280abf48f15596c9419669f9abbec
				
			
			
		
	stackup
"Backups for your stacks!"
Container infrastructure for backing up container stacks using Borg
Implementation
- Wakup
 - Identify volumes for a selected stack
 - Identify current container ID
 - Verify that all volumes for the stack are mounted to the current container
 - Pull in settings from volume definition
- Credentials are configured on current container
 
 - Assemble borg command(s) to perform backup(s)
 
Example label structures:
# labels applied to volumes in a stack definition
stackup.enable: 'true'  # whether stackup should look at this volume
stackup.repo.foo.target: 'ssh://blorp@fizz.buzz.com:/backups/thing'  # the borg repo
stackup.repo.foo.naming: 'timestamp|phrase|uuid'  # internal archive name generator choice
stackup.repo.foo.init: 'false'  # whether to initialize the borg repo if it doesn't exist
stackup.repo.foo.exclude[0]: blarg/cache  # path in the volume to exclude from backup
stackup.repo.foo.exclude[1]: run/something.pid  # path in the volume to exclude from backup
Description
				
					Languages
				
				
								
								
									Python
								
								78.2%
							
						
							
								
								
									Makefile
								
								16.9%
							
						
							
								
								
									Dockerfile
								
								4.9%