Compare commits
	
		
			2 Commits
		
	
	
		
			2b4d9f1bf5
			...
			e0b5bfbdcd
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e0b5bfbdcd | |||
| 41cfb25650 | 
@@ -21,6 +21,7 @@ cp -rf /opt/scripts/update/restore.sh /opt/apps/syncthing/data/common/F-Backup/L
 | 
			
		||||
 | 
			
		||||
cd /opt && t=`date +%Y%m%dT%H%M%S`
 | 
			
		||||
rsync --delete-after -avz apps configs logs scripts websites wd/72-Backups/VPS/ > /opt/logs/rsync/rsync_${t}.log
 | 
			
		||||
rsync --delete-after -avz /opt/apps/syncthing/data/* wd/72-Backups/Syncthing/ > /opt/logs/rsync/rsync_${t}.log
 | 
			
		||||
cd /opt/logs/rsync/
 | 
			
		||||
let count=`ls | wc -l`
 | 
			
		||||
if [[ $count -gt 10 ]]; then
 | 
			
		||||
 
 | 
			
		||||
@@ -12,4 +12,5 @@ for network in ${networks[@]}; do
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
sed -i '/^$/d' $localip
 | 
			
		||||
cp $localip /opt/apps/syncthing/data/common/Z-TMP/
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user