dbackup
is a simple utility that creates a zip archive from the contents of a folder.
Unwanted files can be filtered out by creating a .dbackupignore file in the input directory.
Filter
.dbackignore
uses three different types of patterns to filter out unwanted files and folders.
- Directory: Any pattern prepended with a
/
, will only match directories. - Extension: Any pattern prepended with a
*
, will only match extensions. - Filename: Any pattern that are not one of the above will only match filenames.
Examples
/.dub
will only match files that have .dub
as a directory in its path.
*.o
will only match files with the extension o
.
dbackup
will only match files with the filename dbackup
.
Create a default .dbackupignore file in the current directory:
dbackup --init="."
Backup the contents of the current directory to the current directory silently:
dbackup --from="." --to="."
Backup the contents of the current directory to the current directory, displaying diagnostic messages:
dbackup --from="." --to="." -v
Do not perform any action, and explain what would have been done:
dbackup --from="." --to="." --annotate
You can download dbackup
for specific OS via Github releases of this project.
Please follow below instructions to be able to compile the project:
git clone https://github.com/mgasil/dbackup.git
cd dbackup
dub
There are no special requirements to run dbackup
.
We welcome and appreciate any help, even if it's a tiny text or code change. Please read contribution page before starting work on a pull request. All contributors are listed in the project's wiki page. Not sure what to start with? Feel free to refer to good first issue or help wanted tags.
This project is under GNU General Public License v3.0. Please refer to file LICENSE for more details.