mirror of
				https://github.com/mxpv/podsync.git
				synced 2024-05-11 05:55:04 +00:00 
			
		
		
		
	Add backup script
This commit is contained in:
		
							
								
								
									
										6
									
								
								src/Podsync/backup.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								src/Podsync/backup.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
BACKUP_DIR=${1:-"$HOME/PodsyncBackups"}
 | 
			
		||||
 | 
			
		||||
mkdir -p $BACKUP_DIR
 | 
			
		||||
docker-machine scp podsync:/data/redis/appendonly.aof $BACKUP_DIR/redis.$(date '+%Y_%m_%d__%H_%M_%S').aof
 | 
			
		||||
		Reference in New Issue
	
	Block a user