mirror of
				https://gitlab.com/octospacc/Configs.git
				synced 2025-06-05 21:59:36 +02:00 
			
		
		
		
	Auto-Backup $'Tue Nov 19 2024 12:03:51 GMT+0100 (Central European Standard Time)'
This commit is contained in:
		| @@ -225,8 +225,7 @@ Jobs.Cloud_Private = () => $`sudo -u tux rclone sync /Main/Clouds/octt GDrive-Un | |||||||
|  |  | ||||||
| //////////////////////////////////////////////////////////////////////////////// | //////////////////////////////////////////////////////////////////////////////// | ||||||
|  |  | ||||||
| $`echo Begin ${Time.Stamp} > ${BackupsBase}/Last.log`; | const Main = async () => { | ||||||
|  |  | ||||||
| 	await Work('Local_MiscSimpleBackups'); | 	await Work('Local_MiscSimpleBackups'); | ||||||
| 	await Work('Local_Shiori'); | 	await Work('Local_Shiori'); | ||||||
| 	await Work('Local_SpaccBBS'); | 	await Work('Local_SpaccBBS'); | ||||||
| @@ -248,5 +247,16 @@ await Work('Cloud_liminalgici'); | |||||||
| 	await Work('Cloud_Doku'); | 	await Work('Cloud_Doku'); | ||||||
| 	await Work('Cloud_SpaccCraft'); | 	await Work('Cloud_SpaccCraft'); | ||||||
| 	await Work('Cloud_Private'); | 	await Work('Cloud_Private'); | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | //////////////////////////////////////////////////////////////////////////////// | ||||||
|  |  | ||||||
|  | $`echo Begin ${Time.Stamp} > ${BackupsBase}/Last.log`; | ||||||
|  |  | ||||||
|  | //await Main(); | ||||||
|  |  | ||||||
|  | await Work('Mixed_Configs'); | ||||||
|  | await Work('Mixed_Snippets'); | ||||||
|  | await Work('Mixed_OctospaccAltervista'); | ||||||
|  |  | ||||||
| $`echo End ${Time.Stamp} > ${BackupsBase}/Last.log`; | $`echo End ${Time.Stamp} > ${BackupsBase}/Last.log`; | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| #!/usr/bin/env zx | #!/usr/bin/env zx | ||||||
|  |  | ||||||
| const BackupsBase = '/Main/Backup'; | const BackupsBase = '/Main/Backup'; | ||||||
| const TimeLimit = { years: 0, months: 1, days: 0 }; | const TimeLimit = { years: 0, months: 0, days: 25 }; | ||||||
|  |  | ||||||
| const maxDate = (new Date()); | const maxDate = (new Date()); | ||||||
| maxDate.setDate(maxDate.getDate() - TimeLimit.days); | maxDate.setDate(maxDate.getDate() - TimeLimit.days); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user