Skip to content

necenzurat/leanbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

71 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

.restback

$ ./leanbackup - WIP

Make backups great easy again.

About

πŸ“¦ leanback provides a simple way to backup stuff. It uses restic and has an installer for generating backup policies. And it's all written in good ol' bash.

Usage

  1. Run the installer
  2. Forget about it

Repo structure

All repoos are located into the backups folder, examples are located in the templates folder.

.
└── repo-name
    β”œβ”€β”€ .env (secrets file)
    β”œβ”€β”€ backup
    β”‚Β Β  β”œβ”€β”€ db-backup.sh (how the db backups are done)
    β”‚Β Β  └── files-backup.sh (how the backups are done)
    β”œβ”€β”€ cleanup
    β”‚Β Β  └── cleanup.sh (how the clenup is done)
    └── sync
        └── sync.sh (how the syncing is done)

and that's about it.

You can add as many .sh file as you see fit, they are loaded automagically.

πŸ‘” License

License

Credits

Image: https://unsplash.com/photos/Im7lZjxeLhg

Releases

No releases published

Packages

No packages published

Languages