mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	solved pull backup bugs
This commit is contained in:
		| @@ -8,10 +8,10 @@ fi | ||||
|  | ||||
| # define executable commands | ||||
| get_hashed_machine_id="sha256sum /etc/machine-id"; | ||||
| get_backup_types="find /Backups/{{hashed_machine_id.stdout}}/ -maxdepth 1 -type d -execdir basename {} ';'"; | ||||
| get_backup_types="find /Backups/{{hashed_machine_id.stdout}}/ -maxdepth 1 -type d -execdir basename {} ;"; | ||||
|  | ||||
| # @todo This configuration is not scalable yet. If other backup services then docker-volume-backup are integrated, this logic needs to be optimized | ||||
| get_static_last_version_dir="readlink -f /Backups/{{hashed_machine_id.stdout}}/docker-volume-backup/latest/" | ||||
| get_static_last_version_dir="readlink -f /Backups/{{hashed_machine_id.stdout}}/docker-volume-backup/latest" | ||||
| rsync_command="sudo rsync --server --sender -blogDtpre.iLsfxCIvu . $($get_static_last_version_dir)/" | ||||
|  | ||||
| # filter commands | ||||
|   | ||||
		Reference in New Issue
	
	Block a user