Skip to content

benibr/backup_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

backup scripts

backup_home.sh

meant to write data via SMB to a remote host with restic

MOUNT_SMB=foo.local/backup
PING_TEST=foo.local #optional
FILESYSTEMS="/ /home"
tmp/
/var/lib/docker

backup_s3.sh

meant so safe data on s3 bucket

create a bucket and create a config

PING_TEST=de.remote.foo #optional
FILESYSTEMS="/ /home"

RESTIC_REPOSITORY="b2:bucket"
B2_ACCOUNT_ID="LAIUDSAJSGDV"
B2_ACCOUNT_KEY="DSAFUZAANCXNBIAFEUIASUFAK"
RESTIC_PASSWORD="foobar"

source the file and init the repo, afterwards just run the script

tmp/
/var/lib/docker

About

collection of scripts for backing up data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages