removed unused directories and moved bash scripts to root
This commit is contained in:
14
backity/backity.sh
Normal file
14
backity/backity.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
localBackup(){
|
||||
echo -n "Directory or file to backup: "
|
||||
read input
|
||||
|
||||
echo -n "Output directory: "
|
||||
read output
|
||||
|
||||
duplicity -v ${input} file//${output}
|
||||
}
|
||||
|
||||
localBackup
|
11
backity/config.sh
Executable file
11
backity/config.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
#=====| General Options |======#
|
||||
#default directory to backup
|
||||
DEFAULTDIR="/home/${USER}"
|
||||
BACKUPNAME="$(date +"%m_%d_%Y")"
|
||||
|
||||
#======| Network Options |=====#
|
||||
|
||||
PROTOCOL=
|
||||
SERVERNAME=""
|
Reference in New Issue
Block a user