You are not logged in.

#1 2016-09-07 15:13:31

childerico
Member
From: Italy
Registered: 2015-11-18
Posts: 67

easybackup - a rsync wrapper script to easily backup a set of folders

I recently submitted my first package to AUR (easybackup). It is a Bash script which attempts to simplify home backups, leveraging rsync. It can be used for both backups to a local destination (e.g. an external HD) and a remote server (via SSH). It adds nothing to rsync functionality, but has a friendlier interface.

It all started with a 10-lines script that I have been using for months at home. Then I added some features and refactored it, mostly as an "exercise". I just wanted to improve my skills at writing Bash scripts and learn how to publish packages to AUR.  However, I think it may be useful for everyone who wants a CLI tool for home backups without having to deal with rsync.

Take a look at easybackup on GitHub, if you want.
Reviews and contributions are welcome! Don't be too critical, it was just an exercise! smile

Offline

#2 2016-09-07 16:46:09

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: easybackup - a rsync wrapper script to easily backup a set of folders

Running it through www.shellcheck.net throws up a few issues...


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2016-09-07 16:50:16

childerico
Member
From: Italy
Registered: 2015-11-18
Posts: 67

Re: easybackup - a rsync wrapper script to easily backup a set of folders

@slithery: Thank you! This is the first time I write a non-trivial Bash script and I didn't know about this tool.

I will fix those issues as soon as possible!

EDIT: Done!

Last edited by childerico (2016-09-08 08:24:50)

Offline

Board footer

Powered by FluxBB