INSTALLING THE QOWNBACKUP SYSTEM: Version 0.90

Know this first

To Install

WARNING: If you have an existing qownbackup system install, move its qownbackup system program directory to another name before doing anything! Failure to do this will break your old system and might give you a defective new system!

To Test

To Autostart backup loop on login

Because the qownbackup system is user specific, it shouldn't be started from your init system or process supervisor. Instead, it should be started when you first log in, using the following shell script code:

 cd $HOME/qownbackup_installed
./doublefork_qownbackup.forker

The preceding code assumes your qownbackup system directory is $HOME/qownbackup_installed. If not, change the preceding code accordingly. The preceding code segment must be placed in a file executed by the user's shell upon login. Assuming the user's shell is bash, this code should be placed in the file $HOME/.bash_profile. It should appear before any exec or source or dot commands, because if it were after those commands, it would never get executed.

About doublefork_qownbackup.forker

doublefork_qownbackup.forker is a binary executable that double-forks the command ./qownbackup.sh backup. It's a static binary compiled using the MUSL library from the doublefork_qownbackup.c source file. It should work on any Linux computer. If you're using a different OS or for some other reason it doesn't work for you, you can compile it from doublefork_qownbackup.c, name the resulting binary doublefork_qownbackup.forker, and place it in your qownbackup system program directory.

For Simpler Use

This is optional for those who want to reduce keystrokes. Don't do it unless you have an idea of what shell scripts are, as well as how Linux organizes its files and directories.