Commit Graph

37 Commits

Author SHA1 Message Date
Andreas Zweili 7edef0bd9c move borg_interface out of this repository.
This project is getting too big for this repository. I've created a
seperate repository at https://git.2li.ch/Nebucatnetzer/borg_interface
2016-12-13 19:30:00 +01:00
Andreas Zweili e93f6a610a add empty prints 2016-12-13 16:13:40 +01:00
Andreas Zweili e5516ac2b7 actually seperate the arguments with commas 2016-12-13 15:16:38 +01:00
Andreas Zweili 842570942c seperate arguments with , 2016-12-13 15:15:06 +01:00
Andreas Zweili 63ecac68c3 add a subprocess to restore the archive 2016-12-13 15:01:34 +01:00
Andreas Zweili 593e9533e5 add function to create the restore path 2016-12-13 14:41:18 +01:00
Andreas Zweili d971ef8d4f fix the restore function
borg always restores to the current working directory. Because of this
I've added a command which navigates to the restore path.
2016-12-13 14:37:46 +01:00
Andreas Zweili 196e40e35a add spaces
if you make multi-line prints we need to add spaces at the end of the
    file.
2016-12-13 14:24:16 +01:00
Andreas Zweili 917d354c58 fix the interface 2016-12-13 14:18:30 +01:00
Andreas Zweili 3f652c28cf add a function to check for a remote repository 2016-12-13 14:09:19 +01:00
Andreas Zweili 9eb5dd9c1b fix a EOL error 2016-12-13 13:52:32 +01:00
Andreas Zweili 1a676abc8e add function to extract an archive 2016-12-13 13:40:15 +01:00
Andreas Zweili ebe5f89900 finalize the code 2016-12-12 20:04:42 +01:00
Andreas Zweili 96173bf578 remove borg variables files
Since I've added a config parser I don't need the variables file anymore
2016-12-12 19:08:18 +01:00
Andreas Zweili e20e1d4073 add a config parser function 2016-12-12 19:06:08 +01:00
Andreas Zweili ac0fa56b6d add config file 2016-12-12 17:51:55 +01:00
Andreas Zweili 8523e61a17 add comments 2016-12-12 13:34:00 +01:00
Andreas Zweili 7914c8de92 add space after the input message
To have it look a bit better I add a space and a :
2016-12-12 13:29:34 +01:00
Andreas Zweili 79adcac6c4 add function to mount an archive 2016-12-12 13:28:25 +01:00
Andreas 78f2584787 add a while loop to the menu function
This way the script will keep running after a selection in the menu.
2016-11-14 18:08:19 +01:00
Andreas Zweili 7b2caf78f6 Merge branch 'master' of git.2li.ch:Nebucatnetzer/bash-scripts_binaries 2016-11-13 22:14:39 +01:00
Andreas Zweili 4928a7dd35 create basic functions 2016-11-13 22:14:09 +01:00
Andreas ffe45b45b9 add a script to check if offlineimap is still working
The script needs to run as a cronjob
2016-10-26 21:02:16 +02:00
Andreas baaccf4049 rename update_dot_files.sh to config-update.sh
I renamed the file because it's easier to call it this way.
There are already lots of other commands which start with update*
2016-10-11 11:54:05 +02:00
Andreas 44c512226f make the script more general
change the repo path to ~/ because the configs might as well lay in a different
home directory. In addition I've add a variable which brings the user back to
his starting point.
2016-09-17 23:31:09 +02:00
Andreas cc5b1f58d9 add script to update dot_files repo 2016-09-13 15:10:29 +02:00
Andreas c93df9b100 make the borg backup script more verbose
I've forgot to add "-v --stats" to the prune command. Which I wasn't able to
see how much data got deleted by the command.
2016-08-29 20:19:28 +02:00
Andreas 718156da08 restructure
move the xflux binary to the desktop files because it only applies to machines
running Xorg.
2016-08-24 14:02:09 +02:00
Andreas 6351ed5f8b restructure
I've created a new structure to better differentiate between desktop, server
and general scripts.
2016-08-24 13:57:08 +02:00
Andreas 6f48807b22 updating the README.md file 2016-06-22 09:39:55 +02:00
Andreas 47bfc8a387 restructering and cleaning 2016-06-22 09:36:58 +02:00
Andreas dc6fc5779c adding a script for using borg backup. 2016-06-22 09:28:27 +02:00
Andreas Zweili fcbe6440c7 moving the ssh scripts into bashrc. they don't justify
their own scripts
2015-03-13 07:45:36 +01:00
Andreas Zweili 743515b9ed adding all the scripts 2015-03-11 22:08:41 +01:00
Nebucatnetzer 2fa6bdd7df Update README.md 2015-03-11 22:05:38 +01:00
Nebucatnetzer 23ada1fd5d Update README.md 2015-03-11 22:05:22 +01:00
Nebucatnetzer 31b725e81e Create README.md 2015-03-11 22:04:44 +01:00