Home

Awesome

📦 backy: tiny multiprocessing utility for file backups

Features

Usage

backy <task.json>

Task Configuration Format

{
	"destination": "~/Backup",
	"archiving_cycle": "monthly",
	"multiprocessing": true,
	"verbose_log": false,
	
	"directories_to_sync": [
		"~/Desktop",
		"~/Documents"
	],
	
	"directories_to_archive": [
		"~/Desktop",
		"~/Documents"
	],

	"exclude": [
		".*"
	]
}

Scheduling

See scripts

Linux

MacOS

3-2-1 Backup Scheme Example

        1                2                         3
[Primary Directory]->[External Drive]->[Cloud Storage]
        |                ^        |                ^
        |                |        |                |
        [<=backy========>]        [<=Cloud App>===>]

For a complex backup schemes it is highly recommended to split tasks to separate configuration files and time periods. Another tip is to chain your backup actions by backy exit codes.

Exit Codes

Building

go build backy.go