Skip to content

TimVNL/dirbak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dirbak

dirbak uses cron, openssl, rsync and tar to make daily backups

installation on MacOS

# move to dirbak repo to you home folder
git clone [email protected]:TimVNL/dirbak.git $HOME/.dirbak

# Install the latest version of gnu-tar and rsync with Homebrew
brew install gnu-tar rsync --with-default-names

# Edit the backup.cfg file
nano ~/.dirbak/backup.cfg

# Make a .logs folder to save logs
mkdir $HOME/.logs

# Make a crontab
crontab -e

# Add the following line and edit it
00  17  *  *  1-5  /Users/<user>/.dirbak/backup.sh > /Users/<user>/.logs/dirbak-$(date +'%Y%m%d%H%M') 2>&1

installation on Linux

# move to dirbak repo to you home folder
git clone [email protected]:TimVNL/dirbak.git $HOME/.dirbak

# Edit the backup.cfg file
nano ~/.dirbak/backup.cfg

# Make a .logs folder to save logs
mkdir $HOME/.logs

# Make a crontab
crontab -e

# Add the following line and edit it
00  17  *  *  1-5  /home/<user>/.dirbak/backup.sh > /home/<user>/.logs/dirbak-$(date +'%Y%m%d%H%M') 2>&1

decypt backups

# Do the following command in the .dirbak folder
./decypt.sh <name-of-encrypted-file> <name-of-decrypted-file> <location-to-tarpass-file>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages