penguinsnail / quick-back Goto Github PK
View Code? Open in Web Editor NEWA simple command line backup solution using rsync
License: GNU General Public License v3.0
A simple command line backup solution using rsync
License: GNU General Public License v3.0
Make the default exclusions such as /tmp be appended to a single command using the new array exclude method, eliminating the need for the exclude boolean and making for smoother execution
For, ex. a user backing up their home folder. Would error if combined with mounting - no, we still might want user mounts.
Add tags to mark previous versions of quick-back
add proper exit codes for all commands
Add a verbose cli option
-v, --verbose
Detect subvolumes on the source FS that are under the source path
Travis sudo-enabled builds might work but we need to generate some sort of ramdisk, emulated fs, etc. for testing, otherwise we'll have to use the --force-ignore
option to backup b/w two normal dirs.
create a new function that is run first that populates all variables relating to system information
We know this only occurs when passing mnt path, not dev name. Why?
So instead or hardcoding excludes like /run
, /tmp/
, and other ephemeral file-systems - they would automatically be excluded
auto exclude browser caches to increase speed and reduce bloat due to their constant changes and unnecessity
Goals: Make quickback Extensible, Versatile, and Configurable
Basic feature roadmap:
/etc/quick-back.conf
. This file shouldn't need to be edited by the user, but if it is, a .pacnew of distro-equivalent will be created by the PM on updates./etc/quick-back.d/
and read according to the number at the start of the file name, a la systemd
quick-back.conf
may be placed in the root directory of the source filesystem/directory, a commandline option must be added to prevent security vulnerabilities if, say a root user (which we currently require) backed up home directories and a malicious user added a quickback.conf
which ran commands as root as part of a conditional_.-nd, --nodefaults
option should be rethought to make sense in this context.quick-back.conf
file.File format:
$source, $dest, $runninguser, ...
to make the script extensible as well as configurable.Branch: all development will be done in the configfile
branch of the main repo.
Milestone: v2.0
when using the -d
option
which git
, which rsync
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.